Solve the parabolic equation (6.24) with K =1, subject to the following boundary conditions: u(0,t)=0, u(1,t)=10, u(x,0)=0 for all x except x=1. When x=1, u(1,0)=10. Use the function heat to determine the solution for t =0 to 0.5 in steps of 0.01 with 20 divisions of x. You should plot the solution for ease of visualization. Solve the wave equation, (6.29) with c=1, subject to the following boundary and initial conditions: u(t,0) = u(t,1) = 0, u(0,x)= sin(πx) +2sin(2πx), and ut(0,x)= 0, where the subscript t denotes partial differentiation with respect to t. Use the function fwave to determine the solution for t =0 to 4.5 in steps of 0.05, and use 20 divisions of x. Plot your results and compare with a plot of the exact solution, which is given by u = sin (πx) cos (πt) + 2 sin (2πx) cos (2πt).

 

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!