summaryrefslogtreecommitdiff
path: root/3648/CH9/EX9.9/Ex9_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH9/EX9.9/Ex9_9.sce')
-rw-r--r--3648/CH9/EX9.9/Ex9_9.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3648/CH9/EX9.9/Ex9_9.sce b/3648/CH9/EX9.9/Ex9_9.sce
new file mode 100644
index 000000000..1a90f6606
--- /dev/null
+++ b/3648/CH9/EX9.9/Ex9_9.sce
@@ -0,0 +1,10 @@
+
+//Example 9_9
+clc();
+clear;
+//To compare the pressures at A and at B
+p=1000 //Units in Kg/Meter^3
+va=0.2 //units in meters/sec
+vb=2 //units in meters/sec
+Pa_Pb=-0.5*p*(va^2-vb^2) //units in Pa
+printf("Pressure Difference at A and B is Pa-Pb=%d Pa therefore pressure at A is High than at B",Pa_Pb)