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 --- 2492/CH4/EX4.9/ex4_9.sce | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 2492/CH4/EX4.9/ex4_9.sce (limited to '2492/CH4/EX4.9') diff --git a/2492/CH4/EX4.9/ex4_9.sce b/2492/CH4/EX4.9/ex4_9.sce new file mode 100755 index 000000000..c3f9348b1 --- /dev/null +++ b/2492/CH4/EX4.9/ex4_9.sce @@ -0,0 +1,28 @@ +// Exa 4.9 +format('v',6) +clc; +clear; +close; +// Given data +V_BE= 0.7; +bita = 100; +V_CC = 20;// in V +R_E = 1 * 10^3;// in ohm +V_CEQ = 10;// in V +I_CQ = 2* 10^-3;// in A +S_ICO = 10; +I_BQ = I_CQ/bita;// in A +// R_B= R1*R2/(R1+R2) (i) +// V_B= R2*V_CC/(R1+R2) (ii) +R_B= (S_ICO-1)*R_E;// in ohm +// V_CC= I_CQ*R_C+V_CEQ+(1+bita)*I_C/bita*R_E +R_C= (V_CC-V_CEQ-I_CQ*R_E)/I_CQ;// in ohm +I_B= I_CQ/bita;// in A +V_B= I_B*R_B+V_BE+(1+bita)*R_E*I_B;// in V +// From eq (i) and (ii) +R2= (V_B*R_B+R_B*(V_CC-V_B))/(V_CC-V_B);// in ohm +R1= R2*R_B/(R2-R_B);// in ohm +R1= R1*10^-3;// in k ohm +R2= R2*10^-3;// in k ohm +disp(R1,"The value of R1 in k ohm is : ") +disp(R2,"The value of R2 in k ohm is : ") -- cgit