Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write the script and plot the functions on MATLAB. 'this link' in text refers to http://www.mathworks.com/help/matlab/creating_plots/add-text-to-specific-points-on-graph.html 6. (6 points) Old time explorers like Jeremiah Johnson

write the script and plot the functions on MATLAB. 'this link' in text refers to http://www.mathworks.com/help/matlab/creating_plots/add-text-to-specific-points-on-graph.html

image text in transcribed

6. (6 points) Old time explorers like Jeremiah Johnson used to determine altitude by me- asuring the temperature of boiling water. The relevant formulas are p= 29.921 (1-68753 T 49.161 In p + 44.932 10-61) where p is pressure, h is altitude, and T is boiling temperature. Write a .m script file that defines these two functions as anonymous functions and then plots boiling temperature against altitude in the range from -500 ft to 14,439 ft (Colorado's highest point). Turn in one copy of the plot, and take the other copy and a thermometer with you next time you are mountaineering On your plot, label the following altitides with markers: New Orleans, LA (-2 ft), Golden, CO (5,675 ft), Lookout Mtn, CO (7,379 ft), the top of Copper Mtn ski resort (12,313 ft), and Mt Elbert (14,439 ft). To plot a point, the command is still plot(x,y), but r and y will be scalars instead of arrays. You will need to use the hold on command in order to plot mulitple things in the same figure. The marker size will need to be large Add grid lines to the plot, so it will be easier for a mountaineer to trace. Label the five points on the plot usingthis link We would like this plot to be a "polished" plot. Label the axes, and place a title on the plot. Use font sizes and line widths that make the plot look nice. You should be able to Google this

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

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions