summaryrefslogtreecommitdiff
path: root/2219/CH9/EX9.17/Ex9_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '2219/CH9/EX9.17/Ex9_17.sce')
-rwxr-xr-x2219/CH9/EX9.17/Ex9_17.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2219/CH9/EX9.17/Ex9_17.sce b/2219/CH9/EX9.17/Ex9_17.sce
new file mode 100755
index 000000000..1c980595b
--- /dev/null
+++ b/2219/CH9/EX9.17/Ex9_17.sce
@@ -0,0 +1,11 @@
+// Chapter 9 example 16
+//------------------------------------------------------------------------------
+clc;
+clear;
+// Given Data from Figure triagle OAB
+OA = 100 // in Km
+OB = OA*cos(60*%pi/180); // Range of Target 2
+
+// Output
+mprintf('Range of Target-2 = %d Km\n Azimuth angle of target-1 = 60°\n Azimuth angle of Target-2 = 120°',OB);
+//------------------------------------------------------------------------------