Thinking Like an Engineer: An Active Learning Approach (3rd Edition)
3rd Edition
ISBN: 9780133593211
Author: Elizabeth A. Stephan, David R. Bowman, William J. Park, Benjamin L. Sill, Matthew W. Ohland
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 18, Problem 29ICA
If a hot liquid in a container is left to cool, its temperature (T) [°C] will gradually approach room temperature. This model will have the form T = A + B emt. In this case, m will always be negative and its dimension will be inverse time. If it is not clear how to determine A and B, consider that T = A + B when t = 0, T = A as t approaches infinity.
You are to write a function named Cooling that will accept two parameters:
- Tr: Room temperature in degrees C
- TData: A two-row matrix containing measurements of a cooling liquid at various times. The first row contains the times of the measurements in minutes, and the second row contains the corresponding temperature measurements in degrees C
The function must perform the following operations:
- Plot the measured points.
- Determine an exponential model to fit the data.
- Add the exponential trendline to the graph.
- Add the trendline equation for the exponential model to the graph.
Example
Room Temperature: Tr = 30
Temperature Data: TData = [0.5 3 7 11; 85 48 35 33]
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
For the following concentration expressions, indicate whether they are uniform or nonuniform
and in how many dimensions (OD, 1D, 2D, or 3D), and steady or unsteady. Then for the following
control volume and origin, and table of constants, use Excel or Matlab to graph profiles that
show how concentration changes within the control volume and over time to a limit of 20 for
the following: C(x,0,0,0), C(0,y,0,0), c(0,0,z,0) and C(0,0,0,t). On each graph, show which
parameters are held constant, the CV boundaries, and the point where all four plots overlap.
20
C(x=0)
10
a
0.0001
b
0.001
20
0.01
y
k
0.1
100
All of the following functions are C(space, time) and so not necessarily just x as suggested.
a. C,(x)= C,(x = 0)x exp{- ax}
d. C, (x) = C, (x = 0)x exp{-ax}x exp{- by² }x exp{-cz²}x exp{- kt}
How do I input this code for this MATLAB problem? Thanks!
1. For the following concentration expressions, indicate whether they are uniform or nonuniform
and in how many dimensions (OD, 1D, 2D, or 3D), and steady or unsteady. Then for the following
control volume and origin, and table of constants, use Excel or Matlab to graph profiles that
show how concentration changes within the control volume and over time to a limit of 20 for
the following: C(x,0,0,0), C(0,y,0,0), C(0,0,z,0) and C(0,0,0,t). On each graph, show which
parameters are held constant, the CV boundaries, and the point where all four plots overlap.
20
C(x=0)
10
a
0.0001
b
0.001
| 20
0.01
k
0.1
100
All of the following functions are C(space, time) and so not necessarily just x as suggested.
a. C,(x)= C,(x = 0)x exp{- ax}
Chapter 18 Solutions
Thinking Like an Engineer: An Active Learning Approach (3rd Edition)
Ch. 18.1 - a. Write an input statement to ask for the users...Ch. 18.1 - Prob. 2CCCh. 18.1 - Prob. 3CCCh. 18.2 - Assume that the variable M is stored in the...Ch. 18.2 - Prob. 5CCCh. 18 - Write a MATLAB statement that results in the input...Ch. 18 - You are writing code that is part of a purchasing...Ch. 18 - Prob. 3ICACh. 18 - Prob. 4ICACh. 18 - Prob. 5ICA
Ch. 18 - Assume that a three-element row vector v already...Ch. 18 - The tiles on the space shuttle are constructed to...Ch. 18 - The specific gravity of acetic acid (vinegar) is...Ch. 18 - Write a MATLAB program that will allow a user to...Ch. 18 - Write a program that will allow the user to type a...Ch. 18 - In order to calculate the pressure in a flask,...Ch. 18 - Write a program that will allow the user to type...Ch. 18 - Write a MATLAB program that will ask users to...Ch. 18 - Write a program that asks a user to enter, one at...Ch. 18 - Joules first law, also known as the Joule effect,...Ch. 18 - Create a proper plot of the following set of...Ch. 18 - Prob. 17ICACh. 18 - You want to create a graph showing the theoretical...Ch. 18 - The decay of a radioactive isotope can be...Ch. 18 - Create a proper plot of the theoretical voltage...Ch. 18 - Plot the following functions as assigned by your...Ch. 18 - Plot the following functions as assigned by your...Ch. 18 - If an object is heated, the temperature of the...Ch. 18 - The resistance of a typical carbon film resistor...Ch. 18 - Today, most traffic lights have a delayed green,...Ch. 18 - Cadmium sulfide (CdS) is a semiconducting material...Ch. 18 - Your supervisor has assigned you the task of...Ch. 18 - Three different diodes were tested: a constant...Ch. 18 - If a hot liquid in a container is left to cool,...Ch. 18 - You are an engineer working for M M / Mars...Ch. 18 - 1. The specific gravity of gold is 19.3. Write a...Ch. 18 - An unmanned X-43A scramjet test vehicle has...Ch. 18 - A rod on the surface of Jupiter's moon Callisto...Ch. 18 - The Eco-Marathon is an annual competition...Ch. 18 - Write a function and program to determine the mass...Ch. 18 - Prob. 6RQCh. 18 - You are part of an engineering firm on contract...Ch. 18 - Prob. 8RQCh. 18 - Prob. 9RQCh. 18 - When one tries to stop a car, both the reaction...Ch. 18 - Prob. 11RQCh. 18 - Prob. 12RQCh. 18 - Prob. 13RQCh. 18 - Prob. 14RQCh. 18 - Prob. 15RQCh. 18 - Prob. 16RQCh. 18 - Prob. 17RQCh. 18 - Prob. 18RQCh. 18 - Prob. 19RQCh. 18 - Prob. 20RQCh. 18 - Prob. 21RQCh. 18 - Prob. 22RQCh. 18 - Prob. 23RQCh. 18 - Prob. 24RQCh. 18 - Prob. 25RQCh. 18 - Prob. 26RQCh. 18 - Prob. 27RQCh. 18 - Prob. 28RQCh. 18 - Download the weekly retail gasoline and diesel...Ch. 18 - A sample of the data provided in the Microsoft...Ch. 18 - An Excel file named DartTosses.xlsx has one...
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.Similar questions
- I want to run several shocks in my calibrated DSGE model. I want the shock “a” to happen at period 0, shock “b” at period 2 and shock “c” at period 5. Also, I want to run a shock of 1 % to the variable “a”, 2 % to variable “b” and 10 % to variable “c”. How would I write it in the Dynare code? The model is log-linearized around the steady state and all endogenous variables are set at 0 at the steady state.arrow_forwardFor the Following question Graph all 4 : [I just need all 4 graphs and please explain and make clean solution] Position vs time Velocity vs time Acceleration vs time Force vs time [For your convenience, I have solved the numerical solutions for the problem] (Please Look at the picture since it is much cleaner) Question : A 550 kilogram mass initially at rest acted upon by a force of F(t) = 50et Newtons. What are the acceleration, speed, and displacement of the mass at t = 4 second ? a =(50 e^t)/(550 ) [N/kg] v = ∫_0^t▒(50 e^t )dt/(550 )= v_0 +(50 e^t-50)/550=((e^t- 1))/11 x = ∫_0^t▒(e^t- 1)dt/(11 )= x_0 +(e^t- t - 1)/(11 ) a(4s)=(50*54.6)/550= 4.96[m/s^2 ] v(4s)=((e^4-1))/11= 4.87[m/s] x(4s)=((e^4- 4 - 1))/11= 4.51 [m]arrow_forwardLet a fluid with defined with the next equation Where: f = f₁-f₂ + FG So we have And then, minimum force is dm (1) dt + Let G = x(r) (position function) → FG = PG-₂ dm (ap ap ax' dy OG OG OG opdv = fav ap pdv [de] + VpdV = (f + pVG)dV (gravity force) dv FG fm = p[dr] + Vp-pVG Prove the Bernoulli's equation with the given equations 1 ²+8= 12 + 1/2 PU²3 +1 (2)arrow_forward
- In matlabarrow_forward4arrow_forwardI am trying to plot an orbit in MATLAB. There is something wrong with my code because the final values I get are incorrect. The code is shown below. The correct values are in the image. mu = 3.986*10^5; % Earth's gravitational parameter [km^3/s^2] % Transforming orbital elements to cartesian coordinate system for LEOa_1 = 6782.99;e_1 = 0.000685539;inc_1 = 51.64;v_1 = 5;argp_1 = 30;raan_1 = 10; [x_1, y_1, z_1, vx_1, vy_1, vz_1] = kep2cart(a_1, e_1, inc_1, raan_1, ... argp_1, v_1); Y_1 = [x_1, y_1, z_1, vx_1, vy_1, vz_1]; % time_span for two revolutions (depends on the orbit)t1 = [0 (180*60)]; % Setting tolerancesoptions = odeset('RelTol',1e-12,'AbsTol',1e-12); % Using ODE45 to numerically integrate for LEO[t_1, state_1] = ode45(@OrbitProp, t1, Y_1, options); function dYdt = OrbitProp(t, Y) mu = 3.986*10^5; % Earth's gravitational parameter [km^3/s^2] % State Vector x = Y(1); % [km] y = Y(2); % [km] z = Y(3); % [km] vx = Y(4);…arrow_forward
- MATLAB Create a script that will take a continuous function f(x) as input, plot the function on x € [-10,10] with step size of h = 0.01, and will prompt the user with the following options: • 'r+45' and 'r-45' to rotate the plot 45° counterclockwise and clockwise respectively, ● 's+45' and 's-45' to shear the plot's ĵ 45�� to the right and to the left respectively, and • 'k+45' and 'k-45' to shear the plot's ↑ 45° upwards and downwards respectively.arrow_forwardHelp me solve this using MATLABarrow_forwardMATLAB Create a script that will take a continuous function f(x) as input, plot the function on x € [-10,10] with step size of h = 0.01,, and will prompt the user with the following options ● 'r+45' and 'r-45' to rotate the plot 45° counterclockwise and clockwise respectively, 'j+45' and 'j-45' to shear the plot's 45ĵº to the right and to the left respectively, and • 'i+45' and 'i-45' to shear the plot's 457° upwards and downwards respectively.arrow_forward
- I need help with this question. :)arrow_forwardLook at the below system. Using either the conservation of energy method or Lagrange's method, solve for the governing equation of motion for the system. Put a box around your final answer. Also, put a box around your equations for the potential and kinetic energy of the system. Assume the system's springs are initially unstretched (i.e., assume that there is no gravity until t = 0 [s]). K₁ Î E K₂ Xarrow_forwardCan you help me code the algorithm into MATLAB? The delta zero, delta one and so forth are equal to the determinats of a 3x3 matrix made of the three vectors.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
Dimensional Analysis - in physics; Author: Jennifer Cash;https://www.youtube.com/watch?v=c_ZUnEUlTbM;License: Standard youtube license