ASSIGNMENT - 4 (Numerical Solution of Ordinary Differential Equations) Course: MCSC 202
ASSIGNMENT - 4 (Numerical Solution of Ordinary Differential Equations) Course: MCSC 202
——————————————————————————————————————————–
the solution of the initial value problem y 00 = p(x)y 0 + q(x)y + r(x), a ≤ x ≤ b, y(a) = α, y 0 (a) = 0, and
y2 (x) is the solution of the initial value problem y 00 = p(x)y 0 + q(x)y, a ≤ x ≤ b, y(a) = 0, y 0 (a) = 1.
Problem 10 The boundary value problem
y 00 = y 0 + 2y + cos x, 0 ≤ x ≤ π/2, y(0) = −0.3, y(π/2) = −0.1
has the solution y(x) = −(sin x + 3 cos x)/10. Use the Linear shooting method and the Linear finite
difference method to approximate the solution, and compare the results to the actual solution with h = π/4
and h = π/8.