summaryrefslogtreecommitdiff
path: root/3769/CH22/EX22.7/Ex22_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH22/EX22.7/Ex22_7.sce')
-rw-r--r--3769/CH22/EX22.7/Ex22_7.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH22/EX22.7/Ex22_7.sce b/3769/CH22/EX22.7/Ex22_7.sce
new file mode 100644
index 000000000..4fdb1277a
--- /dev/null
+++ b/3769/CH22/EX22.7/Ex22_7.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+l1=5890*10**-10 //m
+l2=5896*10**-10
+d=2.0*10**-6 //m
+D=2 //m
+
+//Calculation
+x=(3*D*(l2-l1))/(2*d)
+
+//Result
+printf("\n Spacing between the first maxima of two sodium lines is %0.3f *10**-4 m",x*10**4)