summaryrefslogtreecommitdiff
path: root/2045/CH5/EX5.27/Ex5_27.sce
blob: 1ea8f432057081410db74adbb37a3cad07d1b035 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//pagenumber 305 example 27
clear
ic=0.5*10^-3;//ampere
rb=100*10^3;//ohm
v1=0.026;//volt
r1=50;//ohm
colres=1*10^3;//ohm
g=ic/v1;
volgai=g*colres;
disp("output resistance   =   "+string((colres))+"ohm");
disp("input resistance very low");//not given in the book
disp("voltage gain   =   "+string((volgai)));