summaryrefslogtreecommitdiff
path: root/3769/CH27/EX27.18/Ex27_18.sce
blob: 95447e9feaa7ae2ce8e8695bd1956e58f3a131ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear
//Given 
Vbb=2.0                            //v
Rc=2000                           //ohm
B=100
Vbe=0.6                            //V

//Calculation
Ic=Vbb/Rc*10**3
Ib=Ic/B
Ib1=10*Ib
Rb=(Vbb-Vbe)/Ib
Ic=B*Ib1

//Result 
printf("\n d.c. collector current is %0.3f  mA",Ic)