Ejemplo n.º 1
0
 public static double Derivative(Func <double, double> function, double number, double h, double eps)
 {
     return(MyMath.Within(eps, DerivativeApproximations(h, function, number)));
 }
Ejemplo n.º 2
0
        public static double Square(double number, double startApproximation, double eps)
        {
            double NextApproximation(double startApprox) => GetNextApproximation(number, startApprox);

            return(MyMath.Within(eps, MyMath.Repeat(NextApproximation, startApproximation)));
        }