Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 1 . Submit all steps, code, script, solutions, etc. [ Mark: 3 ; 1 . 5 each ] Write a simple MATLAB program to

QUESTION 1. Submit all steps, code, script, solutions, etc. [Mark: 3; 1.5 each] Write a simple MATLAB program to do the following.
Part I) Compute the sum of the 9 digits of your student ID. Assume this sum to be temperature in degrees Fahrenheit F, convert it into degrees Celsius [C. For example, if your ID is 110733456, then the sum =1+1+0+7+3+3+4+5+6=30 or 30F.
Part II) Compute the sum of the squares of the 9 digits of your student ID. Assume this sum to be length in inches [in], convert it into length in centimeters [cm]. For 110733456, the sum of the 9 digits =12+12+02+72+32+32+42+52+62=146 or 146 in.
QUESTION 2. Submit all steps, code, script, solutions, plots, etc. [Mark: 4.5; 1.5 each] A 2-kg durian is falling freely under gravity g=9.12ms2.
Part I) Use a time step t=1s to deduce the velocity after 10s. Plot the velocity with respect to time from o to 13s.
Part II) Use a time step t=1s to deduce the distance traveled after 10s. Plot the distance with respect to time from o to 1a3s.
Part III) Use a time step t=0.5s to deduce the distance traveled after 10s. Plot the distance with respect to time from o to 13s.
Here, 1 and 2 are the largest and second largest digits, respectively, of your student ID. For example, ID =110733456 gives 1=7,2=6, and 3=5, that is,g=9.76ms2 and 15s.
QUESTION 3. Submit all steps, code, script, solutions, plots, etc. [Mark: 2.5]
Someone has an accident in a swimming pool. The disappearance or decay rate of the contaminant can be estimated as
dCdt=-kdecayC,
where C is the concentration of the contaminant, t is time, and the decay constant, kdecay=0.0011s-1.
How long should the pool be vacant if the initial concentration is 7200ppm and the safety threshold is 50ppm? Plot the concentration with respect to time for this range of concentration.
Here, 1 and 2 are the largest and second largest digits, respectively, of your student ID. For example, ID =110733456 gives 1=7 and 2=6, that is,kdecay=0.0017s-1 and 7600ppm.
image text in transcribed

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

Data And Information Quality Dimensions, Principles And Techniques

Authors: Carlo Batini, Monica Scannapieco

1st Edition

3319241060, 9783319241067

More Books

Students also viewed these Databases questions