summaryrefslogtreecommitdiff
path: root/3507/CH10/EX10.3/Ex10_3.sce
blob: b41c29bd1acc2a51e8d1dcecb562d3d265726f5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//chapter10
//example10.3
//page187

//from graph, we see that for zero illumination, the reverse current i.e. dark current is 50 micro ampere

Ir=50d-6  // A
Vr=10 // V

Rr=Vr/Ir

printf("dark resistance = %.3f ohm or %.3f kilo ohm",Rr,Rr/1000)