Skip to content

Commit

Permalink
Update find_root.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored May 22, 2024
1 parent a4af546 commit ca1db09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/getting_started/find_root.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ prob2 = NonlinearProblem(ns, [x => 2.0, σ => 4.0])
### Step 4: Solve the Numerical Problem

Now we solve the nonlinear system. For this, we choose a solver from the
[NonlinearSolve.jl's solver options.](https://docs.sciml.ai/NonlinearSolve/stable/solvers/NonlinearSystemSolvers/)
[NonlinearSolve.jl's solver options.](https://docs.sciml.ai/NonlinearSolve/stable/solvers/nonlinear_system_solvers/)
We will choose `NewtonRaphson` as follows:

```@example first_rootfind
Expand All @@ -171,7 +171,7 @@ typeof(sol)

From this, we can see that it is an `NonlinearSolution`. We can see the documentation for
how to use the `NonlinearSolution` by checking the
[NonlinearSolve.jl solution type page.](https://docs.sciml.ai/NonlinearSolve/stable/basics/NonlinearSolution/)
[NonlinearSolve.jl solution type page.](https://docs.sciml.ai/NonlinearSolve/stable/basics/nonlinear_solution/)
For example, the solution is stored as `.u`.
What is the solution to our nonlinear system, and what is the final residual value?
We can check it as follows:
Expand Down

0 comments on commit ca1db09

Please sign in to comment.