diff options
Diffstat (limited to '863/CH4/EX4.1/Ex4_1.txt')
-rw-r--r-- | 863/CH4/EX4.1/Ex4_1.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/863/CH4/EX4.1/Ex4_1.txt b/863/CH4/EX4.1/Ex4_1.txt new file mode 100644 index 000000000..4e3d5b79b --- /dev/null +++ b/863/CH4/EX4.1/Ex4_1.txt @@ -0,0 +1,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=')
\ No newline at end of file |