summaryrefslogtreecommitdiff
path: root/3648/CH10/EX10.7/Ex10_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH10/EX10.7/Ex10_7.sce')
-rw-r--r--3648/CH10/EX10.7/Ex10_7.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3648/CH10/EX10.7/Ex10_7.sce b/3648/CH10/EX10.7/Ex10_7.sce
new file mode 100644
index 000000000..b65aac605
--- /dev/null
+++ b/3648/CH10/EX10.7/Ex10_7.sce
@@ -0,0 +1,9 @@
+//Example 10_7
+clc();
+clear;
+//To find out the final pressure in the drum
+p1=1 //Units in atm
+t2=333 //units in K
+t1=293 //units in K
+p2=p1*(t2/t1) //units in atm
+printf("The final pressure in the drum is P2=%.2f atm",p2)