Hello I need help on MATLAB( I use MATLAB A Introduction with Application 5th ed
ID: 1843268 • Letter: H
Question
Hello I need help on MATLAB( I use MATLAB A Introduction with Application 5th edition by WIley textbook).
So far I have to following(picture below), but the output is not coming out like the sample output.What should I do?
b fprintf table usine x L My Drive Google D x C Home Ichegg.com x rive https://drive.google.co drive/my drive 5 IMG 20170215 074644334.jpg Open with z) The heat capacitance of va gases can be are the coeff, cu ents of the cubic function & T the tempera in celsius. The value of coefficients por on is in hne table haow .31 x lo 20170215 o7 65204 o, 6076 l.IS8 X10 40 T that culates the heat capacitance for Wite a f do display the resu US n an increment 20. Use f prin IMG 20170215.07... jpg l IMG 20170215 ...jpg R IMG 20170215.06... jpg 06. Show all X le 718 AM S 2/15/2017Explanation / Answer
MATLAB CODE:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear all
a= 29.1;
b=1.158e-2;
c=-0.6076e-5;
d=1.311e-9;
T = [40:2:60];
cp = a + b.*T + c.*T.^2 + d.*T.^3;
table = [T; cp];
fprintf('Heat capacitance of oxygen ');
fprintf('T(c) cp ');
fprintf('%.2f %.4f ', table);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CODE OUTPUT:
Heat capacitance of oxygen
T(c) cp
40.00 29.5536
42.00 29.5757
44.00 29.5979
46.00 29.6200
48.00 29.6420
50.00 29.6640
52.00 29.6859
54.00 29.7078
56.00 29.7297
58.00 29.7515
60.00 29.7732
>>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.