summaryrefslogtreecommitdiff
path: root/1427/CH19/EX19.9/19_9.sce
blob: b5217da380efa3286486460a511c5734b9d6b8ff (plain)
1
2
3
4
5
6
7
8
9
//ques-19.9
//Calculating kinetic energy of a moving electron
clc
w=4.8;//wavelength (in pm)
m=9.11*10^-31;//mass of electron (in kg)
h=6.63*10^-34;//(in Js)
v=h/(m*w*10^-12);//velocity of electron (in m/s)
KE=(1/2)*m*v^2;
printf("The kinetic energy of the electron is %.3f*10^-14 J.",KE*10^14);