summaryrefslogtreecommitdiff
path: root/3878/CH1/EX1.5
diff options
context:
space:
mode:
Diffstat (limited to '3878/CH1/EX1.5')
-rw-r--r--3878/CH1/EX1.5/Ex1_5.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3878/CH1/EX1.5/Ex1_5.sce b/3878/CH1/EX1.5/Ex1_5.sce
new file mode 100644
index 000000000..aa35b2fa3
--- /dev/null
+++ b/3878/CH1/EX1.5/Ex1_5.sce
@@ -0,0 +1,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)