summaryrefslogtreecommitdiff
path: root/3754/CH30/EX30.11/30_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH30/EX30.11/30_11.sce')
-rw-r--r--3754/CH30/EX30.11/30_11.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3754/CH30/EX30.11/30_11.sce b/3754/CH30/EX30.11/30_11.sce
new file mode 100644
index 000000000..60307b6bf
--- /dev/null
+++ b/3754/CH30/EX30.11/30_11.sce
@@ -0,0 +1,16 @@
+clear//
+
+//Variables
+
+gm = 2.0 * 10**-3 //Transconductance (in Ampere per volt)
+rd = 10.0 * 10**3 //Resistance (in ohm)
+RD = 50.0 * 10**3 //Drain resistance (in ohm)
+
+//Calculation
+
+rL = RD * rd / (RD + rd) //a.c. equivalent resistance (in ohm)
+Av = - gm * rL //Voltage gain
+
+//Result
+
+printf("\n Voltage gain is %0.2f .",Av)