Exemplo n.º 1
0
        public static void SinH(double degrees, double expectedResult)
        {
            double radians = Angle.DegreesToRadians(degrees);

            Assert.AreEqual(expectedResult, TrigonometryLibrary.SinH(radians), Tolerance);
        }
 /// <summary>
 /// Y-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.DistanceFromVertexMinorToMajorAxis * TrigonometryLibrary.SinH(angleRadians));
 }