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.28/ex4_28.sce | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 2498/CH4/EX4.28/ex4_28.sce (limited to '2498/CH4/EX4.28') diff --git a/2498/CH4/EX4.28/ex4_28.sce b/2498/CH4/EX4.28/ex4_28.sce new file mode 100755 index 000000000..504fd591a --- /dev/null +++ b/2498/CH4/EX4.28/ex4_28.sce @@ -0,0 +1,25 @@ +// Exa 4.28 +format('v',6) +clc; +clear; +close; +// Given data +Beta = 130; +V_BE = 0.7;// in V +V_CC = 18;// in V +R1 = 510;// in k ohm +R1 = R1 * 10^3;// in ohm +R2 = 510;// in k ohm +R2 = R2 * 10^3;// in ohm +R_C = 9.1;// in k ohm +R_C = R_C * 10^3;// in ohm +R_E = 7.5*10^3;// in ohm +Vth = V_CC*(R2/(R1+R2));// in V +Rth = (R1*R2)/(R1+R2);// in ohm +//Applying KVL in the input loop, Vth = (I_B*Rth)+V_BE+(I_E*R_E) or +I_CQ = (Vth-V_BE)/( (Rth/Beta)+R_E+(R_E/Beta) );// in A (On putting I_E = I_C+I_B and I_C = Beta*I_B) +I_CQ= I_CQ*10^3;// in mA +disp(I_CQ,"The value of I_CQ in mA is"); +// Applying KVL in the output loop, V_CC = (I_C*R_C) + V_CEQ + (I_E*R_E); +V_CEQ = V_CC - (I_CQ*10^-3*( R_C+R_E+(R_E/Beta) ));// in V +disp(V_CEQ,"The value of V_CEQ in V is"); -- cgit