Use the results of Exercise 15 to approximate the solution to u / t 2u /

Question:

Use the results of Exercise 15 to approximate the solution to
∂u / ∂t − ∂2u / ∂x2 = 2, 0 < x < 1, 0 < t;
u(0, t) = u(1, t) = 0, 0 < t;
u(x, 0) = sin πx + x(1 − x),
with h = 0.1 and k = 0.01. Compare your answer at t = 0.25 to the actual solution u(x, t) = e−π2t sin πx + x(1 − 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: