Beispiel #1
0
        public static void CosH(double degrees, double expectedResult)
        {
            double radians = Angle.DegreesToRadians(degrees);

            Assert.AreEqual(expectedResult, TrigonometryLibrary.CosH(radians), Tolerance);
        }
 /// <summary>
 /// X-coordinate on the right curve in local coordinates about the local origin that corresponds to the parametric coordinate given.
 /// <a href="https://www.ck12.org/book/ck-12-calculus-concepts/section/10.3/">Reference</a>.
 /// </summary>
 /// <param name="angleRadians">Parametric coordinate in radians.</param>
 /// <returns>System.Double.</returns>
 public override double BaseByParameter(double angleRadians)
 {
     return(_parent.DistanceFromVertexMajorToLocalOrigin * TrigonometryLibrary.CosH(angleRadians));
 }