From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2534/CH8/EX8.1/Ex8_1.sce | 30 ++++++++++++++++++++++++++++++ 2534/CH8/EX8.10/Ex8_10.sce | 13 +++++++++++++ 2534/CH8/EX8.11/Ex8_11.sce | 10 ++++++++++ 2534/CH8/EX8.2/Ex8_2.sce | 22 ++++++++++++++++++++++ 2534/CH8/EX8.3/Ex8_3.sce | 32 ++++++++++++++++++++++++++++++++ 2534/CH8/EX8.4/Ex8_4.sce | 37 +++++++++++++++++++++++++++++++++++++ 2534/CH8/EX8.5/Ex8_5.sce | 11 +++++++++++ 2534/CH8/EX8.6/Ex8_6.sce | 18 ++++++++++++++++++ 2534/CH8/EX8.7/Ex8_7.sce | 42 ++++++++++++++++++++++++++++++++++++++++++ 2534/CH8/EX8.8/Ex8_8.sce | 13 +++++++++++++ 2534/CH8/EX8.9/Ex8_9.sce | 14 ++++++++++++++ 11 files changed, 242 insertions(+) create mode 100755 2534/CH8/EX8.1/Ex8_1.sce create mode 100755 2534/CH8/EX8.10/Ex8_10.sce create mode 100755 2534/CH8/EX8.11/Ex8_11.sce create mode 100755 2534/CH8/EX8.2/Ex8_2.sce create mode 100755 2534/CH8/EX8.3/Ex8_3.sce create mode 100755 2534/CH8/EX8.4/Ex8_4.sce create mode 100755 2534/CH8/EX8.5/Ex8_5.sce create mode 100755 2534/CH8/EX8.6/Ex8_6.sce create mode 100755 2534/CH8/EX8.7/Ex8_7.sce create mode 100755 2534/CH8/EX8.8/Ex8_8.sce create mode 100755 2534/CH8/EX8.9/Ex8_9.sce (limited to '2534/CH8') diff --git a/2534/CH8/EX8.1/Ex8_1.sce b/2534/CH8/EX8.1/Ex8_1.sce new file mode 100755 index 000000000..05b79bd47 --- /dev/null +++ b/2534/CH8/EX8.1/Ex8_1.sce @@ -0,0 +1,30 @@ +//Ex8_1 +clc +disp("(a)") +Vce=0 +Ic=2*10^-3 +Ib=30*10^-6 +Vbe=50*10^-3 +disp("Vce = "+string(Vce)+"V")//collector-emitter voltage +disp("Ic = "+string(Ic)+"A")//collector current +disp("Ib = "+string(Ib)+"A")//base current +disp("Vbe = "+string(Vbe)+"V")//base-emitter voltage +hfe=Ic/Ib +disp("hfe = Ic/Ib = "+string(hfe))//current gain in CE amplifier +hie=Vbe/Ib +disp("hie = Vbe/Ib = "+string(hie)+"ohm")//input impedance in CE amplifier +disp("(b)") +Ib=0 +Vce=1 +Vbe=0.3*10^-3 +Ic=0.1*10^-3 +disp("Vce = "+string(Vce)+"V")//collector-emitter voltage +disp("Ic = "+string(Ic)+"A")//collector current +disp("Ib = "+string(Ib)+"A")//base current +disp("Vbe = "+string(Vbe)+"V")//base-emitter voltage +hoe=Ic/Vce +disp("hoe = Ic/Vce = "+string(hoe)+"mho")//output conductance in CE amplifier +hre=Vbe/Vce +disp("hre = Vbe/Vce = "+string(hre))//voltage gain in CE amplifier + +// note: textbook answers has printing mistake, regaeding hre. diff --git a/2534/CH8/EX8.10/Ex8_10.sce b/2534/CH8/EX8.10/Ex8_10.sce new file mode 100755 index 000000000..9b4491d83 --- /dev/null +++ b/2534/CH8/EX8.10/Ex8_10.sce @@ -0,0 +1,13 @@ +//Ex8_10 +clc +Av = -200 +Ri = 10*10^3 +RL = 3*10^3 +Ai = Av*Ri/RL +disp("Av = "+string(Av))//voltage gain +disp("Ri = "+string(Ri)+"ohm")//input resistance +disp("RL = "+string(RL)+"ohm")//load resistance +disp("Ai = Av*Ri/RL = "+string(Ai))//current gain + +// note : there are mis-printring in the textbook for the above problem regading formula and notations. +// answer in the textbook for above problem is wrong. diff --git a/2534/CH8/EX8.11/Ex8_11.sce b/2534/CH8/EX8.11/Ex8_11.sce new file mode 100755 index 000000000..6c344545e --- /dev/null +++ b/2534/CH8/EX8.11/Ex8_11.sce @@ -0,0 +1,10 @@ +//Ex8_11 +clc +Av = -250 +Ai = -50 +RL = 12*10^3 +disp("Av = "+string(Av))//voltage gain +disp("Ai = "+string(Ai))//current gain +disp("RL = "+string(RL)+"ohm")//load resistance +Ri = Ai*RL/Av +disp("Ri = Ai*RL/Av = "+string(Ri)+"ohm")//input resistance diff --git a/2534/CH8/EX8.2/Ex8_2.sce b/2534/CH8/EX8.2/Ex8_2.sce new file mode 100755 index 000000000..6edb890f1 --- /dev/null +++ b/2534/CH8/EX8.2/Ex8_2.sce @@ -0,0 +1,22 @@ +//Ex8_2 +clc +RL = 8*10^3 +hie=1.0*10^3 +hre=2.5*10^-4 +hfe=50 +hoe=25*10^-6 +disp("RL = "+string(RL)+"ohm")//load resistance +//h-parameters for CE transistor amplifier are as follows: +disp("hie = "+string(hie)+"ohm")//input resistance of CE transistor +disp("hre = "+string(hre))//voltage gain of CE transistor +disp("hfe = "+string(hfe))//current gain of CE transistor +disp("hoe = "+string(hoe)+"mho")//output conductance of CE transistor +//calculation for current gain: +Ai=-hfe/(1+(hoe*RL)) +disp("Ai = -hfe/(1+(hoe*RL)) = "+string(Ai)) +disp("Ai = "+string(abs(Ai))) +//calculation for input resistance: +Ri = hie+(hre*Ai*RL) +disp("Ri = hie+(hre*Ai*RL) = "+string(Ri)+"ohm") + +//note : answer in the textbook regarding above problem is not accuratly calculated. diff --git a/2534/CH8/EX8.3/Ex8_3.sce b/2534/CH8/EX8.3/Ex8_3.sce new file mode 100755 index 000000000..a9c999760 --- /dev/null +++ b/2534/CH8/EX8.3/Ex8_3.sce @@ -0,0 +1,32 @@ +//Ex8_3 +clc +RL = 8*10^3 +Rs= 500 +hie=1.0*10^3 +hre=2.5*10^-4 +hfe=50 +hoe=25*10^-6 +disp("RL = "+string(RL)+"ohm")//load resistance +disp("Rs = "+string(Rs)+"ohm")//source resistance +//h-parameters for CE transistor amplifier are as follows: +disp("hie = "+string(hie)+"ohm")//input resistance of CE transistor +disp("hre = "+string(hre))//voltage gain of CE transistor +disp("hfe = "+string(hfe))//current gain of CE transistor +disp("hoe = "+string(hoe)+"mho")//output conductance of CE transistor + +Ai=-hfe/(1+(hoe*RL)) +disp("Ai = -hfe/(1+(hoe*RL)) = "+string(Ai))//calculation for current gain + +Ri = hie+(hre*Ai*RL) +disp("Ri = hie+(hre*Ai*RL) = "+string(Ri)+"ohm")//calculation for input resistance + +Ais=(Ai*Rs)/(Ri+Rs) +disp("Ais = (Ai*Rs)/(Ri+Rs)= "+string(Ais))//current gain with source resistance + +Avs = Ai*RL/Ri +disp("Avs = Ai*RL/Ri = "+string(Avs))//voltage gain with source resistance + +//note : in the textbook above problem has given two values for hie BUT no value for hfe ... +// thus assuming hie=50 as hfe =50, as given in the previous example 8_2 + +//note : answer in the textbook is not accuratly calculated. diff --git a/2534/CH8/EX8.4/Ex8_4.sce b/2534/CH8/EX8.4/Ex8_4.sce new file mode 100755 index 000000000..5854a192a --- /dev/null +++ b/2534/CH8/EX8.4/Ex8_4.sce @@ -0,0 +1,37 @@ +//Ex8_4 +clc +RL=5*10^3 +Rs=1.2*10^3 +hre=2.5*10^-4 +hie=1.1*10^3 +hfe=100 +hoe=25*10^-6 +disp("RL = "+string(RL)+"ohm")//load resistance +disp("Rs = "+string(Rs)+"ohm")//source resistance +//h-parameters for CE transistor amplifier are as follows: +disp("hie = "+string(hie)+"ohm")//input resistance of CE transistor +disp("hre = "+string(hre))//voltage gain of CE transistor +disp("hfe = "+string(hfe))//current gain of CE transistor +disp("hoe = "+string(hoe)+"mho")//output conductance of CE transistor +//calculation for current gain: +Ai=-hfe/(1+(hoe*RL)) +disp("Ai = -hfe/(1+(hoe*RL)) = "+string(abs(Ai))) +//calculation for input resistance: +Ri = hie+(hre*Ai*RL) +disp("Ri = hie+(hre*Ai*RL) = "+string(Ri)+"ohm") +//calculation for voltage gain: +Av = Ai*RL/Ri +disp("Av = Ai*RL/Ri = "+string(Av)) +//calculation for output resistance: +Go=hoe-((hre*hfe)/(hie+Rs)) +Ro = 1/Go +disp("Ro = 1/Go") +disp("Go = hoe-((hre*hfe)/(hie+Rs)) = "+string(Go)+"mho") +disp("Ro = "+string(Ro)+"ohm") + +//note : in the textbook, above problem has given two values for "hfe" and no value for "hre"... +// thus assuming value for "hre = 2.5*10^-4" as taken in previous example 8_2 +// and "hfe=100" + +//note : in text LOAD RESISTANCE is noted as Rc in question, but RL in solution. +// I have work with Load Resistance with notification RL. diff --git a/2534/CH8/EX8.5/Ex8_5.sce b/2534/CH8/EX8.5/Ex8_5.sce new file mode 100755 index 000000000..c983b66b4 --- /dev/null +++ b/2534/CH8/EX8.5/Ex8_5.sce @@ -0,0 +1,11 @@ +//Ex8_5 +clc +RL = 22*10^3 +hfb=-0.98 +hob=7.6*10^-7 +disp("RL = "+string(RL)+"ohm")//load resistance +disp("hfb = "+string(hfb))//forward current gain in CB amplifier +disp("hob = "+string(hob)+"mho")//output conductance in CB amplifier +Ai = -hfb/(1+(hob*RL)) +disp("Ai = -hfb/(1+(hob*RL)) = "+string(Ai))//current gain + diff --git a/2534/CH8/EX8.6/Ex8_6.sce b/2534/CH8/EX8.6/Ex8_6.sce new file mode 100755 index 000000000..143477fb6 --- /dev/null +++ b/2534/CH8/EX8.6/Ex8_6.sce @@ -0,0 +1,18 @@ +//Ex8_6 +clc +hfb = -0.999 +hib = 50 +hob = 0.82*10^-6 +hrb = 4*10^-6 +RL = 22*10^3 +disp("RL = "+string(RL)+"ohm")//load impedence +//h-parameters for CB transistor amplifier are as follows: +disp("hib = "+string(hib)+"ohm")//input resistance of CB transistor +disp("hrb = "+string(hrb))//voltage gain of CB transistor +disp("hfb = "+string(hfb))//current gain of CB transistor +disp("hob = "+string(hob)+"mho")//output conductance of CB transistor +Av = -(hfb*RL)/((RL*(hib*hob-hfb*hrb))+hib) +disp("Av = -(hfb*RL)/((RL*(hib*hob-hfb*hrb))+hib) = "+string(Av))//voltage gain + + +//note : answer provided in the textbook is not precised. diff --git a/2534/CH8/EX8.7/Ex8_7.sce b/2534/CH8/EX8.7/Ex8_7.sce new file mode 100755 index 000000000..168f5e57b --- /dev/null +++ b/2534/CH8/EX8.7/Ex8_7.sce @@ -0,0 +1,42 @@ +//Ex8_7 +clc +RL = 1.2*10^3 +//assuming Rs = RL as given in problem +Rs = RL +//assuming values for h-parameters +hie = 1.0*10^3 +hre=2.5*10^-4 +hfe = 50 +hoe = 25*10^-6 +disp("RL = "+string(RL)+"ohm")//load resistance +disp("Rs = RL = "+string(RL)+"ohm")//source resistance +//h-parameters for CE transistor amplifier are as follows: +disp("hie = "+string(hie)+"ohm")//input resistance of CE transistor +disp("hre = "+string(hre))//voltage gain of CE transistor +disp("hfe = "+string(hfe))//current gain of CE transistor +disp("hoe = "+string(hoe)+"mho")//output conductance of CE transistor +//calculation for current gain: +Ai=-hfe/(1+(hoe*RL)) +disp("Ai = -hfe/(1+(hoe*RL)) = "+string(Ai)) +//calculation for input impedence: +Ri = hie+(hre*Ai*RL) +disp("Ri = hie+(hre*Ai*RL) = "+string(Ri)+"ohm") +//calculation for voltage gain: +disp("Av = Ai*RL/Ri") +Av = Ai*RL/Ri +disp(" = "+string(Av)) +//calculation for output impedence: +Ro = 1/((hoe - (hfe*hre)/(hie+Rs))) +disp("Ro = 1/((hoe - (hfe*hre)/(hie+Rs)))") +disp(" = "+string(Ro)+"ohm") +//current gain with source impedence: +Ais=(Ai*Rs)/(Ri+Rs) +disp("Ais = (Ai*Rs)/(Ri+Rs)= "+string(Ais)) +//voltage gain with source impedence: +Avs = Av*Ri/(Ri+Rs) +disp("Avs = Av*Ri/(Ri+Rs) = "+string(Avs)) + + + +// NOTE : calculation in the textbook for the above problem is wrong. +// while calculating Ri author has use "hie = 1.2*10^3" instead of ASSUMED9 value i.e., "hie = 1.0*10^3" diff --git a/2534/CH8/EX8.8/Ex8_8.sce b/2534/CH8/EX8.8/Ex8_8.sce new file mode 100755 index 000000000..a6f022e2b --- /dev/null +++ b/2534/CH8/EX8.8/Ex8_8.sce @@ -0,0 +1,13 @@ +//Ex8_8 +clc +Ai = -60 +hfe = 100 +hoe = 10*10^-6 +disp("hfe = "+string(hfe))//forward current gain +disp("hoe = "+string(hoe)+"A/V")//output conductance +disp("Ai = "+string(Ai))//current gain +disp("But, ... +Ai = -hfe/(1+ hoe*RL)") +RL = -(1/hoe)*(1+(hfe/Ai)) +disp("Thus,... +RL = -(1/hoe)*(1+(hfe/Ai)) = "+string(RL)+"ohm")//load resistance diff --git a/2534/CH8/EX8.9/Ex8_9.sce b/2534/CH8/EX8.9/Ex8_9.sce new file mode 100755 index 000000000..653273f19 --- /dev/null +++ b/2534/CH8/EX8.9/Ex8_9.sce @@ -0,0 +1,14 @@ +//Ex8_9 +clc +Ai = -60 +Ri = 2.0*10^3 +RL = 15*10^3 +disp("Ai = "+string(Ai))//current gain +disp("Ri = "+string(Ri)+"ohm")//input resistance +disp("RL = "+string(RL)+"ohm")//load resistance +Av = Ai*RL/Ri +disp("Av = Ai*RL/Ri = "+string(Av))//voltage gain + +//note : in textbook, +// author notify LOAD RESISTANCE as 'Rc' in question BUT 'RL' in solution. +// I have work with "load resistance notified as RL". -- cgit