back_to_list()
Library v1.1

Numerical Derivative .Net Library

This library can compute first and second derivative. Also can be used to compute function value at given point.

Try Derivative Online



Result:

NuGet

Library can be also downloaded from nuget

Features And Algorithms

This library uses numerical calculator library to compute derivatives so can handle same functions.

Mathematical formulas used to compute derivatives are transformations of Taylor's theorem. Both formulas are accurate to O(h^4) where h is the step used in computation (default 0.001).

Usage

string formula = "x^3-cos(x)+3*x-sqrt(2)";
double point = 2.2;

Derivative derivative = new Derivative(formula);
double resultFirstDerivative = derivative.ComputeDerivative(point);
double resultSecondDerivative = derivative.ComputeDerivativeBis(point);
double resultFunctionValue = derivative.ComputeFunctionAtPoint(point);

Example application

Alter

Download: here

License

MIT License

Source code

Can be found on GitHub

Changelog

v1.1

  • Enhanced numerical libraries interfaces
  • Changed license to MIT
  • Sources are now available on GitHub

v1.0

Comments (0)

No comments yet

Be the first to share your thoughts!

Add comment