summaryrefslogtreecommitdiff
path: root/3768/CH11/EX11.1/Ex11_1.sce
blob: a4b76db197e0fc813549c9ae70f472242176aa72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Example number 11.1, Page number 246

clc;clear;
close;

//Variable declaration
e=1.6*10**-19;     //charge(coulomb)
v=3*10**3;   //velocity of matter wave(m/s)
h=6.6*10**-34;    //plank's constant(Js)
lamda=600*10**-9;    //wavelength(m)
//Calculation
Ej=h*v/lamda;    //matter wave energy(J)
E=Ej/e;      //matter wave energy(eV)
//Result
printf("matter wave energy is %.2e eV",E)
//answer given in the book is wrong