Skip to main content
POST
Find Root of System of Equations

Authorizations

X-API-Key
string
header
required

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

Body

application/json
system
enum<string>
required

System of equations to solve

Available options:
linear_2x2,
nonlinear_2x2
Example:

"nonlinear_2x2"

x0
number[]
required

Initial guess for the solution (number of elements = number of equations)

Example:
method
enum<string>
default:newton

Solution method

Available options:
newton,
broyden
Example:

"newton"

tol
number
default:1e-10

Convergence tolerance

Example:

1e-10

params
number[]

System-specific parameters (for linear_2x2: [a,b,c,d,e,f] for ax+by+c=0, dx+ey+f=0)

Example:

Response

Successful Response

success
boolean
Example:

true

data
object