2080 10

Numerical Method20805 marksNumerical: Taylor's series method ODETaylor series method

Approximate the solution of y' = 3x2, y(1) = 1 using Taylor's series method using first four terms. Approximate the value of y(2).

Approximate the solution of $y' = 3x^2$, $y(1) = 1$ using Taylor's series method using first four terms. Approximate the value of $y(2)$.

$$y' = 3x^2, \quad y(1) = 1$$

[5]

  • ODE: $y' = 3x^2$ - Initial condition: $y(1) = 1$, so $x0 = 1$, $y0 = 1$ - Target: $y(2)$ using first four terms of Taylor's series - Step: $h = x - x0 = 2 - 1 = 1$ $$y(x) = y(x0) + (x-x0)\frac{y'(x0)}{1!} + (x-x0)^2\frac{y''(x0)}{2!} + (x-x0)^3\frac{y'''(x0)}{3!} + \cdots$$ $$y' = 3x^2$$ $$y'' ...
Up nextSolve the Poisson's equation nabla2 f = xy and f = 2 on boundary by assuming square domain