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 /339/CH4 | |
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 '339/CH4')
-rwxr-xr-x | 339/CH4/EX4.3/ex4_3.sce | 12 | ||||
-rwxr-xr-x | 339/CH4/EX4.7/ex4_7.sce | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/339/CH4/EX4.3/ex4_3.sce b/339/CH4/EX4.3/ex4_3.sce new file mode 100755 index 000000000..ca2ec4cb2 --- /dev/null +++ b/339/CH4/EX4.3/ex4_3.sce @@ -0,0 +1,12 @@ +hie=5*10^3; //input impedance
+hre=2*10^-4; //voltage feedback ratio
+hfe=250; // small signal current gain
+hoe=20*10^-6; //output admittance
+rbc=hie/hre; // calculating base-collector resistance
+rbe=hie/(1-hre); //calculating base-emitter resistance
+beta=(hre+hfe)/(1-hre); //c calculating urrent gain
+rce=hie/(hoe*hie-hre*hfe-hre); //collector-emitter resistance
+disp("Ohms",rbc,"base collector resistance");
+disp("Ohms",rbe,"base emitter resistance");
+disp("Ohms",rce,"collector emitter resistance");
+disp(beta,"current gain");
\ No newline at end of file diff --git a/339/CH4/EX4.7/ex4_7.sce b/339/CH4/EX4.7/ex4_7.sce new file mode 100755 index 000000000..b4d9aff9a --- /dev/null +++ b/339/CH4/EX4.7/ex4_7.sce @@ -0,0 +1,12 @@ +Zin=50; //input impedance
+Z0=50;
+// defining scattering parameters
+S11=0;
+S22=0;
+S21=1/sqrt(2);
+S12=1/sqrt(2);
+R1=((sqrt(2)-1)/(sqrt(2)+1))*Z0;
+R2=R1;
+R3=2*sqrt(2)*Z0;
+disp(S21,S12,S22,S11,"Scattering parameters");
+disp("Ohms",R3,"Ohms",R2,"Ohms",R1,"Resistance values R1,R2,R3:");
\ No newline at end of file |