summaryrefslogtreecommitdiff
path: root/2582/CH2/EX2.3/Ex2_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2582/CH2/EX2.3/Ex2_3.sce')
-rwxr-xr-x2582/CH2/EX2.3/Ex2_3.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2582/CH2/EX2.3/Ex2_3.sce b/2582/CH2/EX2.3/Ex2_3.sce
new file mode 100755
index 000000000..ff0548b8a
--- /dev/null
+++ b/2582/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,14 @@
+//Ex 2.3
+clc;clear;close;
+format('v',5)
+Gm1=10;//mA/V
+Gm1=Gm1/1000;//A/V
+Cc=50;//pF
+Cc=Cc*10^-12;//F
+Rt=10^8;//ohm(Shunting resistance with Cc)
+Ao=Gm1*Rt;//unitless
+fp=1/(2*%pi*Rt*Cc);//Hz
+ft=Gm1/(2*%pi*Cc)/10^6;//MHz
+disp(fp,"Frequency at which gain is maximum, fp in Hz");
+disp(ft,"Unit gain frequency, ft(MHz)");
+//Bode plot can not be plotted with the given data in the question by using scilab functions.