Question: ( 1 5 points ) Consider the parabolic equation u t ( x , t ) - u ( x , t ) = 4

(15 points) Consider the parabolic equation
ut(x,t)-u(x,t)=4,0x1,t0
subject to the conditions
u(0,t)=0,u(l,t)=0,t>0, and u(x,0)=x(1-x),0x1.
With n=10 for x and step size k=0.01 for t, apply backward-difference method to find its numerical
solution at t=k : Use Jupyter notebook to write Python code to form A,w(0) and b of the linear
equations Aw(1)=w(0)+b. Then use numpy.linalg.solve to solve Aw(1)=w(0)+b for w(1).
 (15 points) Consider the parabolic equation ut(x,t)-u(x,t)=4,0x1,t0 subject to the conditions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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

Students Have Also Explored These Related Databases Questions!