diff options
Diffstat (limited to '2582/CH1/EX1.20/Ex1_20.sce')
-rwxr-xr-x | 2582/CH1/EX1.20/Ex1_20.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2582/CH1/EX1.20/Ex1_20.sce b/2582/CH1/EX1.20/Ex1_20.sce new file mode 100755 index 000000000..f6f4bacfb --- /dev/null +++ b/2582/CH1/EX1.20/Ex1_20.sce @@ -0,0 +1,18 @@ +//Ex 1.20
+clc;clear;close;
+format('v',6);
+Vout=5;//V
+Beta=180;//unitless
+VBE=0.7;//V
+VEE=10;//V
+Vout=5;//V
+R1=22;//kohm
+R2=2.2;//kohm
+IREF=(VEE-VBE)/R1;//mA
+IC=(IREF-VBE/R2)/(1+2/Beta);//mA
+IC1=IC*1000;//micro A(as VBE1=VBE2 IC1=IC2)
+IC2=IC*1000;//micro A
+disp(IC2,IC1,"Current IC1 & IC2 (micro A) : ");
+RC=(VEE-Vout)/(IC1*10^-3);//kohm
+disp(RC,"Value of Rc is (kohm) : ");
+//Answer is wrong in the textbook.
|