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
(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 CrankNicolson 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

(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
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
Get step-by-step solutions from verified subject matter experts
