Question: Partial Differential Equations: The Heat Equation (Implementing the explicit scheme) Goal: In Matlab work through Example 5.4, to reproduce Figure 5.2. (Please include all Matlab

Partial Differential Equations: The Heat Equation (Implementing the explicit scheme)

Goal: In Matlab work through Example 5.4, to reproduce Figure 5.2. (Please include all Matlab code and explanations!)

I have attached exmaple 5.4 and figure 5.2 below. Thank you!

 Partial Differential Equations: The Heat Equation (Implementing the explicit scheme) Goal:In Matlab work through Example 5.4, to reproduce Figure 5.2. (Please include

Example 5.4. Let us fix the diffusivity 1 and the interval length l I. For illustrative purposes, we take a spatial step size of .1. We work with the initial data 1- T, used earlier in Example 4.1. In Figure 5.2 we compare the numerical solutions resulting from two (slightly) different time step sizes. The first row uses (A2)2-01 and plots the solution at the indicated times. The numerical solution is already showing signs of instability (the final plot does not even fit in the window), and indeed, soon thereafter, it becomes completely wild. The second row takes .005. Even though we are employing a rather coarse mesh, the numerical solution is not too far away from the true solution to the initial value problem, which can be seen in Figure 4.1

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!