Tuesday, December 6, 2011

LED Spectra: Plank's Constant Lab

The purpose of this lab is to use four different colored LEDs to arrive at a value for Plank's constant. The lab setup will be similar to the spectral line lab. The LED light will be viewed through a diffraction grating of 300 slits/cm that is 191.5 cm away. The spectral line will be viewed some distance away from the light source. Furthermore, voltage across the LED will be measured. The angle will be determined with the tangent inverse. With the Angle determined then the diffraction equation can be used to determine wavelength. Once wavelength and voltage is obtained for every LED, then a plot will be made of voltage vs. 1/(wavelength).


Diffraction Equation
Part of the lab setup. The LED can been seen here.
The setup from the point of view from the diffraction grating.




Data and Interpolation:




LED d (cm) Uncertainty (cm) d - 2 (cm) d + 2 (cm)
Blue 28.4 2 26.4 30.4
Green 31.6 2 29.6 33.6
Yellow 33.9 2 31.9 35.9
Red 36.3 2 34.3 38.3




LED Theta (degrees) Propagated Uncertainty Theta Min (degrees) Theta Max (degrees)
Blue 0.14722975 0.010203 0.13699549 0.15743304
Green 0.16353933 0.01015 0.15335557 0.17368897
Yellow 0.17520836 0.010108 0.165064 0.18531642
Red 0.18733351 0.010062 0.17723294 0.19739556




LED Wavelength (nm) Wavelength Uncertainty Wavelength Min (nm) Wavelength Max (nm)
Blue 488.994741 33.8 455.194741 522.794741
Green 542.704407 33.5 509.204407 576.204407
Yellow 581.044372 33.3 547.744372 614.344372
Red 620.799083 33.1 587.699083 653.899083




LED 1/Wavelength (1/nm) Voltage (v)
Blue 0.002045012 2.59
Green 0.001842624 2.46
Yellow 0.001721039 1.88
Red 0.001610827 1.81





With the data interpolated and the plot made, the value for the slope came out to be 4770 v*nm. By dividing by the value for the speed of light and then multiplying by the charge of the electron, the experimental value for plank's constant came out to be 2.544*10^(-33). Despite the value coming close to the actual value of plank's constant, the percent difference is 283%.  The uncertainty propagated to a large difference in the plot.  The small angle approximation is also of a small concern for the diffraction equation due to the angles. It is also worth mentioning that if the linear fit was taken to the extreme uncertainty, that fit would yield a shallower slope. This would result in a smaller percent difference.


To further address the lab, the colors that seemed to deviate the most were red and blue. This is likely due to the energies associated with those wavelengths. The voltage increased with the energy of the LED wavelength I.E. red had the lowest voltage where blue had the highest voltage. The non primary color LEDs seemed to be a bit blurry between spectral lines. This is due to those LEDs utilizing primary colors to exhibit tertiary colors.

Monday, November 28, 2011

Continuous Spectrums and Line Spectra






The purpose of this lab was to explore continuous specturms and line spectra In three different scenarios. The first case will be a white light bulb with a continuous spectrum; in this case, the continuous spectrum will be measured and analyzed against known values. The second case, an unknown glass tube will be used to create spectral lines. From measuring those spectral lines, it will be possible to determine what the unknown gas is. The third case will be spectral lines created from a hydrogen tube. The lines from the hydrogen tube will be analyzed and compared to known values for hydrogen spectral lines.


The set up consisted of a light source (bulbs or gas tubes), two rulers and a diffraction grating. The diffraction grating was used to split the continuous spectrum or spectral lines. The split colors then showed up on the ruler that is perpendicular to the other ruler. 

The lab set up.
Mysterious green glowing light of doom...... It draws you in......You must obey!














































































Data for continuous spectrum.



Start (cm) End (cm) Center (cm)
purple 37.1 41 39.05
blue 41 51.9 46.45
green 51.9 56.5 54.2
yellow 56.5 60.2 58.35
orange 60.2 64.5 62.35
red 64.5 76.1 70.3




Theta (degrees) Wavelength (nm)
purple 12 365
blue 14.2 431
green 16.2 491
yellow 17.3 523
orange 18.4 555
red 20.4 613


The length from the diffraction grating to the light source was 2.0 m. The angles were obtained using the tangent inverse with the distances from the center of each color to the light source and the two meter distance from the diffraction grating to the light source.The uncertainty in the measurements is on the order of +/- 2.0 cm; however, the uncertainty will be addressed with a linear adjustment to the experimental values. There is also error associated with the math used to obtained wavelength. The equation used to obtain the wavelength is the diffraction equation. 


