summaryrefslogtreecommitdiff
path: root/3814/CH1/EX1.1/Ex1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3814/CH1/EX1.1/Ex1_1.sce')
-rw-r--r--3814/CH1/EX1.1/Ex1_1.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3814/CH1/EX1.1/Ex1_1.sce b/3814/CH1/EX1.1/Ex1_1.sce
new file mode 100644
index 000000000..6d987c9aa
--- /dev/null
+++ b/3814/CH1/EX1.1/Ex1_1.sce
@@ -0,0 +1,7 @@
+
+// determine the absolute pressure in the tank
+clc
+patom=47.2 // pressure of an atom
+pg=40 // pressure at 40kpa from table
+pa=patom-pg
+mprintf('\n absoulte pressure in the tank is %f kPa',pa)