diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /275/CH3/EX3.3.64/Ch3_3_64.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '275/CH3/EX3.3.64/Ch3_3_64.sce')
-rwxr-xr-x | 275/CH3/EX3.3.64/Ch3_3_64.sce | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/275/CH3/EX3.3.64/Ch3_3_64.sce b/275/CH3/EX3.3.64/Ch3_3_64.sce new file mode 100755 index 000000000..206e0088a --- /dev/null +++ b/275/CH3/EX3.3.64/Ch3_3_64.sce @@ -0,0 +1,36 @@ +clc
+disp("Example 3.64")
+printf("\n")
+disp("Draw a DC load line for Collector to base bias for different hFE")
+printf("Given\n")
+//given
+Vcc=18
+Vbe=0.7
+hFE1=50
+hFE2=200
+Rc=2.2*10^3
+Rb=270*10^3
+//for hFE=50
+//base current
+Ib1=(Vcc-Vbe)/(Rb+(1+hFE1)*Rc)
+//collector current
+Icq1=hFE1*Ib1
+//to find Vce
+Vceq1=(Ib1*Rb)+Vbe
+//for hFE=200
+//base current
+Ib2=(Vcc-Vbe)/(Rb+(1+hFE2)*Rc)
+//collector current
+Icq2=hFE2*Ib2
+//to find Vce
+Vceq2=(Ib2*Rb)+Vbe
+//to draw DC load line
+Ic1=Vcc/Rc
+Vce=[Vcc Vceq1 Vceq2 0]
+Ic=[0 Icq1 Icq2 Ic1]
+printf("Q1(%f volt,%f ampere)\n",Vceq1,Icq1)
+printf("Q2(%f volt,%f ampere)\n",Vceq2,Icq2)
+plot2d(Vce, Ic)
+xlabel("Vce in volt")
+ylabel("Ic in ampere")
+xtitle("DC load line for base bias circuit")
|