Question: (a) Write programs for the explicit and the CrankNicolson methods. (b) Apply the programs to the heat problem of a laterally insulated bar of length

(a) Write programs for the explicit and the Crank€”Nicolson methods.

(b) Apply the programs to the heat problem of a laterally insulated bar of length 1 with u(x, 0) = sin Ï€x and u(0, t) = u(1, t) = 0 for all t, using h = 0.2, k = 0.01 for the explicit method (20 steps), h = 0.2 and (9) for the Crank€“Nicolson method (5 steps). Obtain exact 6D-values from a suitable series and compare.

(c) Graph temperature curves in (b) in two figures similar to Fig. 299

и(х, t) 100 t = 0 t = 1 t = 2 t = 8 -3 -2 -1 3. H100

(d) Experiment with smaller h (0.1, 0.05, etc.) for both methods to find out to what extent accuracy increases under systematic changes of h and k.

(, t) 100 t = 0 t = 1 t = 2 t = 8 -3 -2 -1 3. H100

Step by Step Solution

3.45 Rating (174 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

u0 t u1 t 0 u02 t u08 t u04 t u06 t where t 0 t 004 t 008 t 012 t 016 t 02 ... 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

Students Have Also Explored These Related Advanced Engineering Mathematics Questions!