Use the Nonlinear Finite-Difference Algorithm with TOL = 104 to approximate the solution to the following boundary-value

Question:

Use the Nonlinear Finite-Difference Algorithm with TOL = 10−4 to approximate the solution to the following boundary-value problems. The actual solution is given for comparison to your results.
a. y" = y3 -yy', 1≤ x ≤ 2, y(1) = 1 / 2, y(2) = 1 / 3; use h = 0.1; actual solution y(x) = (x+1)−1.
b. y" = 2y3 − 6y − 2x3, 1 ≤ x ≤ 2, y(1) = 2, y(2) = 5/2 ; use h = 0.1; actual solution y(x) = x + x−1.
c. y" = y' + 2(y − ln x)3 − x−1, 2 ≤ x ≤ 3, y(2) = 1/ 2 + ln 2, y(3) = 1/3 + ln 3; use h = 0.1; actual solution y(x) = x−1 + ln x.
d. y" = (y')2x−3 − 9y2x−5 + 4x, 1 ≤ x ≤ 2, y(1) = 0, y(2) = ln 256; use h = 0.05; actual solution y(x) = x3 ln x.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Numerical Analysis

ISBN: 978-0538733519

9th edition

Authors: Richard L. Burden, J. Douglas Faires

Question Posted: