summaryrefslogtreecommitdiff
path: root/797/CH3/EX3.1.s/3_01_solution.sce
diff options
context:
space:
mode:
Diffstat (limited to '797/CH3/EX3.1.s/3_01_solution.sce')
-rw-r--r--797/CH3/EX3.1.s/3_01_solution.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/797/CH3/EX3.1.s/3_01_solution.sce b/797/CH3/EX3.1.s/3_01_solution.sce
new file mode 100644
index 000000000..06d546448
--- /dev/null
+++ b/797/CH3/EX3.1.s/3_01_solution.sce
@@ -0,0 +1,7 @@
+//Soultion 3-01
+WD=get_absolute_file_path('3_01_solution.sce');
+datafile=WD+filesep()+'3_01_example.sci';
+clc;
+exec(datafile)
+P_abs = P_atm - P_vac; //Pressure relationship
+printf("Absolute pressure of Vacuum chamber is %1.2f kPa", P_abs);