Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MATLAB only please and every step. Thank you!!! Your Matlab code (as m files) should be electrically submitted to a designated D2L drop box. The

MATLAB only please and every step. Thank you!!! image text in transcribed
image text in transcribed
Your Matlab code (as m files) should be electrically submitted to a designated D2L drop box. The file names should be in the following convention: "familynamprojecttisection"t'. For example, for project I, hwangp/02 (let's say I am in section 02) Your Matlab script must follow the instructions below otherwise, a heavy deduction will be applied: - All the user-defined names (parameters", variables', functions', and any names) other than Matlab built-in functions must be unique from other students. - You must combine your name characters (first two characters of your first name) and your last two digits of your student number. - For "for loop indexing", you must use the combination of last two characters of first name and your last digits of your student number. Even if one of your user-defined names is same as other student's, the students will be individually asked to verify their seripts and the seripts will be tested using a Matlab seript that shows % of similarity between the seripts as well. Descriptive comments must be embedded on each line of your code so that someone understand your code to use. Otherwise, a heavy deduction will be applied. If comments are same as those of other seripts, the students will be individually asked to verify their seripts and the scripts will be tested using a Matlab seript that shows % of similarity between the scripts as well. When a thin hot plate out of an oven is suddenly subjected to the surrounding air, heat loss occurs by convection and radiation. The rate of temperature change for the plate is given by the following governing equation: dtdT=VCAs[ss(T4T4)+h(TT)] where As is the plate's surface area, 300kg/m3 is its density, V is its volume, Cv=900J/kgK is its specific heat at constant volume, =0.9 is its irradiative emissivity, S=5.57108W/m2K4 is the Stefan-Boltzmann constant, h=30W/m2K is the convection coefficient, and Tx is the ambient air temperature, 220K. P1. Plot the plate temperature with respect to time from t=0 to 300sec with a time step of t=10s using the Euler's explicit method, implicit, and ode45 with T(0)=600K,V=0.003m3, and As =0.20m2. For the Euler's implicit method, use your Matlab seript (from lab02) for the Newton's Raphson method as a function. For students who did not fully complete the L.ab02 project, this is another chance to make your seript work. I will post my Matlab script for the Newton's method for your reference; however, you must write your own script according to the instructions given for Lab02. Use a scatter plot to plot the temperature of each method vs. time step, you generate one single figure that display all three plots: one from each method. The figure must have x label, y label, and legend. P2. Use the Euler's explicit method. Plot the temperature and the approximated error of temperature at 100s with respect to the step size. Use time steps in the table below. Use subplot and plot/scatter functions to plot the temperature vs. time step, and the approximate relative error vs. time step. Both plots should have x label and y label. Use circular marker filled in blue for computed data points

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Chemical Engineering questions