Wednesday, May 30, 2012

Light and Matter Waves

Purpose:
Using python (spyder) to create a visual representation of light's diffraction.

An example of the code is as follows:
from visual import *
import pylab as p
import mpl_toolkits.mplot3d.axes3d as p3
wavelength = 8.0e-3
scrnDist = 5.0e-2
scrnWdth = 2.4e-2
xs = 0
ys = 0
A = 1
N = 100
dX = scrnDist / N
Xcoords = arange(dX,scrnDist + 2* dX, dX)
dY = scrnDist / N
Ycoords = arange(-scrnDist / 2, scrnDist/2+2 * dY, dY)
[xd, yd] = meshgrid(Xcoords,Ycoords)
r = sqrt((xd - xs)**2 + (yd - ys)**2)
E0 = A * cos(2*pi*r/ wavelength)/r
print Xcoords
print Ycoords
print r
print E0
fig=p.figure()
Efield = p3.Axes3D(fig)
Efield.plot_wireframe(xd,yd,E0)
Efield.set_xlabel('Xd')
Efield.set_ylabel('Yd')
Efield.set_zlabel('E0')
fig2 = p.figure()
p.contour (xd,yd,E0)
p.show()


1.1
Graph visualizing the varying Efield on x,y, and z coordinates. z axis represents the quantity of E0 (E_field)
Wavelength = 4 mm
1.2
Graph of Efield when wavelength is 8mm



This shows that magnitude of E field varies in respect to wavelength. The "ripples" also varies; the higher the wavelength, the smoother the ripples (high wavelength shows no ripples / fat surface)


Contour plot of  fig 1.2

The next part measures and visualizes fields of two point-sources (where interference starts to occur)

The 2 holes-interference is shown as (wavelength = 50 mm to show the "flattening" of the surface):
2.0
Wavelength = 50 mm. Notice the red dot on contour graph, showing the high intensity caused by high wavelength value.

2.1 
Wavelength = 4.0 mm.

Next part will focus on measuring the intensity.
Th wavelength will be modified to 600 nm, screen width 30 mm and distance 50 mm, wand source separation 0.016 mm.

3.0
The 2-D graph of intensity




Tuesday, May 29, 2012

Spectra Lab

Purpose: 
To observe the various color spectra through small slits: to view what a white light is composed of , and to measure the spectra of hydrogen gas. The spectra will be observed by calculating its wavelength obtained by measuring the distance/ separation of each spectra.

Materials: 
White light source
Meter sticks
Diffraction lens
Marker
Various gas (light source)


λ/d = D/(L^2 + D^2)^0.5
or
λ = D * d / (L^2 + D^2)^0.5

λ is the wavelength of each spectrum
D is the distance from light source to observer
d is the distance between the slits
(L^2 + D^2)^0.5 is the distance from observer to the spectrum (forms a triangle)

I. Measuring spectra of white light


White light consists of all colors, as shown above^. The first part of the experiment measures the location of each color to determine the wavelength of each color.
Length is 1.00 m + 0.05 
d is 2*10^-6 m
The colors, in order, are as follows:

Violet Indigo Blue Green Yellow Red
D (m) 0.199 0.223 0.251 0.289 0.303 0.411
λ 3.90346E-07 4.35308E-07 4.86897E-07 5.5528E-07 5.7996E-07 7.6029E-07
λ actual 0.0000004 0.000000445 0.000000475 0.00000051 0.00000059 0.00000065



Calibration graph (y axis = actual value, x axis = observed values)

λ adjusted 3.6766E-07 3.9849E-07 4.33865E-07 4.80753E-07 4.9768E-07 6.21331E-07

The adjusted λ ranges from 370 to 620 nm; this is because the graph itself is not linear. R squared is 0.93, which is far from 1. It is expected to see adjusted λ values that is off from the actual values.
wavelength in nm 390.345995 435.3076116 486.8967555 555.276344 579.9616666 760.2899278

Uncertainty in nm 4.82700251 4.846194215 5.948377766 22.638172 5.019166705 55.14496391


Wavelength with uncertainties: 
λ1 = 390 + 4.8 nm
λ2 = 435 + 4.8 nm
λ3 = 487 + 5.9 nm
λ4 = 555 + 23 nm
λ5 = 580 + 5.0 nm
λ6 = 760 + 55 nm

II. Measuring spectra of unknown gas and hydrogen

