blob: b23370a59395ddd3e7c70a2afc3878414113f8df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear//
//Variables
alpha = 0.98 //common base current gain
ICO = 5 * 10**-3 //Leakage current (in milli-Ampere)
IB = 100 * 10**-3 //Base current (in milli-Ampere)
//Calculation
IC = (alpha * IB + ICO)/ (1 - alpha) //Collector current (in milli-Ampere)
IE = IC + IB //Emitter current (in milli-Ampere)
//Result
printf("\n Value of collector current is %0.3f mA.\nValue of emitter current is %0.3f mA.",IC,IE)
|