From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 3507/CH13/EX13.17/Ex13_17.sce | 45 +++++++++++++++++++++-------------------- 3507/CH13/EX13.8/Ex13_8.sce | 47 ++++++++++++++++++++++--------------------- 2 files changed, 47 insertions(+), 45 deletions(-) (limited to '3507/CH13') diff --git a/3507/CH13/EX13.17/Ex13_17.sce b/3507/CH13/EX13.17/Ex13_17.sce index b4625c492..cf8e2be75 100644 --- a/3507/CH13/EX13.17/Ex13_17.sce +++ b/3507/CH13/EX13.17/Ex13_17.sce @@ -1,22 +1,23 @@ -//chapter13 -//example13.17 -//page291 - -Es=10d-3 // V -Rs=3d3 // ohm -Rin=7d3 // ohm -Rout=15 // ohm -Rl=35 // ohm - -I1=Es/(Rs+Rin) -V1=I1*Rin -Av=Ao*Rl/(Rout+Rl) -// since V2/V1=Av, we get -V2=V1*Av - -P2=V2^2/Rl -P1=V1^2/Rin -Ap=P2/P1 - -printf("magnitude of output voltage = %.2f V \n",V2) -printf("power gain = %.2f \n",Ap) +//chapter13 +//example13.17 +//page291 + +Ao=1000 +Es=10d-3 // V +Rs=3d3 // ohm +Rin=7d3 // ohm +Rout=15 // ohm +Rl=35 // ohm + +I1=Es/(Rs+Rin) +V1=I1*Rin +Av=Ao*Rl/(Rout+Rl) +// since V2/V1=Av, we get +V2=V1*Av + +P2=V2^2/Rl +P1=V1^2/Rin +Ap=P2/P1 + +printf("magnitude of output voltage = %.2f V \n",V2) +printf("power gain = %.2f \n",Ap) \ No newline at end of file diff --git a/3507/CH13/EX13.8/Ex13_8.sce b/3507/CH13/EX13.8/Ex13_8.sce index ab7ab3d76..65bbfed6f 100644 --- a/3507/CH13/EX13.8/Ex13_8.sce +++ b/3507/CH13/EX13.8/Ex13_8.sce @@ -1,23 +1,24 @@ -//chapter13 -//example13.8 -//page282 - -del_Ib=10d-3 // mA -del_Ic=1 // mA -del_Vbe=0.02 // V -Rc=5 // kilo ohm -Rl=10 // kilo ohm - -Ai=del_Ic/del_Ib -Rin=del_Vbe/del_Ib -R_AC=Rc*Rl/(Rc+Rl) -Av=gain_beta*R_AC/Rin -Ap=Av*Ai - -printf("current gain = %.3f \n",Ai) -printf("input impedence = %.3f kilo ohm \n",Rin) -printf("ac load = %.3f kilo ohm \n",R_AC) -printf("voltage gain = %.3f \n",Av) -printf("power gain = %.3f \n",Ap) - -// the accurate answer for voltage gain = 166.667 and for power gain = 16666.667 but in book they are given as 165 and 16500 respectively. +//chapter13 +//example13.8 +//page282 + +del_Ib=10d-3 // mA +del_Ic=1 // mA +del_Vbe=0.02 // V +Rc=5 // kilo ohm +Rl=10 // kilo ohm +gain_beta=60.0; + +Ai=del_Ic/del_Ib +Rin=del_Vbe/del_Ib +R_AC=Rc*Rl/(Rc+Rl) +Av=gain_beta*R_AC/Rin +Ap=Av*Ai + +printf("current gain = %.3f \n",Ai) +printf("input impedence = %.3f kilo ohm \n",Rin) +printf("ac load = %.3f kilo ohm \n",R_AC) +printf("voltage gain = %.3f \n",Av) +printf("power gain = %.3f \n",Ap) + +// the accurate answer for voltage gain = 166.667 and for power gain = 16666.667 but in book they are given as 165 and 16500 respectively. \ No newline at end of file -- cgit