summaryrefslogtreecommitdiff
path: root/3754/CH30/EX30.12/30_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH30/EX30.12/30_12.sce')
-rw-r--r--3754/CH30/EX30.12/30_12.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3754/CH30/EX30.12/30_12.sce b/3754/CH30/EX30.12/30_12.sce
new file mode 100644
index 000000000..34e4ec506
--- /dev/null
+++ b/3754/CH30/EX30.12/30_12.sce
@@ -0,0 +1,19 @@
+clear//
+
+//Variables
+
+RD = 100.0 * 10**3 //Drain resistance (in ohm)
+gm = 1.6 * 10**-3 //Transconductance (in Ampere per volt)
+rd = 44.0 * 10**3 //Resistance (in ohm)
+Cgs = 3.0 * 10**-12 //Capacitance gate-to-source (in Farad)
+Cds = 1.0 * 10**-12 //Capacitance drain-to-source (in Farad)
+Cgd = 2.8 * 10**-12 //Capacitance gate-to-drain (in Farad)
+
+//Calculation
+
+rL = RD * rd / (RD + rd) //a.c. load resistance (in ohm)
+Av = -gm * rL //Voltage gain
+
+//Result
+
+printf("\n Voltage gain is %0.1f ",Av)