summaryrefslogtreecommitdiff
path: root/3701/CH2/EX2.3/Ex2_3.sce
blob: 541a101a166647d6f886c45d389e1716337ab3b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
////Given
a=3.2                                    //ev
energy=3.8                               //ev
e=1.6*10**-19

//Calculation
c=energy-a
Energy=c*e

//Result
printf("\n Kinetic energy of the photoelectron is given by  %e Joule",Energy)