summaryrefslogtreecommitdiff
path: root/1301/CH18/EX18.10/ex18_10.sce
blob: 28edfa816cc0fd08429e709413719b697c8bc75f (plain)
1
2
3
4
5
6
clc;
m=10^3;      //mass in kg
v=20;        //velocity in m/sec
h=6.63*10^-34;  //planck's constant in J.sec
l=h/(m*v);         //calculating energy
disp(l,"Wavelength in m = ");    //displaying reuslt