summaryrefslogtreecommitdiff
path: root/2444/CH8/EX8.12
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2444/CH8/EX8.12
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 '2444/CH8/EX8.12')
-rwxr-xr-x2444/CH8/EX8.12/ex8_12.sce33
1 files changed, 33 insertions, 0 deletions
diff --git a/2444/CH8/EX8.12/ex8_12.sce b/2444/CH8/EX8.12/ex8_12.sce
new file mode 100755
index 000000000..bd18293bf
--- /dev/null
+++ b/2444/CH8/EX8.12/ex8_12.sce
@@ -0,0 +1,33 @@
+// Exa 8.12
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+I_DSS = 15;// in mA
+I_DSS = I_DSS * 10^-3;// in A
+V_P = -4;// in V
+g_mo = (-2*I_DSS)/V_P;// in S
+V_GSQ = -2;// in V
+g_m = g_mo*( 1-(V_GSQ/V_P) );// in S
+R_D = 2.7;// in k ohm
+R_D = R_D * 10^3;// in ohm
+Av1 = -g_m*R_D;// voltage gain of first stage
+Av2 = Av1;// voltage gain of second stage
+Av = Av1*Av2;// overall voltage gain
+disp(Av,"The overall voltage gain is");
+R_G = 2;// in Mohm
+Rin = R_G;// in Mohm
+disp(Rin,"The input impedance in Mohm is");
+Rout = R_D;// in ohm
+Rout= Rout*10^-3;// in k ohm
+disp(Rout,"The output impedance in k ohm is");
+Rout= Rout*10^3;// in ohm
+Vin = 15;// in mV
+Vin = Vin * 10^-3;// in V
+Vout = Av*Vin;// in V
+disp(Vout,"The output voltage in V is");
+R_L = 15;// in k ohm
+R_L = R_L * 10^3;// in ohm
+V_L = (R_L/(Rout+R_L))*Vout;// in V
+disp(V_L,"The output voltage across load resistance in V is");