summaryrefslogtreecommitdiff
path: root/1754/CH3/EX3.2/Exa3_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1754/CH3/EX3.2/Exa3_2.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1754/CH3/EX3.2/Exa3_2.sce')
-rwxr-xr-x1754/CH3/EX3.2/Exa3_2.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/1754/CH3/EX3.2/Exa3_2.sce b/1754/CH3/EX3.2/Exa3_2.sce
new file mode 100755
index 000000000..072ea5b5e
--- /dev/null
+++ b/1754/CH3/EX3.2/Exa3_2.sce
@@ -0,0 +1,29 @@
+//Exa 3.2
+clc;
+clear;
+close;
+//Given data
+RL=10;//in kohm
+RS=1;//in kohm
+hie=1.1;//in kOhm
+hre=2.5*10^-4;//unitless
+hfe=50;//unitless
+hoe=25;//in u mho
+Aie=-hfe/(1+hoe*10^-6*RL*10^3);//unitless
+Zie=hie+hre*Aie*RL;//in kOhm
+Zie=round(Zie);
+Ave=Aie*RL/Zie;//unitless
+Avs_e=Ave*Zie/(Zie+RS);//
+deltah=hoe*10^-6*hie*10^3-hfe*hre;
+Zoe=(hie*10^3+RS*10^3)/(hoe*10^-6*RS*10^3+deltah);
+Ais_e=Aie*RS/(Zie+RS);
+Ape=Ave*Aie;
+Aps_e=Avs_e*Ais_e;
+disp(Aie,"Current gain : ");
+disp(Ais_e,"Current gain with source resistance : ");
+disp(Ave,"Voltage gain : ");
+disp(Avs_e,"Voltage gain with source resistance : ");
+disp(Ape,"Power gain : ");
+disp(Aps_e,"Power gain with source resistance : ");
+disp(Zie,"Input impedence in kohm :");
+disp(Zoe/10^3,"Output impedence in kohm :"); \ No newline at end of file