summaryrefslogtreecommitdiff
path: root/551/CH16/EX16.7/7.sce
diff options
context:
space:
mode:
Diffstat (limited to '551/CH16/EX16.7/7.sce')
-rwxr-xr-x551/CH16/EX16.7/7.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/551/CH16/EX16.7/7.sce b/551/CH16/EX16.7/7.sce
new file mode 100755
index 000000000..44bff3a2d
--- /dev/null
+++ b/551/CH16/EX16.7/7.sce
@@ -0,0 +1,19 @@
+clc
+h=1800; //m
+T=277; //K
+t=4; //s
+y=1.4;
+R=287; //J/kg K
+
+C=sqrt(y*R*T);
+
+//tan(a)=h/t*V
+//V=C/sin(a)
+//From above two equations we get
+
+a=(acos(C/h*t));
+
+V=C/sin(a)*3600/1000;
+disp("Speed of the aircraft =")
+disp(V)
+disp("km/h") \ No newline at end of file