Beispiel #1
0
        public double ReturnNewtonDerivative(double x)
        {
            HNode hNode = new HNode();

            return((Calculate(x + hNode.Calculate(x)) - Calculate(x)) / hNode.Calculate(x));
        }
Beispiel #2
0
        private double CalculatePolynomialDerivative(double x, int order)
        {
            HNode hNode = new HNode();

            return(ReturnNewtonPolynomial(x, order).Calculate(x) / Math.Pow(hNode.Calculate(x), order));
        }