Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Light: waves or particles? In 1678, Christiaan Huygens wrote the book Traité de la lumiere ("Treatise on light")

Light: waves or particles? In 1678, Christiaan Huygens wrote the book Traité de la lumiere ("Treatise on light")

Computer Science

Light: waves or particles?

In 1678, Christiaan Huygens wrote the book Traité de la lumiere ("Treatise on light"). He believed that light was made up of waves. He said that light could not be made up of particles because light from two beams do not bounce off each other. In 1672, Isaac Newton wrote the book Opticks. He believed that light was made up of red, yellow and blue particles which he called corpusles. Newton explained this by his "two prism experiment". The first prism broke light up into different colours. The second prism merged these colours back into white light.

During the 18th century, Newton's theory was given the most attention. In 1803, Thomas Young described the "double-slit experiment". In this experiment, light going through two narrow slits interferes with itself. This causes a pattern which shows that light is made up of waves. For the rest of the nineteenth century, the wave theory of light was given the most attention. In the 1860s, James Clerk Maxwell developed equations that described electromagnetic radiation as waves.

 

 
   

The theory of electromagnetic radiation treats light, radio waves, microwaves and many other types of wave as the same thing except that they have different wavelengths. The wavelength of the light we can see with our eyes is roughly between 400 and 600 nm. The wavelength of radio waves varies from 10 m to 1500 m and the wavelength of microwaves is about 2 cm. In a vacuum, all electromagnetic waves travel at the speed of light. The frequency of the electromagnetic wave is given by:

 

c

Quantum theory of light

It turns out that electrons are dislodged by the photoelectric effect if light reaches a threshold frequency. Below this no electrons can be emitted from the metal. In 1905 Albert Einstein published a paper explaining the effect. Einstein proposed that a beam of light is not a wave propagating through space, but rather a collection of discrete wave packets (photons), each with energy. Einstein said that the effect was due to a photon striking an electron. This demonstrated the particle nature of light.

Einstein also found that electromagnetic radiation with a long wavelength had no effect. Einstein said that this was because the "particles" did not have enough energy to disturb the electrons.

Einstein realized that the energy of each photon was related to the photon frequency by the Planck constant. This could be written mathematically as:

hc

 

hc

In 1921 Einstein received the Nobel Prize for linking the Planck constant to the photoelectric effect.

Colour of light emitting diodes

In the electric circuit shown on the right, the voltage drop across the light emitting diode (LED) depends on the material of the LED. For silicon diodes the drop is 0.6 V. However for LEDs it is between 1.8 V and 2.7 V. This information enables a user to calculate the Planck constant.

 

       
   
 

               
   
     
 
 

The energy needed for one electron to jump the potential barrier in the LED material is given by

 

E = QeVL

Simple LED circuit that illustrates use of the Planck where constant. The colour of the light emitted depends on the voltage drop across the diode. The wavelength of Qe is the charge on one electron. VL is the voltage drop the light can be calculated using the Planck constant. across the LED.

When the electron decays back again, it emits one photon of light. The energy of the photon is given by the same equation used in the photoelectric effect. If these equations are combined, the wavelength of light and the voltage are related by

hc

VLQe

The table below can be calculated from this relationship.

Colour 

Wavelength (nm)

Voltage

red light

650

1.89

green light

550

2.25

blue light

470

     2.62

 

The symbols are defined here:

Symbol Meaning Energy h Planck constant c speed of light wavelength frequency

Write a program that will calculate the energy of a particular type of light given its wavelength in nm (nanometers). Demonstrate the program by displaying the energy, in ev (electron volt) with four decimal places, of red, green and blue light in a table, then allow the user to specify a wavelength.

Define global constants for Planck's constant and the speed of light. Use a single variable to store the red wavelength, then replace the value with the green wavelength, then replace the value with the blue wavelength, and finally, replace the value with the user specified wavelength. Use a single variable for the light's energy as well.

The visible spectrum for the typical human eye is wavelengths from 380 to 740 nm. You can expect any user to enter values only within this range.

You can use an online calculator, such as this photon energy calculator, to verify your calculations. 

After you have throughly tested your application and verified the calculations, we now want to be able to calculate and output to a file. Add code to the final portion of your program to accept in a file name

"wavelengths.txt". This file will contain 5 values describing particular wavelengths. You are to read in and process these values, and then write the wavelength as well as the calculated ev with 4 decimal places to the file "calculations.txt". The wavelength and calculated ev are to be printed on the same line seperated by a single space, however each pair should be presented on it's own line.

Example:

389 3 . 1873 728 1 .7008

645 1 . 9222

555 2 .2340

402 3 . 0842

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE