summaryrefslogtreecommitdiff
path: root/3875/CH12/EX12.2/Ex12_2.sce
blob: 0b6c6fb2bee2ba3fa4a519d62c0757cbd083bb3a (plain)
1
2
3
4
5
6
7
8
9
10
11
clc;
clear;
h=6.63*10^-34 //Plancks constant in J-s
m=9.1*10^-31 //mass in kg
L=10^-9 //potential width in m
c=3*10^8 //velocity of light in m/s

//calculation
lambda=(8*m*c*L^2)/(27*h)
mprintf("The wavelength of radiation emitted is %1.2e m or 122 nm",lambda)
//The answer varies due to round off error.