summaryrefslogtreecommitdiff
path: root/3763/CH10/EX10.4/Ex10_4.sce
blob: 8a8dbcd0ef2045eaa4aefdd05f46f92b0e6fb58d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clear
//
//
//

//Variable declaration
eta=0.6     //quantum efficiency
q=1.6*10**-19    //charge(coulomb)
lamda=1.3*10**-6    //lamda(m)
h=6.625*10**-34       //plancks constant(J s)
c=3*10**8     //velocity of light(m/s)

//Calculation
R=eta*q*lamda/(h*c)     //responsibility(A/W)

//Result
printf("\n responsibility is %0.3f  A/W",R)