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 --- 68/CH5/EX5.4/ex4.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 68/CH5/EX5.4/ex4.sce (limited to '68/CH5/EX5.4') diff --git a/68/CH5/EX5.4/ex4.sce b/68/CH5/EX5.4/ex4.sce new file mode 100755 index 000000000..38e33016e --- /dev/null +++ b/68/CH5/EX5.4/ex4.sce @@ -0,0 +1,18 @@ +// Example 5.4 : Analyse the circuit to find node voltages and branch currents +V_BB= 4; // (V) +V_CC=10; // (V) +V_BE=0.7; // (V) +b=100; // beta = 100 +R_E=3.3*10^3; // (ohm) +R_C=4.7*10^3; // (ohm) +V_E=V_BB-V_BE; +disp(V_E,"Emitter voltage (V)") +I_E=(V_E-0)/R_E; +disp(I_E,"Emitter current (A)") +a=b/(b+1) // alpha value +I_C=I_E*a; +disp(I_C,"Collector current (A)") +V_C=V_CC-I_C*R_C; // Applying ohm's law +disp(V_C,"Collector voltage (V)") +I_B=I_E/(b+1); +disp(I_B,"Base current (A)") \ No newline at end of file -- cgit