Skip to main content
POST
Compute Numerical Derivative

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://api.fincept.in/auth/register

Body

application/json
func_name
enum<string>
required

Built-in function name to differentiate

Available options:
exp,
log,
sin,
cos,
sqrt,
tan,
x2,
x3
Example:

"sin"

x
number
required

Point at which to evaluate the derivative

Example:

1.5708

h
number
default:1e-7

Step size for finite difference (smaller = more accurate but less stable)

Example:

1e-7

method
enum<string>
default:central

Finite difference method: central (most accurate), forward, or backward

Available options:
central,
forward,
backward
Example:

"central"

Response

Successful Response

success
boolean
Example:

true

data
object