Question: Use the Forward-Difference method to approximate the solution to the following parabolic partial differential equations. a. u / t - 4 / 2 2u /

Use the Forward-Difference method to approximate the solution to the following parabolic partial differential equations.
a. ∂u / ∂t - 4 / π2 ∂2u / ∂x2 = 0, 0 < x < 4, 0 < t;
u(0, t) = u(4, t) = 0, 0 < t,
u(x, 0) = sin π/4 x. 1 + 2 cos π / 4 x, 0≤ x ≤ 4.
Use h = 0.2 and k = 0.04, and compare your results at t = 0.4 to the actual solution u(x, t) = e−t sin π2 x + e−t/4 sin π / 4 x.
b. ∂u / ∂t - 1 π2 ∂2u / ∂x2 = 0, 0 < x < 1, 0 < t;
u(0, t) = u(1, t) = 0, 0 < t,
u(x, 0) = cos π (x - 1/2), 0≤ x ≤ 1.
Use h = 0.1 and k = 0.04, and compare your results at t = 0.4 to the actual solution u(x, t) = e−t cos π(x - 1/2).

Step by Step Solution

3.34 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The ForwardDifference Algorithm gives the foll... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

731-M-N-A-N-L-A (1035).docx

120 KBs Word File

Students Have Also Explored These Related Numerical Analysis Questions!