```python
import numpy as np
from sympy import *
init_printing(use_latex='mathjax')
```


```python
x = symbols('x')
f = x ** 6 / 6 - 3 * x ** 4 - 2 * x ** 3 / 3 + 27 * x ** 2 / 2 + 18 * x - 30
f
```




$$\frac{x^{6}}{6} - 3 x^{4} - \frac{2 x^{3}}{3} + \frac{27 x^{2}}{2} + 18 x - 30$$




```python
df = diff(f, x)
df
```




$$x^{5} - 12 x^{3} - 2 x^{2} + 27 x + 18$$




```python
- f.evalf(subs={x:1}) / df.evalf(subs={x:1})
```




$$0.0625$$




```python

```

9729b823f8d2194511cbe0e42bfa223528155b3b
ipynb
Jupyter Notebook
Certification 2/Week5.1 - Newton-Raphson method.ipynb
The-Brains/MathForMachineLearning
5cbd9006f166059efaa2f312b741e64ce584aa1f
MIT
2018-04-16T02:53:59.000Z
2021-05-16T06:51:57.000Z
Certification 2/Week5.1 - Newton-Raphson method.ipynb
The-Brains/MathForMachineLearning
5cbd9006f166059efaa2f312b741e64ce584aa1f
MIT
Certification 2/Week5.1 - Newton-Raphson method.ipynb
The-Brains/MathForMachineLearning
5cbd9006f166059efaa2f312b741e64ce584aa1f
MIT
2019-05-20T02:06:55.000Z
2020-05-18T06:21:41.000Z
Qwen/Qwen-72B
1. YES
2. YES