summaryrefslogtreecommitdiff
path: root/68/CH6/EX6.6/ex6.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /68/CH6/EX6.6/ex6.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/CH6/EX6.6/ex6.sce')
-rwxr-xr-x68/CH6/EX6.6/ex6.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/68/CH6/EX6.6/ex6.sce b/68/CH6/EX6.6/ex6.sce
new file mode 100755
index 000000000..3ff611de1
--- /dev/null
+++ b/68/CH6/EX6.6/ex6.sce
@@ -0,0 +1,17 @@
+// Example 6.6 : To determine midband gain and upper 3dB frequency
+R_in=420*10^3; // (ohm)
+R_sig=100*10^3; // (ohm)
+g_m=4*10^-3; // (mho)
+R_L=3.33*10^3; // R_L=R'_L (ohm)
+C_gs=1*10^-12; // F
+C_gd=C_gs;
+A_M=-R_in*g_m*R_L/(R_in+R_sig)
+disp(A_M,"Midband frequency gain A_M (V/V)")
+R_gs=R_in*R_sig/(R_in+R_sig);
+R=R_gs; //R=R'
+T_gs=C_gs*R_gs; // Oen circuit time constant of C_gs (s)
+R_gd=R+R_L+g_m*R_L*R;
+T_gd=R_gd*C_gd; // open circuit time constant of C_gd (s)
+w_H=1/(T_gs+T_gd); // upper 3dB frequency w_H
+f_H=w_H/(2*%pi);
+disp(f_H,"Upper 3dB frequency f_H (Hz)") \ No newline at end of file