summaryrefslogtreecommitdiff
path: root/3768/CH10/EX10.9/Ex10_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH10/EX10.9/Ex10_9.sce')
-rw-r--r--3768/CH10/EX10.9/Ex10_9.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3768/CH10/EX10.9/Ex10_9.sce b/3768/CH10/EX10.9/Ex10_9.sce
new file mode 100644
index 000000000..f6597a8d3
--- /dev/null
+++ b/3768/CH10/EX10.9/Ex10_9.sce
@@ -0,0 +1,13 @@
+//Example number 10.9, Page number 227
+
+clc;clear;
+close;
+
+//Variable declaration
+Tc1=5; //critical temperature(K)
+P1=1; //pressure(mm)
+P2=6; //pressure(mm)
+//Calculation
+Tc2=Tc1*P2/P1; //critical temperature(K)
+//Result
+printf("critical temperature is %.f K",Tc2)