summaryrefslogtreecommitdiff
path: root/3878/CH1/EX1.5/Ex1_5.sce
blob: aa35b2fa39bb2c785c164277369ee910ec2548e2 (plain)
1
2
3
4
5
6
7
8
9
clear
// Variable Declaration
V_1=0.75// The initial volume in m**3
T_1=273+20 // The initial temperature of water in K
T_2=273+90 // The final temperature of water in K

// Calculation
V_2=V_1*(T_2/T_1)// The final volume in m**3
printf("\n The final volume,V_2= %0.2f  m**3",V_2)