summaryrefslogtreecommitdiff
path: root/1184/CH16/EX16.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1184/CH16/EX16.5
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 '1184/CH16/EX16.5')
-rwxr-xr-x1184/CH16/EX16.5/Ex16_5.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1184/CH16/EX16.5/Ex16_5.sce b/1184/CH16/EX16.5/Ex16_5.sce
new file mode 100755
index 000000000..26c4549f3
--- /dev/null
+++ b/1184/CH16/EX16.5/Ex16_5.sce
@@ -0,0 +1,16 @@
+//Example 16-5,Page No - 661
+
+clear
+clc
+
+T = 9.2
+theta = 20
+sin20 = 0.342
+
+D_nautical = T/12.36
+D_statute =D_nautical*0.87
+A = D_statute*0.342
+
+
+printf('\nThe line of distance to the aircraft in \nthe statute miles %.3f ',D_statute)
+printf('\n\nThe altitude of the aircraft is %.2f mi and in feet it is 1161.6',A)