Question: Your program must perform the following: 1 ) Use the explicit method to calculate the temperature disturbution with M = 5 1 , 1 0
Your program must perform the following:
Use the explicit method to calculate the temperature disturbution with M
Use Equation t tmaxNs to determine the least number of time steps, N that satisfies the stability condition in Equation t xalpha Round N to the largest integer and recalculate the time step t from Equation t tmaxNs
Save the variables corresponding to L kalpha Tinfty h and the three array storing the temperature disturbutions for M and to file named CaseExplicit.mat
Figure: Plot the temperature profile T vs x at approximately min, min min, min estimate based on your t Your figure must contain times subplots, one for each set of nodes M where each plot has four lines for the four times on the same set of axes. Annotate your plots with title, axis labels, and a legend.
Use the implicit method to calculate the temperature disturbution with M and N
Save the variables corresponding to L kalpha Tinfty h and the three arrays storing the temperature disturbutions for N and to a file named CaseImplicit.mat
Figure: Plot the temperature distribution T vs x at approximately min, min, min, min estimate based on your t Your figure must contain times subplots, one for each set of time nodes N where each plot has four lines for the fours times on the same set of axes. Annotate you plots with a title, axis labels, and a legend.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
