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.10 | |
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.10')
-rwxr-xr-x | 68/CH5/EX5.10/ex10.sce | 46 |
1 files changed, 22 insertions, 24 deletions
diff --git a/68/CH5/EX5.10/ex10.sce b/68/CH5/EX5.10/ex10.sce index 0adcdcaed..cd259fb52 100755 --- a/68/CH5/EX5.10/ex10.sce +++ b/68/CH5/EX5.10/ex10.sce @@ -1,25 +1,23 @@ -// Exampe 5.10 : Analyse the circuit to find node voltages and branch currents
-V_CC=15; // (V)
-R_C=5000; // (ohm)
-R_B1=100*10^3; // (ohm)
-R_B2=50*10^3; // (ohm)
-R_E=3000; // (ohm)
-V_BE=0.7; // (V)
-B=100; // beta value
-V_BB=V_CC*R_B2/(R_B1+R_B2);
-disp(V_BB,"V_BB (V)")
-R_BB=R_B1*R_B2/(R_B1+R_B2);
-disp(R_BB,"R_BB (ohm)")
-I_B=I_E/(B+1);
-disp(I_B,"Base current (A)")
-I_E=(V_BB-V_BE)/(R_E +(R_BB/(B+1)))
-disp(I_E,"Emiter current (A)")
-I_B=I_E/(B+1)
-disp(I_B,"Base current (A)")
-V_B=V_BE+I_E*R_E;
-disp(V_B,"Base voltage (V)")
-a=B/(B+1); // alpha value
-I_C=a*I_E
-disp(I_C,"Collector current (A)")
-V_C=V_CC-I_C*R_C;
+// Exampe 5.10 : Analyse the circuit to find node voltages and branch currents +V_CC=15; // (V) +R_C=5000; // (ohm) +R_B1=100*10^3; // (ohm) +R_B2=50*10^3; // (ohm) +R_E=3000; // (ohm) +V_BE=0.7; // (V) +B=100; // beta value +V_BB=V_CC*R_B2/(R_B1+R_B2); +disp(V_BB,"V_BB (V)") +R_BB=R_B1*R_B2/(R_B1+R_B2); +disp(R_BB,"R_BB (ohm)") +I_E=(V_BB-V_BE)/(R_E +(R_BB/(B+1))); +disp(I_E,"Emiter current (A)") +I_B=I_E/(B+1) +disp(I_B,"Base current (A)") +V_B=V_BE+I_E*R_E; +disp(V_B,"Base voltage (V)") +a=B/(B+1); // alpha value +I_C=a*I_E +disp(I_C,"Collector current (A)") +V_C=V_CC-I_C*R_C; disp(V_C,"Collector voltage (V))")
\ No newline at end of file |