diff options
Diffstat (limited to '1997/CH11/EX11.23/example23.sce')
-rwxr-xr-x | 1997/CH11/EX11.23/example23.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1997/CH11/EX11.23/example23.sce b/1997/CH11/EX11.23/example23.sce new file mode 100755 index 000000000..d3eb3ba41 --- /dev/null +++ b/1997/CH11/EX11.23/example23.sce @@ -0,0 +1,14 @@ +//Chapter-11 example 23
+//=============================================================================
+clc;
+clear;
+//input data
+Az = 60;//azimuth angle of the target in degrees
+Height = 10;//height of target in kms
+//Calculations
+R = 10/sin(Az*%pi/180);
+
+//output
+mprintf('Range of the Target is %g Kms',R);
+
+//==========end of the program=================================================
|