summaryrefslogtreecommitdiff
path: root/3720/CH2/EX2.2
diff options
context:
space:
mode:
Diffstat (limited to '3720/CH2/EX2.2')
-rw-r--r--3720/CH2/EX2.2/Ex2_2.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3720/CH2/EX2.2/Ex2_2.sce b/3720/CH2/EX2.2/Ex2_2.sce
new file mode 100644
index 000000000..6d68de72e
--- /dev/null
+++ b/3720/CH2/EX2.2/Ex2_2.sce
@@ -0,0 +1,7 @@
+// Example 2_2
+clc;clear;funcprot(0);
+//Properties
+P_sat=4.25;//The vapor pressure of water at 30°C in KPa
+//Analysis
+P_min=P_sat;
+printf('The minimum pressure allowed in the system to avoid cavitation P_min=%0.2f kPa\n',P_min);