summaryrefslogtreecommitdiff
path: root/3845/CH13/EX13.6/Ex13_6.sce
blob: 30e1f2c2e8cbfddf3ff31ec5aa3caad8147b18a1 (plain)
1
2
3
4
5
6
7
8
9
10
//Example 13.6
T_0=18;//Initial temperature (C)
T_0=T_0+273;//Initial temperature (K)
T_f=35;//Final temperature (C)
T_f=T_f+273;//Final temperature (K)
P_0=7*10^5;//Initial pressure (Pa)
P_f=P_0*T_f/T_0;//Final presssure (after derivation)(Pa)
printf('Pressure after temperature rise = %0.2e Pa',P_f)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest