summaryrefslogtreecommitdiff
path: root/629/CH4/EX4.9/example4_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '629/CH4/EX4.9/example4_9.sce')
-rw-r--r--629/CH4/EX4.9/example4_9.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/629/CH4/EX4.9/example4_9.sce b/629/CH4/EX4.9/example4_9.sce
new file mode 100644
index 000000000..cf0c9d0e5
--- /dev/null
+++ b/629/CH4/EX4.9/example4_9.sce
@@ -0,0 +1,11 @@
+clear
+clc
+//Example 4.9 PITOT TUBE APPLICATION WITH PRESSURE GAGE
+p=98*10^3; //pressure[N/m^3]
+R=287; //gas constant[J/kg.K]
+T=20+273; //temperature[K]
+rho=p/(R*T) //density[kg/m^3]
+del_p=730; //[N/m^2]
+//Pitot-static tube equation,
+V=sqrt(2*del_p/rho) //velocity[m/s]
+printf("\nThe velocity of air in the tunnel = %.1f m/s.\n",V) \ No newline at end of file