summaryrefslogtreecommitdiff
path: root/275/CH5/EX5.5.15/Ch5_5_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '275/CH5/EX5.5.15/Ch5_5_15.sce')
-rwxr-xr-x275/CH5/EX5.5.15/Ch5_5_15.sce24
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)