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/CH5/EX5.5.15/Ch5_5_15.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/CH5/EX5.5.15/Ch5_5_15.sce')
-rwxr-xr-x | 275/CH5/EX5.5.15/Ch5_5_15.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/275/CH5/EX5.5.15/Ch5_5_15.sce b/275/CH5/EX5.5.15/Ch5_5_15.sce new file mode 100755 index 000000000..0983b8deb --- /dev/null +++ b/275/CH5/EX5.5.15/Ch5_5_15.sce @@ -0,0 +1,24 @@ +clc
+disp("Example 5.15")
+printf("\n")
+disp("For CE amplifier shown in fig 5.5 find R1,R2,Re & Rc")
+printf("Given\n")
+Vcc=24
+//load resistance
+RL=120*10^3
+//since Rc<<RL
+Rc=RL/10
+//select Ve & Vce
+Ve=5
+Vce=3
+Vrc=Vcc-Vce-Ve //from circuit
+Ic=Vrc/Rc
+//find Re
+Re=Ve/Ic
+R2=10*Re
+//Vbe for si transistor
+Vbe=0.7
+Vb=Vbe+Ve
+I2=Vb/R2
+R1=(Vcc-Vb)/I2
+printf("The resistance values are\nR1=%f ohm\nR2=%f ohm\nRe=%f ohm\nRc=%f ohm\n",R1,R2,Re,Rc)
|