summaryrefslogtreecommitdiff
path: root/3014/CH1/EX1.25/Ex1_25.sce
blob: 80898b4013909b37084704f6a0611d70e5b8befa (plain)
1
2
3
4
5
6
7
8
9
10

clc 
//Given that
lambda = 5890 // wavelength of yellow radiation in angstrom
m = 9.1e-31 // Mass of neutron in Kg
h = 6.63e-34 // Plank constant
printf("Example 1.25")
v = h/(lambda*1e-10*m) // velocity of electron in ground state
printf("\n Velocity of electron in ground state is %e m/s.\n\n\n",v)
// Answer in book is 1.24e3 m/s