summaryrefslogtreecommitdiff
path: root/863/CH4/EX4.1/Ex4_1.sce
blob: 4e3d5b79b3c814bdc514cd1b0c30010f2f2186d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Caption:Determine (a)hfe (b)hfe for changed resistor
//Ex4.1
clc;
clear;
close;
Ib=0.2//Base current(in mA)
Vcc=10//Collector voltage(in volts)
Rc1=1//Collector resistor(in kilo ohm)
Rc2=220//Changed collector resistor(in ohm)
Ic1=Vcc/Rc1
h1=Ic1/Ib
disp(h1,'(a)hfe=')
Ic2=Vcc*1000/Rc2
h2=Ic2/Ib
disp(h2,'(b)hfe for changed resistor=')