diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /68/CH5/EX5.4 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '68/CH5/EX5.4')
-rwxr-xr-x | 68/CH5/EX5.4/ex4.sce | 18 |
1 files changed, 18 insertions, 0 deletions
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 |