The boiling temperature of water TB at various altitudes h is given in the follo
ID: 2991979 • Letter: T
Question
The boiling temperature of water TB at various altitudesh is given in the following table. Determine a linear equation in the form TB = mh + b that best fits the data. Use the equation for calculating the
boiling temperature at 16,000 ft. Make a plot of the points and the equation.
h (ft) 0;2000; 5000; 7500; 10000; 20000; 26000
T ( F ) 212; 210; 203; 198; 194; 178; 168
Explanation / Answer
>> h = [0, 2000, 5000, 7500, 10000, 20000, 26000]; >> T = [212, 210, 203, 198, 194, 178, 168]; >> p = polyfit(h, T, 1); >> h1 = 16000; >> T1 = p(1)*h1+p(2); >> T1 %FOR PLOT >> bf = p(1)*h+p(2) >> plot(h, T, 'o'); >> hold; >> plot(h, bf, '-')
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.