Question: MATLAB PRACTICE EXAM - PROBLEM 1 : A bar is placed between two walls that are kept at constant temperatures, T a = 4 0

MATLAB PRACTICE EXAM - PROBLEM 1: A bar is placed between two walls that are kept at constant temperatures, Ta=40C and Tb=200C. For the steady-state case, the analytical solution of the heat transfer governing equation is the following function, where T is the temperature in Celsius degrees and x is the distance in meters along the bar.
T=73.4523e0.1x-53.4523e-0.1x+20
a) Plot the temperature distribution along the distance x for values of x between 0 and 10(the bar length L=10m. Using the graph, estimate the location in the bar where the temperature reach 100C.
b) Using the bisection function file, determine the distance x where the temperature is equal to 100C. Do the same with the Newton Raphson function file. Compare your results with the answer given by the MATLAB function fzero.
SAVE YOUR LIVE SCRIPT FILE
MATLAB PRACTICE EXAM - PROBLEM 1 : A bar is

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 Programming Questions!