Розв' язати будь- яку проблему з математикою
Рівняння, похідні, інтеграли, матриці, трикутники, п'єси, статистика або слово проблема, яку вихователь розриває на частини.
Крок за кроком
- f(x) = - x + \cos{\left(x \right)},\quad x_0 = 1
Newton's method: x_{n+1} = x_n − f(x_n)/f′(x_n). Follow the tangent line down to the axis, repeat.
- f'(x) = - \sin{\left(x \right)} - 1
Differentiate once; the same derivative serves every iteration.
- x_{1} = 1.0 - \frac{-0.45969772}{-1.84147096} = 0.75036387
Iteration 1.
- x_{2} = 0.75036387 - \frac{-0.01892307}{-1.68190503} = 0.73911289
Iteration 2.
- x_{3} = 0.73911289 - \frac{-4.646 \cdot 10^{-5}}{-1.67363262} = 0.73908513
Iteration 3.
- x_{4} = 0.73908513 - \frac{0.0}{-1.67361212} = 0.73908513
Iteration 4.
- x_{5} = 0.73908513 - \frac{0}{-1.67361212} = 0.73908513
Iteration 5.
- \text{converged}
The iterates have stopped changing to 12 decimal places.
- x \approx 0.73908513
Quadratic convergence: the number of correct digits roughly doubles each step.
Показати відповідь
x \approx 0.73908513