summaryrefslogtreecommitdiff
path: root/3843/CH1/EX1.6/Ex1_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3843/CH1/EX1.6/Ex1_6.sce')
-rw-r--r--3843/CH1/EX1.6/Ex1_6.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3843/CH1/EX1.6/Ex1_6.sce b/3843/CH1/EX1.6/Ex1_6.sce
new file mode 100644
index 000000000..680bf3326
--- /dev/null
+++ b/3843/CH1/EX1.6/Ex1_6.sce
@@ -0,0 +1,10 @@
+// Example 1_6
+clc;funcprot(0);
+// Given data
+P_gage=35;// psi
+P_atm=100;// The atmospheric pressure in kPa
+
+// Calculation
+P_gage=35*144*0.04788;// The gage pressure in kPa
+P=P_atm+P_gage;// The absolute pressure in kPa
+printf("\nThe absolute pressure,P=%3.0f kPa",P)