summaryrefslogtreecommitdiff
path: root/1301/CH21/EX21.8/ex21_8.sce
blob: 8ff3f524ca37e546b8b5d0fce74fe659a4be5222 (plain)
1
2
3
4
5
clc;
E=2.18*10^-18;      //energy in Joule
h= 6.626 * 10^-34;
k=1.38*10^-23;      //constant in J/K
disp(E/h,"Frequency in Hz = ");  //displaying result