diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /51/CH11/EX11.4 | |
download | Scilab-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-x | 51/CH11/EX11.4/11_4.sce | 19 | ||||
-rwxr-xr-x | 51/CH11/EX11.4/11_4graph.jpg | bin | 0 -> 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 Binary files differnew file mode 100755 index 000000000..86254ad74 --- /dev/null +++ b/51/CH11/EX11.4/11_4graph.jpg |