## Roots.jl and NLsolve.jl

Roots.jl and NLSolve.jl are two libraries for root finding in Julia. Roots.jl is for univariate problems and NLsolve.jl is for multivariate problems. NLsolve.jl uses the autodifferentiation libraries and Optim.jl to improve its calculations.

### Problem 1

Use Roots.jl to solve [the Kepler equation](https://github.com/JuliaMath/Roots.jl#usage-examples):

$$ f(x) = 10 - x + e \sin(x) $$

### Problem 2

Use NLsolve.jl to solve for the roots of the following equation:

$$\begin{align}
f_1(x_1,x_2,x_3) &= x_1 + x_2 + x_3^2 - 12 \\
f_2(x_1,x_2,x_3) &= x_1^2 - x_2 + x_3 - 2 \\
f_3(x_1,x_2,x_3) &= 2x_1 - x_2^2 + x_3 -1
\end{align}$$

Solve it first with finite differencing, then utilize autodifferentiation.

[Use an in-place updating function to make the solving more efficient!]

4642d44fdcb3544b2657a2d0da530606ef5a1030
ipynb
Jupyter Notebook
Notebooks/.ipynb_checkpoints/NonlinearSolve-checkpoint.ipynb
jla524/IntroToJulia
2301ed94f1459893dcc67f67fc9b65df8d45d0ee
MIT
2016-05-17T06:47:27.000Z
2022-01-30T16:07:03.000Z
Notebooks/.ipynb_checkpoints/NonlinearSolve-checkpoint.ipynb
jla524/IntroToJulia
2301ed94f1459893dcc67f67fc9b65df8d45d0ee
MIT
2016-10-25T16:11:42.000Z
2021-10-02T12:08:06.000Z
Notebooks/.ipynb_checkpoints/NonlinearSolve-checkpoint.ipynb
jla524/IntroToJulia
2301ed94f1459893dcc67f67fc9b65df8d45d0ee
MIT
2016-05-24T16:44:39.000Z
2022-01-19T18:13:08.000Z
Qwen/Qwen-72B
1. YES
2. YES