The diffraction equation uses a small angle approximation. As can be seen in the data, the angle obtained from this setup is not relatively small; hence, the values will be significantly off and require a linear adjustment.The linear adjustment is a "best guess" rather than an actual linear fit to data points. The equation used for the first set of data is:



 Data with adjustments and comparison to known values.




Wavelength Measured (nm) Wavelength Adjusted (nm) Wavelength Actual (nm) % Difference
purple 365 418 400 4.5
blue 431 497.2 475 4.67
green 491 569.2 510 11.61
yellow 523 607.6 570 6.6
orange 555 646 590 9.5
red 613 715.16 650 10.1


After using the linear adjustment, all the experimental values fall within an acceptable range of known values.The percent difference for some wavelengths border on unacceptable; however, this can be attributed to an estimated linear correction.



 Data for unknown gas tube.



Spectral Line Center (cm) Theta (degrees)  Wavelength (nm)
indigo 46.3 13.6 413
green 58.2 16.8 507
yellow 64 18.3 551

Based off of the most visible spectral lines, the unknown gas is determined to be mercury. The wavelength values for the mercury spectra will be used in the data analysis.  A plot of of actual values vs measured values for wavelength was made to determine a linear correction factor. The equation for the line of the following graph is used to adjust the measured values. 





 The linear correction obtained from the actual wavelength vs measured wavelength plot is:



Spectral Line Wavelength Measured (nm) Wavelength Adjusted (nm) Wavelength Actual (nm) % Difference
indigo 413 433.565 430 0.829069767
green 507 536.495 548 2.099452555
yellow 551 584.675 577 1.330155979

After the correction, the data falls within an acceptable range of difference; furthermore, with these values matching so well the claim of the unknown gas being mercury is reasonably valid.






Data for hydrogen spectra.



Spectral Line Center (cm) Theta (degrees)  Wavelength (nm)
violet 46.5 13.6 415
blue 50.6 14.7 448
red 70.8 20 602


Plot of known vs unknown wavelength for linear correction.





Linear adjustment equation:





Spectral Line Wavelength Measured (nm) Wavelength Adjusted (nm) Wavelength Actual (nm) % Difference
violet 415 440.095 434 1.40437788
blue 448 478.408 486 1.562139918
red 602 657.202 656 0.183231707


The slope is a bit larger than the previous linear equations used for adjustment. This is due to a larger error associated with the measured wavelength. However, the data still falls within an acceptable range of difference for this set up.

Computational Programing: Visualizing Wave Packets

This is a computational project to help understand probability distributions and wave natures of particles. By adding a bunch of sinusoid together, it's possible to arrive at a probability distribution for a particle. The proceeding text and pictures are code (python) being used in the mathematical model and images of the program in work. Following the final stage of the model and pictures, a series of questions will be addressed.




Code (in python)

from pylab import *
#Define constantsConstants
w=1 #sets the frequancey coefficient
Fourier_Series=[] #initialize the list of sine functions
sigma = 10
coeff = 1
numberofharmonics=50
center = numberofharmonics/2
#Calculate the harmonics of the sine functions

for i in range(1,50):#every time the loop repeats this will change the harmonic
    x = [] # plots from -pi to +pi
    gauss = coeff*exp(-(i-center)**2/(2.*sigma**2))#Define the amplitude of the sin function
    sin_list = [] #this includes the sine functions
    for t in arange (-3.14, 3.14, 0.01): # create tsh range of the graph and incriments
        sine= gauss*sin(i*w*t) #the function to be plotted
        sin_list.append(sine) # Adds the calculated vale from the sine function to the list appendex
        x.append(t)
    #plot(x,sin_list)# plots values
#show()

    Fourier_Series.append(sin_list)
superposition = zeros(len(sin_list))
for function in Fourier_Series:
    for i in range(len(function)):
        superposition[i]+=function[i]
plot(x,superposition)
show()

An early step in the program showing waves of different types.
Further along in the program with many waves displayed.
The envelope for the waves.
The program with a limiting factor included to make the wave superposition approach zero.

The final result: a super position of many waves limited to a given region, this can model wave packets. 

Questions:

Click to Enlarge.

A)
Taken from Mastering Physics.

 B)
Taken from Mastering Physics

C) 1.00 L

D) 2.00 L

E) Duplicate Question.

F) h, plank's constant is the answer.

G) h, plank's constant is the answer.

H)The questions in part F and G tie in strongly to the Uncertainty Principle. Both answers for part F and part G come out to be h. This shows there is a constraint on the accuracy to position and momentum which shows a strong parallel to the Uncertainty Principle.