public virtual double DerivInvF(double z) { return(Differentiate.FirstDerivative(InvF, z)); }
public virtual double DerivF(double x) { return(Differentiate.FirstDerivative(F, x)); }
public static double thirdDerivative(Expr expr, string varName, double x) { var f = expr.Compile(varName); return(Differentiate.FirstDerivative(Differentiate.SecondDerivativeFunc(f), x)); }
public static double firstDerivative(Expr expr, string varName, double x) { var f = expr.Compile(varName); return(Differentiate.FirstDerivative(f, x)); }
protected double FirstDerivative(double inputX) { return(Differentiate.FirstDerivative(CalculateByPoint, inputX)); }
public const double g = 9.80665; // aceleração da gravidade [m/s^2] /// <summary> /// Calcula a primeira derivada da função func no ponto x /// <param name="func">A função que vai ser derivada. </param> /// <param name="x">O ponto em que se deseja calcular a derivada. </param> /// <returns> dfunc(x)/dx. </returns> /// </summary> public double PrimeiraDerivada(Func <double, double> func, double x) { return(Differentiate.FirstDerivative(func, x)); }