summaryrefslogtreecommitdiff
path: root/226/CH12/EX12.8/example8_sce.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /226/CH12/EX12.8/example8_sce.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '226/CH12/EX12.8/example8_sce.sce')
-rwxr-xr-x226/CH12/EX12.8/example8_sce.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/226/CH12/EX12.8/example8_sce.sce b/226/CH12/EX12.8/example8_sce.sce
new file mode 100755
index 000000000..9f9ad74d7
--- /dev/null
+++ b/226/CH12/EX12.8/example8_sce.sce
@@ -0,0 +1,28 @@
+//chapter 12
+//example 12.8
+//page 491
+printf("\n")
+printf("given")
+Ve1=5;Vce1=3;Vce2=3;Vbe=.7;Vcc=14;Rl=40*10^3;
+Vb2=Ve1+Vce1
+Vc1=Vb2;
+Ve2=Vb2-Vbe
+Vr5=Vcc-Ve2-Vce2
+R5=Rl/10//use 3.9Kohm satandard value
+R5=3.9*10^3;
+Ic2=Vr5/R5
+R6=Ve2/Ic2//use 8.2Kohm as standard and recalculate
+R6=8.2*10^3;
+Ic2=Ve2/R6
+Vr3=Vcc-Vc1
+disp(" Ic1>>Ib2,select Ic1=1mA")
+Ic1=1*10^-3;
+R3=Vr3/Ic1//use standard value as 5.6Kohm and recalculate Ic1 in order ti keep Vb2=8V
+R3=5.6*10^3;
+Ic1=Vr3/R3
+R4=Ve1/Ic1
+Vr2=Ve1+Vbe
+Vr1=Vcc-Ve1-Vbe
+R2=10*R4
+I2=(Ve1+Vbe)/R2
+R1=(Vr1*R2)/Vr2 \ No newline at end of file