summaryrefslogtreecommitdiff
path: root/1535/CH11/EX11.6/Ch11Ex6.sci
diff options
context:
space:
mode:
Diffstat (limited to '1535/CH11/EX11.6/Ch11Ex6.sci')
-rwxr-xr-x1535/CH11/EX11.6/Ch11Ex6.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/1535/CH11/EX11.6/Ch11Ex6.sci b/1535/CH11/EX11.6/Ch11Ex6.sci
new file mode 100755
index 000000000..2ecd57e6d
--- /dev/null
+++ b/1535/CH11/EX11.6/Ch11Ex6.sci
@@ -0,0 +1,12 @@
+// Scilab Code Ex11.6:Page-251 (2010)
+lambda = 693e-009; // Wavelength of laser beam, m
+D = 3e-003; // Diameter of laser beam, m
+d_theta = 1.22*lambda/D; // Angular spread of laser beam, rad
+d = 300e+003; // Height of a satellite above the surface of earth, m
+a = d_theta*d; // Diameter of the beam on the satellite, m
+printf("\nThe height of a satellite above the surface of earth = %4.2e rad", d_theta);
+printf("\nThe diameter of the beam on the satellite = %4.1f m", a);
+
+// Result
+// The height of a satellite above the surface of earth = 2.82e-004 rad
+// The diameter of the beam on the satellite = 84.5 m \ No newline at end of file