summaryrefslogtreecommitdiff
path: root/51/CH11/EX11.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /51/CH11/EX11.4
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '51/CH11/EX11.4')
-rwxr-xr-x51/CH11/EX11.4/11_4.sce19
-rwxr-xr-x51/CH11/EX11.4/11_4graph.jpgbin0 -> 25688 bytes
2 files changed, 19 insertions, 0 deletions
diff --git a/51/CH11/EX11.4/11_4.sce b/51/CH11/EX11.4/11_4.sce
new file mode 100755
index 000000000..96c7ce83d
--- /dev/null
+++ b/51/CH11/EX11.4/11_4.sce
@@ -0,0 +1,19 @@
+clc;
+clear;
+z=1000;//m
+Ma=1.5;
+T=20;//degree C
+//alpha=atan(z/x), x=V*t,and Ma=(1/sin(alpha)); where alpha is the angle of the Mach cone
+//V=Ma*c
+c=343.3;//m/s found from the value of temperature
+V=Ma*c;//m/sec
+t=z/(Ma*c*tan(asin(1/Ma)));//sec
+disp("sec",t,"The number of seconds to wait after the plane passes over-head before it is heard=")
+Mach=0.01:0.01:4;
+count=1;
+for i=0.01:0.01:4
+ time(count)=z/(i*c*tan(asin(1/i)));
+ count=count+1;
+end
+plot2d(Mach,time,rect=[0,0,4,3])
+xtitle("t vs Ma","Ma","t, sec")
diff --git a/51/CH11/EX11.4/11_4graph.jpg b/51/CH11/EX11.4/11_4graph.jpg
new file mode 100755
index 000000000..86254ad74
--- /dev/null
+++ b/51/CH11/EX11.4/11_4graph.jpg
Binary files differ