summaryrefslogtreecommitdiff
path: root/2708/CH16/EX16.6/ex_16_6.sce
blob: 200b88673f9dbace6b018086bdd1f2421758a19f (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 16.6 //energy of photoelectrons emitted
clc;
clear;
//given data :
h=6.62D-34;// plank's constant in joules-sec
c=3D8;//speed of ight
lamda=6D-7;// Threshlod wavelength in m
v=6D14;// frequency  in Hz
E=h*(v-c/lamda);// energy in joules
E=E/1.6D-19;// to convert in eV
disp(E,"energy of electrons emitted in eV")