The second part of the experiment, an unknown gas and a hydrogen light sources were used. Different light spectra were observed.
(The unknown that was assigned was unknown #3, which was He)


D and wavelength are as follows:
He spectrum observed values:
Violet Blue Green Yellow Red
D (m) 0.216 0.242 0.276 0.324 0.373
λ (nm) 394.1 442.7 505.1 572.9 674.1


Actual values:
Actual
λ (nm) 438.8 447.1 501.6 587.6 667.8


Calibration: y = 0.877x + 74.6 

Uncertainty 22.35 2.2 1.75 7.35 3.15


λ1 = 394.1 + 22.35 nm
λ2 = 442.7 + 2.2 nm
λ3 = 505.1 + 1.75 nm
λ4 = 674.1 + 3.15 nm


Hydrogen Spectrum


Observed values:
Violet Green Yellow Red
D (m) 0.221 0.252 0.282 0.308
λ (m) 4.31586E-07 4.89E-07 5.43E-07 5.89E-07
λ (nm) 432 489 543 589


Actual
λ (nm) 435 520 565 625


Calibration: y = 1.17x - 65.7 

Uncertainty 1.5 15.5 11 18
λ1 = 432 + 1.5 nm
λ2 = 489 + 15.5 nm
λ3 =543 + 11 nm
λ4 = 625 + 18 nm

Conclusion:
The spectra lab measures the different emitted light spectra when light travels through the diffraction gratings (small slits), causing the object (light source) to emit emissions of different wavelengths. The first experiment measures normal white light source. It appears that white light source emits all the visible color. The second and third experiment measures hydrogen and unknown (helium) gas light source. Being different from white light source, the spectra appears to be single lines. The wavelength of each corresponding lines could be measured by finding the distance (D) from the light source. Most of the measurements have uncertainty ranging from 5-20 nm, with few spectra exhibiting uncertainty of >20 nm, and one >50 nm.

Monday, May 28, 2012

Active Physics Lab - Laser

Purpose:
To analyze what's going on inside a laser.

Materials:
Decent computer with java installed
http://wps.aw.com/aw_young_physics_11/13/3510/898597.cw/index.html

Question 1: Absorption
At any given time, the number of photons inputted into the cavity must be equal to the number that have passed through the cavity without exciting an atom plus the number still in the cavity plus the number of excited atoms. Verify this conservation law by stopping the simulation and counting photons.




At any given time, N_in = N_out + n_2 (# atoms in excited state) + #photons in cavity.
In this case, N_out (2) + n_2 (6) + 0 = N_in = 8.


Question 2: Direction of Spontaneous Emission
During spontaneous emission, does there appear to be a preferred direction in which the photons are emitted?



No, the direction of emitted photons appeared to be completely random and having no preferred direction.


Question 3: Lifetime of Excited State
Does there appear to be a constant amount of time in which an atom remains in its excited state?



No. The time an atom stays in excited state is random, because the traveling photons appear to be traveling randomly; whichever atom happens to be in the way of the photon will transition. 

Question 4: Stimulated Emission
Carefully describe what happens when a photon interacts with an excited atom. Pay careful attention to the phase and direction of the subsequent photons. (Can you see why this is called stimulated emission?)





When a photon interacts with an excited atom, the excited atom will transition and emits a photon, emitting a net photon of 2 (incident photon + emitted photon). When those photon group hits another excited atom, that atom will also emits one more photon, emitting 3 net photons. 
Every time a photon(group) interacts with an atom, it will come out having one more photon.


Question 5: Pumping
Approximately what pumping level is required to achieve a population inversion? Remember, a population inversion is when the number of atoms in the excited state is at least as great as the number of atoms in the ground state.



A pumping level of at least 75 is required to have an average of at least as many excited atoms as ground state. 

Question 6: Photon Emission
Although most photons are emitted toward the right in the simulation, occasionally one is emitted in another direction. Are the photons emitted at odd directions the result of stimulated or spontaneous emission?


Spontaneous emission. It cannot be stimulated by stimulated emission because stimulated emission's photons must go the same direction as the incident photons, which is to the right. 
Since spontaneous emission occurs naturally, without external interference, photons emitted from spontaneous emission could go to any direction. 
Consequently however, a spontaneous- stimulated emission could also cause the emitted photon to travel to any directions, although the probability of this happening is relatively small.

Active Physics lab - Relativity

Purpose:
To further analyze Einstein's 2nd postulate, which leads to relativity; which states that no object travels faster than speed of light.

Material:
A working laptop with internet connection and java.
Website: http://wps.aw.com/aw_young_physics_11/13/3510/898597.cw/index.html
'
Questions were to be answered from section 17.1 and 17.2


17.1
Question 1: Distance traveled by the light pulse
How does the distance traveled by the light pulse on the moving light clock compare to the distance traveled by the light pulse on the stationary light clock?



Distance traveled by light on moving clock is "slower" than stationary clock.
In fact, it is off by γ factor, which was set to be 1.45. (Light on moving travels 1.45 times slower to an outside observer)


Question 2: Time interval required for light pulse travel, as measured on the earth
Given that the speed of the light pulse is independent of the speed of the light clock, how does the time interval for the light pulse to travel to the top mirror and back on the moving light clock compare to on the stationary light clock?



γ was set to be 1.41. The time on stationary was 6.67 and moving 9.40. 9.40s and 6.67s were related by a factor of 1.41, which was the value of constant.

 Question 3: Time interval required for light pulse travel, as measured on the light clock
Imagine yourself riding on the light clock. In your frame of reference, does the light pulse travel a larger distance when the clock is moving, and hence require a larger time interval to complete a single round trip?


No, the time in moving time reference does not differ from the time of rest frame. Although according to stationary observer, light travels slower.

Question 4: The effect of velocity on time dilation
Will the difference in light pulse travel time between the earth's timers and the light clock's timers increase, decrease, or stay the same as the velocity of the light clock is decreased?


The difference in light travel time is slower (decreased) as velocity is decreased. (As v -> 0, γ -> 1).

Question 5: The time dilation formula
Using the time dilation formula, predict how long it will take for the light pulse to travel back and forth between mirrors, as measured by an earth-bound observer, when the light clock has a Lorentz factor (γ) of 1.2.

Δt = γΔtproper

1.2 = γ
1.2 = 1/(1-v^2/c^2)^0.5
solving for v yields
v = c/1.2 * (1.2^2 - 1)^0.5
v = 165,831,239.52 m/s

Question 6: The time dilation formula, one more time
If the time interval between departure and return of the light pulse is measured to be 7.45 µs by an earth-bound observer, what is the Lorentz factor of the light clock as it moves relative to the earth?

Solving for γ, 
γ = Δt / (Δt + 7.45μs)


17.2

Question 1: Round-trip time interval, as measured on the light clock
Imagine riding on the left end of the light clock. A pulse of light departs the left end, travels to the right end, reflects, and returns to the left end of the light clock. Does your measurement of this round-trip time interval depend on whether the light clock is moving or stationary relative to the earth?


Yes. The length "contracts" as the object travels relatively "fast." The faster the object moves (the closer its constant velocity to the speed of light, the shorter the distance / length is).

Question 2: Round-trip time interval, as measured on the earth
Will the round-trip time interval for the light pulse as measured on the earth be longer, shorter, or the same as the time interval measured on the light clock?


Depends on whose frame of reference is measuring it. In the frame of the traveling clock, the time will be the same as the stationary one measured by a stationary observer. If the time of traveling clock is measured by a stationary observer, then: 1. length/ distance will appear shorter/ less, and 2, time it takes for the light to travel will be longer.

Question 3: Why does the moving light clock shrink?
You have probably noticed that the length of the moving light clock is smaller than the length of the stationary light clock. Could the round-trip time interval as measured on the earth be equal to the product of the Lorentz factor and the proper time interval if the moving light clock were the same size as the stationary light clock?

γ was set to be 1.41. Time was 6.61, while time proper was 9.50. They were off by γ factor, or 1.41 (refer back to time dilation). Since distance/ length is velocity * time, since time is longer in a moving object and it must always equal to velocity v (constant), then distance must decrease proportionally (by factor of γ).
Yes, the time interval as measured by earth (rest frame) is equal to lorentz factor γ times proper time interval (moving), hence Δt = γ(Δt_p)

Question 4: The length contraction formula
A light clock is 1000 m long when measured at rest. How long would earth-bound observer's measure the clock to be if it had a Lorentz factor of 1.3 relative to the earth?

L_p = 1000m
γ = 1.3
L = (L_p)/γ
L = 769.23 m