summaryrefslogtreecommitdiff
path: root/226/CH12/EX12.11/example11_sce.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /226/CH12/EX12.11/example11_sce.sce
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '226/CH12/EX12.11/example11_sce.sce')
-rwxr-xr-x226/CH12/EX12.11/example11_sce.sce45
1 files changed, 23 insertions, 22 deletions
diff --git a/226/CH12/EX12.11/example11_sce.sce b/226/CH12/EX12.11/example11_sce.sce
index af2d47651..31676bf49 100755
--- a/226/CH12/EX12.11/example11_sce.sce
+++ b/226/CH12/EX12.11/example11_sce.sce
@@ -1,23 +1,24 @@
-//chapter 12
-//example 12.11
-//page 497
-printf("\n")
-printf("given")
-Vp=100*10^-3;Rl=100;Vbe=.7;Vcc=20;
-ip=Vp/Rl
-disp("select Ie2>ip")
-Ie2=2*10^-3;
-Ve1=5;Vce1=3;
-Vb2=Ve1+Vce1
-Vc1=Vb2;
-Ve2=Vb2-Vbe
-R5=Ve2/Ie2//use 3.3Kohm standard value
-R5=3.3*10^3;
-Ic1=1*10^-3;
-Vr3=Vcc-Vb2
-R3=Vr3/Ic1
-R4=Ve1/Ic1//use 4.7Kohm standard value
-R4=4.7*10^3;
-Vb1=Ic1*R4+Vbe
-R2=10*R4
+//chapter 12
+//example 12.11
+//page 497
+printf("\n")
+printf("given")
+Vp=100*10^-3;Rl=100;Vbe=.7;Vcc=20;
+ip=Vp/Rl
+disp("select Ie2>ip")
+Ie2=2*10^-3;
+Ve1=5;Vce1=3;
+Vb2=Ve1+Vce1
+Vc1=Vb2;
+Ve2=Vb2-Vbe;
+Vr2=Ve1+Vbe;
+R5=Ve2/Ie2//use 3.3Kohm standard value
+R5=3.3*10^3;
+Ic1=1*10^-3;
+Vr3=Vcc-Vb2
+R3=Vr3/Ic1
+R4=Ve1/Ic1//use 4.7Kohm standard value
+R4=4.7*10^3;
+Vb1=Ic1*R4+Vbe
+R2=10*R4
R1=((Vcc-Vb1)*R2)/Vr2 \ No newline at end of file