diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /68/CH5/EX5.8 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '68/CH5/EX5.8')
-rwxr-xr-x | 68/CH5/EX5.8/ex8.sce | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/68/CH5/EX5.8/ex8.sce b/68/CH5/EX5.8/ex8.sce index b19f04f0b..8dd183758 100755 --- a/68/CH5/EX5.8/ex8.sce +++ b/68/CH5/EX5.8/ex8.sce @@ -1,16 +1,17 @@ -// Example 5.8 : Analyse the circuit to find node voltages and branch currents
-V_CC= 10; // (V)
-R_C=2000; // (ohm)
-V_BB=5; // (V)
-R_B=100*10^3; // (ohm)
-B=100; // beta value
-I_B=(V_BB-V_BE)/R_B;
-disp(I_B,"Base current (A)")
-I_C=B*I_B;
-disp(I_C,"Collector current (A)")
-V_C=V_CC-I_C*R_C;
-disp(V_C,"Collector voltage (V)")
-V_B=0.7 ; // V_B=V_BE
-disp(V_B,"Base voltage (V)")
-I_E=(B+1)*I_B;
+// Example 5.8 : Analyse the circuit to find node voltages and branch currents +V_CC= 10; // (V) +R_C=2000; // (ohm) +V_BB=5; // (V) +V_BE=0.7; +R_B=100*10^3; // (ohm) +B=100; // beta value +I_B=(V_BB-V_BE)/R_B; +disp(I_B,"Base current (A)") +I_C=B*I_B; +disp(I_C,"Collector current (A)") +V_C=V_CC-I_C*R_C; +disp(V_C,"Collector voltage (V)") +V_B=V_BE ; // V_B=V_BE +disp(V_B,"Base voltage (V)") +I_E=(B+1)*I_B; disp(I_E,"Emitter current (A)")
\ No newline at end of file |