Skip to content

Commit 39d42fb

Browse files
committed
Adding Wolfe Chapter 27, Wave Optics
1 parent b2f384b commit 39d42fb

File tree

103 files changed

+7182
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+7182
-0
lines changed
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
##DESCRIPTION
2+
# originally written by Brandon Lostracco and Sara Hesse, Brock University, 2018
3+
# cleaned up, added solution and re-written to use NumberWithUnits
4+
##ENDDESCRIPTION
5+
6+
## DBsubject(Optics)
7+
## DBchapter(Wave Optics)
8+
## DBsection(The Wave Aspect of Light Interference)
9+
## Date(December 2021)
10+
## Institution(Keele University)
11+
## Author(Boyd Duffee)
12+
## TitleText1('College Physics')
13+
## AuthorText1('Wolfe et. al')
14+
## EditionText1('2015')
15+
## Section1('27.1')
16+
## Problem1('1')
17+
## MO(1)
18+
## KEYWORDS('wavelength')
19+
20+
DOCUMENT();
21+
loadMacros(
22+
'PGstandard.pl',
23+
'MathObjects.pl',
24+
);
25+
26+
TEXT(beginproblem());
27+
Context("Numeric")->flags->set( tolerance => 0.005 );
28+
29+
$showPartialCorrectAnswers = 1;
30+
$showHint = 3;
31+
32+
($medium, $index) = @{ list_random(
33+
[water => 1.333],
34+
[ethanol => 1.361],
35+
[fluorite => 1.434],
36+
[glycerine => 1.473],
37+
[benzene => 1.501],
38+
['crown glass' => 1.52],
39+
['sodium chloride' => 1.544],
40+
['flint glass' => 1.66],
41+
[zircon => 1.923],
42+
[diamond => 2.419],
43+
) };
44+
45+
$decrease = Real( 1/$index );
46+
ANS( $decrease->cmp );
47+
48+
49+
BEGIN_TEXT
50+
51+
When light passes from air to $medium,
52+
its wavelength decreases by how much of its original value?
53+
The index of refraction for $medium is \( \eta = $index\)
54+
$PAR
55+
\(\lambda_n = \) \{ans_rule(15)\}
56+
57+
END_TEXT
58+
59+
60+
BEGIN_HINT
61+
What is the index of refraction for $medium?
62+
END_HINT
63+
64+
BEGIN_SOLUTION
65+
$PAR $BBOLD SOLUTION $EBOLD $PAR
66+
67+
\( \displaystyle \lambda_{\textrm{$medium}} = \frac{1}{\eta} \lambda_{air}
68+
= \frac{1}{$index} \lambda_{air}
69+
= $decrease \ \lambda_{air}
70+
\)
71+
72+
END_SOLUTION
73+
74+
75+
ENDDOCUMENT();
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
##DESCRIPTION
2+
# originally written by Brandon Lostracco and Sara Hesse, Brock University, 2018
3+
# cleaned up, added solution and re-written to use NumberWithUnits
4+
##ENDDESCRIPTION
5+
6+
## DBsubject(Optics)
7+
## DBchapter(Wave Optics)
8+
## DBsection(The Wave Aspect of Light Interference)
9+
## Date(December 2021)
10+
## Institution(Keele University)
11+
## Author(Boyd Duffee)
12+
## TitleText1('College Physics')
13+
## AuthorText1('Wolfe et. al')
14+
## EditionText1('2015')
15+
## Section1('27.1')
16+
## Problem1('2')
17+
## MO(1)
18+
## KEYWORDS('wavelength','refraction')
19+
20+
DOCUMENT();
21+
loadMacros(
22+
'PGstandard.pl',
23+
'parserNumberWithUnits.pl',
24+
);
25+
26+
TEXT(beginproblem());
27+
Context("Numeric")->flags->set( tolerance => 0.005 );
28+
29+
$showPartialCorrectAnswers = 1;
30+
$showHint = 3;
31+
32+
33+
$medium = list_random(
34+
[fluorite => 1.434],
35+
['crown glass' => 1.52],
36+
['flint glass' => 1.66],
37+
[zircon => 1.923],
38+
[diamond => 2.419],
39+
);
40+
($name, $index) = ($medium->[0], Real($medium->[1]));
41+
42+
$blue = NumberWithUnits( random(380, 400, 10), 'nm');
43+
$red = NumberWithUnits( random(700, 760, 10), 'nm');
44+
$blue_new = $blue / $index;
45+
$red_new = $red / $index;
46+
47+
ANS( $blue_new->cmp );
48+
ANS( $red_new->cmp );
49+
50+
51+
Context()->texStrings;
52+
BEGIN_TEXT
53+
54+
Find the range of visible wavelengths of light in $name.
55+
\{ ucfirst $name \} has an index of refraction equal to $index
56+
and visible light has a wavelength range from \($blue\) to \($red\).
57+
$PAR
58+
\{ans_rule(15)\} to \{ans_rule(15)\}
59+
60+
END_TEXT
61+
62+
63+
BEGIN_HINT
64+
How would you expect wavelength to change, if at all, when entering a substance with a higher index of refraction from a lower index?
65+
END_HINT
66+
67+
BEGIN_SOLUTION
68+
$PAR $BBOLD SOLUTION $EBOLD $PAR
69+
70+
The wavelength of blue light in $name is \( \displaystyle \lambda = \frac{$blue}{$index} = $blue_new \).
71+
$PAR
72+
The wavelength of red light in $name is \( \displaystyle \lambda = \frac{$red}{$index} = $red_new \).
73+
74+
END_SOLUTION
75+
76+
77+
COMMENT('Uses NumberWithUnits');
78+
ENDDOCUMENT();
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
##DESCRIPTION
2+
# originally written by Brandon Lostracco and Sara Hesse, Brock University, 2018
3+
# cleaned up, added solution and re-written to use NumberWithUnits
4+
##ENDDESCRIPTION
5+
6+
## DBsubject(Optics)
7+
## DBchapter(Wave Optics)
8+
## DBsection(The Wave Aspect of Light Interference)
9+
## Date(December 2021)
10+
## Institution(Keele University)
11+
## Author(Boyd Duffee)
12+
## TitleText1('College Physics')
13+
## AuthorText1('Wolfe et. al')
14+
## EditionText1('2015')
15+
## Section1('27.1')
16+
## Problem1('3')
17+
## MO(1)
18+
## KEYWORDS('refraction')
19+
20+
DOCUMENT();
21+
loadMacros(
22+
'PGstandard.pl',
23+
'parserNumberWithUnits.pl',
24+
);
25+
26+
TEXT(beginproblem());
27+
Context("Numeric")->flags->set( tolerance => 0.005 );
28+
29+
$showPartialCorrectAnswers = 1;
30+
$showHint = 3;
31+
32+
$a = random(0.2,0.9,0.001);
33+
34+
$index = Real(1 / $a);
35+
ANS( $index->cmp );
36+
37+
38+
Context()->texStrings;
39+
BEGIN_TEXT
40+
41+
What is the index of refraction of a material for which the wavelength of light is \($a\) times its value in a vacuum?
42+
$PAR
43+
\( \eta = \) \{ans_rule(15)\}
44+
45+
END_TEXT
46+
47+
48+
BEGIN_HINT
49+
How would you find wavelength when a substance is entering a substance of higher refractive index.
50+
END_HINT
51+
52+
BEGIN_SOLUTION
53+
$PAR $BBOLD SOLUTION $EBOLD $PAR
54+
55+
\( \displaystyle \eta = \frac{1}{$a} = $index \)
56+
57+
END_SOLUTION
58+
59+
60+
ENDDOCUMENT();
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
##DESCRIPTION
2+
# originally written by Brandon Lostracco and Sara Hesse, Brock University, 2018
3+
# cleaned up, added solution and re-written to use NumberWithUnits
4+
##ENDDESCRIPTION
5+
6+
## DBsubject(Optics)
7+
## DBchapter(Wave Optics)
8+
## DBsection(The Wave Aspect of Light Interference)
9+
## Date(December 2021)
10+
## Institution(Keele University)
11+
## Author(Boyd Duffee)
12+
## TitleText1('College Physics')
13+
## AuthorText1('Wolfe et. al')
14+
## EditionText1('2015')
15+
## Section1('27.1')
16+
## Problem1('4')
17+
## MO(1)
18+
## KEYWORDS('wavelength','refraction')
19+
20+
DOCUMENT();
21+
loadMacros(
22+
'PGstandard.pl',
23+
'parserNumberWithUnits.pl',
24+
);
25+
26+
TEXT(beginproblem());
27+
Context("Numeric")->flags->set( tolerance => 0.005 );
28+
29+
$showPartialCorrectAnswers = 1;
30+
$showHint = 3;
31+
32+
$lambda_solid = NumberWithUnits( random(380, 500, 0.1), 'nm');
33+
$lambda_air = NumberWithUnits( random(501, 760, 0.1), 'nm');
34+
$index = Real($lambda_air->value / $lambda_solid->value);
35+
ANS( $index->cmp );
36+
37+
38+
Context()->texStrings;
39+
BEGIN_TEXT
40+
41+
Analysis of an interference effect in a clear solid shows that
42+
the wavelength of light in the solid is \($lambda_solid\).
43+
Knowing this light comes from a He-Ne laser and has a wavelength of \($lambda_air\) in air,
44+
find the index of refraction.
45+
$PAR
46+
\( \eta = \) \{ans_rule(15)\}
47+
48+
END_TEXT
49+
50+
51+
BEGIN_HINT
52+
How would you calculate wavelength as light passes into a different refractive index?
53+
END_HINT
54+
55+
BEGIN_SOLUTION
56+
$PAR $BBOLD SOLUTION $EBOLD $PAR
57+
58+
\( \displaystyle \eta = \frac{\lambda_{air}}{\lambda_{solid}}
59+
= \frac{$lambda_air}{$lambda_solid}
60+
= $index
61+
\)
62+
63+
END_SOLUTION
64+
65+
66+
ENDDOCUMENT();
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
##DESCRIPTION
2+
# originally written by Brandon Lostracco and Sara Hesse, Brock University, 2018
3+
# cleaned up, added solution and re-written to use NumberWithUnits
4+
##ENDDESCRIPTION
5+
6+
## DBsubject(Optics)
7+
## DBchapter(Wave Optics)
8+
## DBsection(The Wave Aspect of Light Interference)
9+
## Date(December 2021)
10+
## Institution(Keele University)
11+
## Author(Boyd Duffee)
12+
## TitleText1('College Physics')
13+
## AuthorText1('Wolfe et. al')
14+
## EditionText1('2015')
15+
## Section1('27.1')
16+
## Problem1('5')
17+
## MO(1)
18+
## KEYWORDS('refraction')
19+
20+
DOCUMENT();
21+
loadMacros(
22+
'PGstandard.pl',
23+
'parserNumberWithUnits.pl',
24+
);
25+
26+
TEXT(beginproblem());
27+
Context("Numeric")->flags->set( tolerance => 0.005 );
28+
29+
$showPartialCorrectAnswers = 1;
30+
$showHint = 3;
31+
32+
$liquid = list_random(
33+
{name => 'water', index => 1.333},
34+
{name => 'ethanol', index => 1.361},
35+
{name => 'glycerine', index => 1.473},
36+
{name => 'benzene', index => 1.501},
37+
);
38+
$solid = list_random(
39+
{name => 'crown glass', index => 1.52},
40+
{name => 'sodium chloride', index => 1.544},
41+
{name => 'flint glass', index => 1.66},
42+
{name => 'zircon', index => 1.923},
43+
{name => 'diamond', index => 2.419},
44+
);
45+
46+
$ratio = Real($liquid->{index} / $solid->{index});
47+
ANS( $ratio->cmp );
48+
49+
50+
Context()->texStrings;
51+
BEGIN_TEXT
52+
53+
What is the ratio of thicknesses of $solid->{name} and $liquid->{name} would contain
54+
the same number of wavelengths of light?
55+
\{ ucfirst $solid->{name} \} has an index of refraction equal to \($solid->{index}\)
56+
and $liquid->{name} has an index of refraction equal to \($liquid->{index}\).
57+
$PAR
58+
ratio = \{ans_rule(15)\}
59+
60+
END_TEXT
61+
62+
63+
BEGIN_HINT
64+
Is there a formula regarding index of refraction which may be used to form a ratio?
65+
Keep in mind, when creating ratios you want to be able to divide out unknowns.
66+
END_HINT
67+
68+
BEGIN_SOLUTION
69+
$PAR $BBOLD SOLUTION $EBOLD $PAR
70+
71+
ratio \( \displaystyle = \frac{\lambda_{ $liquid->{name} }}{\lambda_{ $solid->{name} }}
72+
= \frac{ $liquid->{index} }{ $solid->{index} }
73+
= $ratio
74+
\)
75+
76+
END_SOLUTION
77+
78+
79+
ENDDOCUMENT();

0 commit comments

Comments
 (0)