summaryrefslogtreecommitdiff
path: root/226/CH18/EX18.2/example2_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/CH18/EX18.2/example2_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/CH18/EX18.2/example2_sce.sce')
-rwxr-xr-x226/CH18/EX18.2/example2_sce.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/226/CH18/EX18.2/example2_sce.sce b/226/CH18/EX18.2/example2_sce.sce
new file mode 100755
index 000000000..0dc0e65b7
--- /dev/null
+++ b/226/CH18/EX18.2/example2_sce.sce
@@ -0,0 +1,23 @@
+//chapter 18
+//example 18.2
+//page 762
+printf("\n")
+printf("given")
+Vo=12;Il=40*10^-3;Vs=20;Vbe=.7;
+Vz=.75*Vo
+disp("for minimum D1 current select")
+Ir2=10*10^-3;
+R2=(Vo-Vz)/Ir2
+Ie1=Il+Ir2
+disp("specification for Q")
+Vce1=20;Vs=Vce1;
+Ic1=50*10^-3;
+Pd=(Vs-Vo)*Ie1
+hfe=50;
+Ib1=Ie1/hfe
+Ic2=5*10^-3;
+R1=(Vs-(Vo+.7))/(Ic2+Ib1)
+Iz=Ie2+Ir2
+I4=1*10^-3;
+R4=(Vz+Vbe)/I4
+R3=(Vo-(Vz+Vbe))/I4 \ No newline at end of file