Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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!

image text in transcribedimage text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

More Books

Students also viewed these Databases questions