blob: c27a5c37455b24b0cfa4e09474ce897e233ba19f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear//
//Variables
beta = 100.0 //common emitter current gain
IC = 40.0 //Collector current (in milli-Ampere)
//Calculation
IB = IC / beta //Base current (in milli-Ampere)
IE = IB + IC //Emitter current (in milli-Ampere)
//Result
printf("\n The value of emitter current is %0.3f mA.",IE)
|