summaryrefslogtreecommitdiff
path: root/3875/CH10/EX10.14/10_14.sce
blob: 08ed781f719469ca0754b0d62d7f0194878dab20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clc;
clear;
P=10^-3 //power in watt
h=6.62*10^-34 //Plancks constant in J-s
v=3*10^8 //frequncy of light in Hz
lambda=4560*10^-10 //wavelength in m
eff=0.005 //quantum efficiency
e=1.6*10^-19 //charge in C

//calculation
E=(h*v)/lambda //energy of each photon in joules
N=P/E //no of photons incident on the metal per sec
N_e=N*eff //no of electrons released per sec
I=N_e*e

mprintf("The photoelectric current is = %1.3e amp or 1.837 micro-amp",I)
//The Answer provided in the textbook is wrong.