diff options
Diffstat (limited to '3537/CH1/EX1.21/Ex1_21.sce')
-rw-r--r-- | 3537/CH1/EX1.21/Ex1_21.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3537/CH1/EX1.21/Ex1_21.sce b/3537/CH1/EX1.21/Ex1_21.sce new file mode 100644 index 000000000..9f534ac7f --- /dev/null +++ b/3537/CH1/EX1.21/Ex1_21.sce @@ -0,0 +1,10 @@ +//Example 1_21
+clc();
+clear;
+//To find the wavelength of light used
+D5=0.3 //units in cm
+D25=0.8 //units in cm
+R=100 //units in cm
+P=20
+lemda=(D25^2-D5^2)/(4*P*R)
+printf("The wavelength of the light used is %f cm",lemda)
|