From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1958/CH17/EX17.1/Chapter17_example1.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 1958/CH17/EX17.1/Chapter17_example1.sce (limited to '1958/CH17/EX17.1') diff --git a/1958/CH17/EX17.1/Chapter17_example1.sce b/1958/CH17/EX17.1/Chapter17_example1.sce new file mode 100755 index 000000000..296858a88 --- /dev/null +++ b/1958/CH17/EX17.1/Chapter17_example1.sce @@ -0,0 +1,16 @@ +clc +clear +//Input data +w=4000//Wavelength of the light in Angstrom units +wf=2.25//Work function of potassium in eV +m=(9.1*10^-31)//Mass of the electron in kg +v=(3*10^8)//Velocity of light in m/s +c=(1.6*10^-19)//Charge of the electron in coloumbs +h=6.626*10^-34//Plancks constant in Js + +//Calculations +E=(h*v)/(w*10^-10*c)//Energy of incident photon in eV +KE=(E-wf)//Kinetic energy in eV + +//Output +printf('Maximum kinetic energy of photoelectron is %3.3f eV',KE) -- cgit