Find Solution of an Equation 2x^3-4x+1
x1 = 2 and x2 = 4
x = 3.5
Step value (h) = 0.5 using Newton's Backward Difference formula
Solution:
Equation is `f(x) = 2x^3-4x+1`.
Numerical differentiation method to find solution.
The value of table for `x` and `y`
x | 2 | 2.5 | 3 | 3.5 | 4 |
---|
y | 9 | 22.25 | 43 | 72.75 | 113 |
---|
Newton's backward differentiation table is
x | y | `grady` | `grad^2y` | `grad^3y` | `grad^4y` |
2 | 9 | | | | |
| | 13.25 | | | |
2.5 | 22.25 | | 7.5 | | |
| | 20.75 | | 1.5 | |
3 | 43 | | 9 | | 0 |
| | 29.75 | | 1.5 | |
3.5 | 72.75 | | 10.5 | | |
| | 40.25 | | | |
4 | 113 | | | | |
The value of x at you want to find `f(x) : x_n = 3.5`
`h = x_1 - x_0 = 2.5 - 2 = 0.5`
`[(dy)/(dx)]_(x=x_n) = 1/h * (grad y_n + 1/2 * grad^2 y_n + 1/3 * grad^3 y_n + 1/4 * grad^4 y_n)`
`:.[(dy)/(dx)]_(x=3.5) = 1/0.5 xx (29.75 + 1/2 xx 9 + 1/3 xx 1.5 + 1/4 xx 0)`
`:.[(dy)/(dx)]_(x=3.5) = 69.5`
`[(d^2y)/(dx^2)]_(x=x_n) = 1/h^2 * (grad^2 y_n + grad^3 y_n + 11/12 * grad^4 y_n)`
`:.[(d^2y)/(dx^2)]_(x=3.5) = 1/0.25 * (9 + 1.5 + 11/12 xx 0)`
`:.[(d^2y)/(dx^2)]_(x=3.5) = 42`
`:.` `Pn'(3.5) = 69.5` and `Pn''(3.5) = 42`
This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then