summaryrefslogtreecommitdiff
path: root/3845/CH30/EX30.1/Ex30_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH30/EX30.1/Ex30_1.sce')
-rw-r--r--3845/CH30/EX30.1/Ex30_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3845/CH30/EX30.1/Ex30_1.sce b/3845/CH30/EX30.1/Ex30_1.sce
new file mode 100644
index 000000000..0c3e66c6e
--- /dev/null
+++ b/3845/CH30/EX30.1/Ex30_1.sce
@@ -0,0 +1,13 @@
+//Example 30.1
+n_f=2;//For Balmer series
+n_i=4;//For second line of Balmer series
+R=1.097*10^7;//Rydberg constant (m^-1)
+lambda=1/[R*(1/n_f^2-1/n_i^2)];//Wavelength equation (m)
+printf('a.Wavelength corresponding to second line of Balmer series = %0.1f nm',lambda*10^9)
+m=1;//Order of interference
+theta=15;//Angle from the original beam direction (deg)
+d=m*lambda/sind(theta);
+printf('\nb.Distance between slits = %0.2e m',d)
+//Answer varies due to round off error
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest