summaryrefslogtreecommitdiff
path: root/68/CH4/EX4.12/ex4_12.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /68/CH4/EX4.12/ex4_12.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 '68/CH4/EX4.12/ex4_12.sce')
-rwxr-xr-x68/CH4/EX4.12/ex4_12.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/68/CH4/EX4.12/ex4_12.sce b/68/CH4/EX4.12/ex4_12.sce
new file mode 100755
index 000000000..34a1833d9
--- /dev/null
+++ b/68/CH4/EX4.12/ex4_12.sce
@@ -0,0 +1,16 @@
+// Example 4.12 : Midband gain and upper 3dB frequency
+R_sig= 100*10^3; // (ohm)
+R_G=4.7*10^6; // (ohm)
+R_D=15*10^3; // (ohm)
+R_l=15*10^3; // (ohm)
+g_m=1*10^-3; // (mho)
+r_o=150*10^3; // (ohm)
+C_gs=1*10^-12; // (F)
+C_gd=0.4*10^-12; // (F)
+R_L= 1/(1/r_o + 1/R_D + 1/R_l)
+A_M=R_G/(R_G + R_sig)*g_m*R_L;
+disp(A_M,"midband gain A_M (V/V)")
+C_eq=(1+g_m*R_L)*C_gd;
+C_in=C_gs+C_eq;
+f_H=(R_G+R_sig)/(2*%pi*C_in*R_sig*R_G);
+disp(f_H,"f_H (Hz)") \ No newline at end of file