summaryrefslogtreecommitdiff
path: root/273/CH19/EX19.2/ex19_2.sce
blob: 0039e0230d0ce825f5d05c89855da65356cabfd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;clear;
//Example 19.2
//calculation of current

//given values
e=1.6*10^-19;
kT=.026*e;//temp eqvlnt at room temp
Io=2*10^-7;//current flowing at room temp in A
V=.1;//forward bias voltage in volts

//calculation
I=Io*(%e^(e*V/kT)-1);//in Ampere
disp(I*10^6,'current flowing when forward bias applied(in microampere)is');