summaryrefslogtreecommitdiff
path: root/3717/CH3/EX3.3/Ex3_3.sce
blob: 207b3290d3ec168af8be321a6e3d7d288df050dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Ex3_3 Page:48 (2014)
clc; clear;
h = 6.626e-034; // Planck's constant, Js
c = 3e+08;  // Speed of light in vacuum, m/s
e = 1.6e-019;   // Charge on an electron, C
T = 10.5;   // Kinetic energy of ejected electron, eV
E = 13.6 + T;   // Energy of the photon, eV
lambda = h*c/(E*e); // Wavelength of incident photon from Planck's Quantum relation, m
printf("\nWavelength of the photon that would ionize a hydrogen atom = %5.2f nm", lambda/1e-09);

// Result
// Wavelength of the photon that would ionize a hydrogen atom = 51.55 nm