Skip to content

Commit

Permalink
modified: docs/arrow_functions.html
Browse files Browse the repository at this point in the history
  • Loading branch information
miner committed Jan 5, 2024
1 parent b3d86b5 commit efcd15c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/arrow_functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2>User Defined Function</h2>
a = -2
b = 1
c = 9
solver.add_function((x) => f(x, a, b, c)) //Add the first equation to the solver.
solver.addFunction((x) => f(x, a, b, c)) //Add the first equation to the solver.
x_guess = [1] //Guess the initial values of the solution.
s = await solver.solve(x_guess) //Solve the equation
x = s.x //assign the calculated solution array to the variable x
Expand Down

0 comments on commit efcd15c

Please sign in to comment.