summaryrefslogtreecommitdiff
path: root/1694/CH2/EX2.8/EX2_8.sce
blob: 5ba3e0815b11ea9804d1e4536e36ab74b6832bc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clear;
clc;
printf("\nEx2.7\n");
//page no.-57
//given
m=1.66*10^-24;..........//mass of proton in gm
e=4.8*10^-10;.............//charge in e.s.u.
h=6.62*10^-27;.............//planck's constant in erg-sec
E=1.6*10^-7;.............//energy in ergs
//we knoe , E=m*v^2/2

v=sqrt((2*E)/m);..........//velocity in m/s
//By debroglie relationship

lambda=h/sqrt(2*m*E)...........//wavelength in cm

printf("\nwavelength is 9.08*10^-14 m\n");