summaryrefslogtreecommitdiff
path: root/1946/CH9/EX9.7.c/Ex_9_7_c.sce
blob: ff2bc6901e44da724e462dff4051e707df1bd49e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Example 9.7.b;//optical current
clc;
clear;
close;
Ip=10^-6;//optical current in ampere
C=3*10^8;//SPEED of light in meter per second
n=0.50;//quantum efficiency
h=900;//wavelength in nano meter
ht=6.62*10^-34;//plank constt.
R=((n*h)/1248);//responsivity
Po=(Ip/R);//Output power in  watt
n=(Po*h*10^-9)/(ht*C);//no. of received phontons
disp(n,"no. of received phontons is")