summaryrefslogtreecommitdiff
path: root/1871/CH5/EX5.15/Ch05Ex15.sce
diff options
context:
space:
mode:
Diffstat (limited to '1871/CH5/EX5.15/Ch05Ex15.sce')
-rwxr-xr-x1871/CH5/EX5.15/Ch05Ex15.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1871/CH5/EX5.15/Ch05Ex15.sce b/1871/CH5/EX5.15/Ch05Ex15.sce
new file mode 100755
index 000000000..a8ed3d77c
--- /dev/null
+++ b/1871/CH5/EX5.15/Ch05Ex15.sce
@@ -0,0 +1,10 @@
+// Scilab code Ex5.15: Pg:225 (2008)
+clc;clear;
+Lambda = 5080e-08; // Wavelength of light on the grating, cm
+theta = 90; // Angle of incidence of light on grating, degree
+d = 2.54; // Total ruled width of grating, cm
+frac_lambda_max = d/Lambda;
+printf("\nThe maximum resolving power = %1.0e ", frac_lambda_max);
+
+// Result
+// The maximum resolving power = 5e+004 \ No newline at end of file