Question
PLEASE HELP! Programming for Engineers - MatLab Plotting with Matlab. Submit a single script file. Use the figure command between problem solutions so that when
PLEASE HELP!
Programming for Engineers - MatLab
Plotting with Matlab. Submit a single script file. Use the figure command between problem solutions so that when I run your script, all six figures will appear.
1. Plot the function
2. Plot the function and its derivative, both on the same plot, for . Plot the function with a solid line, and the derivative with a dashed line. Add a legend and label the axes.
3. The position as a function of time of a squirrel running on a grass field is given in polar coordinates by: , meters. Plot the trajectory (position) of the squirrel for seconds
4. Consider the motion of the squirrel in the previous problem. The components of the velocity vector of the squirrel are given by and . The speed of the squirrel is . Plot the speed of the squirrel as a function of time for seconds.
5. A railroad bumper is desgined to slow down a rapidly moving railroad car. After a 20,000 kg railroad car traveling at 20 m/s engages the bumper, its displacement x (in meters) and velocity v (in m/s) as a function of time t (in seconds) is given by: and Plot the displacement and the velocity as a function of time for seconds. Make two plots on one page.
6. The temperature dependence of the diffusion coefficient D (cm^2/s) is given by an Arrhenius type equation: where (cm^2/s) is pre-exponential constant, (J/mol) is activation energy for diffusion, R = 8.31 (J/mol-K) is the gas constant, and T is temperature in Kelvin. For diffusion of carbon into stainless steel = 6.18 cm^2/s, and = 187 KJ/mol. Make two plots of D versus T for C. In the first plot use linear scale for both axes and in the second plot use linear scale for T and logarithmic scale for D. Which plot is more useful?
f(x) = for 4Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started