summaryrefslogtreecommitdiff
path: root/551/CH16/EX16.5/5.sce
diff options
context:
space:
mode:
Diffstat (limited to '551/CH16/EX16.5/5.sce')
-rwxr-xr-x551/CH16/EX16.5/5.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/551/CH16/EX16.5/5.sce b/551/CH16/EX16.5/5.sce
new file mode 100755
index 000000000..9f7f4b2a4
--- /dev/null
+++ b/551/CH16/EX16.5/5.sce
@@ -0,0 +1,12 @@
+clc
+a=40*%pi/180; //Mach angle in radians
+y=1.4;
+R=287; //J/kg K
+T=288; //K
+
+C=sqrt(y*R*T);
+
+V=C/sin(a);
+disp("Velocity of bullet =")
+disp(V)
+disp("m/s") \ No newline at end of file