Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in c++ please answer questions and explain how you solved same equation used in the photoelectric effect. If these equations are combined, the wavelength of

in c++ please answer questions and explain how you solved image text in transcribed
same equation used in the photoelectric effect. If these equations are combined, the wavelength of light and the voltage are related by hc X= V.Qe The table below can be calculated from this relationship. Colour red light green light blue light Wavelength (nm) 650 550 470 Voltage 1.89 2.25 2.62 The symbols are defined here CO Symbol Meaning E Energy h Planck constant 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 specity 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 This assignment will be graded using the grading criteria categories ICI.Q.IS) and ID for a total of 20 points

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books

Students also viewed these Databases questions

Question

What is polarization? Describe it with examples.

Answered: 1 week ago

Question

You have to agree that 50,000,000 U.S. citizens cannot be wrong.

Answered: 1 week ago