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 --- 2498/CH4/EX4.13/ex4_13.sce | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 2498/CH4/EX4.13/ex4_13.sce (limited to '2498/CH4/EX4.13/ex4_13.sce') diff --git a/2498/CH4/EX4.13/ex4_13.sce b/2498/CH4/EX4.13/ex4_13.sce new file mode 100755 index 000000000..e18e6e37e --- /dev/null +++ b/2498/CH4/EX4.13/ex4_13.sce @@ -0,0 +1,25 @@ +// Exa 4.13 +clc; +clear; +close; +format('v',5) +// Given data +Beta = 44; +R_L = 1.51 * 10^3;// in ohm +R_E = 270;// in ohm +V_CC = 4.5;// in V +R2 = 2.7 * 10^3;// in ohm +R1 = 27 * 10^3;// in ohm +R_C = 1.5 * 10^3;// in ohm +Vth = V_CC * (R2/(R1+R2));// in V +Rth = (R1*R2)/(R1+R2);// in ohm +// Applying KVL to input circuit, Vth - (I_B*Rth) - V_BE - (I_E*R_E) = 0 or +I_C = (Vth*Beta)/(Rth + (Beta*R_E));// in A (On putting I_C= Beta*I_B and V_BE=0) +//Applying KVL to output side, V_CC - (I_C*R_C) - V_CE - (I_E*R_E) = 0; +V_CE = V_CC - (I_C*(R_C+R_E));// in V +S = (Beta+1)*( (1+(Rth/R_E))/(Beta+1+(Rth/R_E)) ); +I_C= I_C*10^3;// in mA +disp(S,"The stability factor is"); +disp("The quiescent points : "+string(I_C)+" mA, "+string(V_CE)+" V") + +// Note: In the book the calculated value of V_CE is correct as well as coding output, but at last they print wrong value (4.01 V) -- cgit