summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.40/Ex1_40.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH1/EX1.40/Ex1_40.sce')
-rw-r--r--3537/CH1/EX1.40/Ex1_40.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3537/CH1/EX1.40/Ex1_40.sce b/3537/CH1/EX1.40/Ex1_40.sce
new file mode 100644
index 000000000..16aaa746b
--- /dev/null
+++ b/3537/CH1/EX1.40/Ex1_40.sce
@@ -0,0 +1,10 @@
+//Example 1_40
+clc();
+clear;
+//To calculate the wavelength of source of light
+betaa=0.30 //units in cm
+d=0.04 //units in cm
+D=180 //units in cm
+lemda=((betaa*d)/D)*10^8
+printf("The wavelength of source of light is %.0f angstroam",lemda)
+//In text book answer is printed wrong as 6700A But the correct answer is 6667 A