Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

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: "familynamprojectHsectiont"'. For example, for project 1, hwangplo2 (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 scripts and the scripts will be tested using a Matlab script that shows % of similarity between the scripts 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 scripts, the students will be individually asked to verify their scripts and the scripts will be tested using a Matlab script 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[s(T4T)+h(TT)] constant, h=30W/m2K is the convection coefficient, and Tis the ambient air temperature, 220K. P1. Plot the plate temperature with respect to time from t=0 to 300 sec 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 script (from lab02) for the Newton's Raphson method as a function. For students who did not fully complete the Lab02 project, this is another chance to make your script 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

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

Mass And Heat Transfer Analysis Of Mass Contactors And Heat Exchangers

Authors: T. W. Fraser Russell, Anne Skaja Robinson, Norman J. Wagner

1st Edition

0521886708, 9780521886703

More Books

Students also viewed these Chemical Engineering questions

Question

What is elastic demand?

Answered: 1 week ago

Question

1-5 What is an ethical dilemma? [LO-5]

Answered: 1 week ago

Question

1-2 What are the six traits of professionalism? [LO-2]

Answered: 1 week ago