summaryrefslogtreecommitdiff
path: root/3648/CH26/EX26.4/Ex26_4.sce
blob: fad10933975b4769be2dbeda4b9e3f7477f433da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Example 26_4
clc();
clear;
//To find the longest wavelength of light capable of ionizing hydrogen atom
//First method
R=1.097*10^7        //Units in meter^-1
lamda=(1/R)*10^9               //Units in meters
//Second method
E=13.6      //units in eV
e1=1      //units in eV
lamda3=1240       //Units in eV
lamda2=(e1/E)*(lamda3)      //Units in nm
printf("The longest wavelength of light capable of ionizing hydrogen atom is lamda=%.1f nm",lamda2)