summaryrefslogtreecommitdiff
path: root/3754/CH30/EX30.18/30_18.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH30/EX30.18/30_18.sce')
-rw-r--r--3754/CH30/EX30.18/30_18.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3754/CH30/EX30.18/30_18.sce b/3754/CH30/EX30.18/30_18.sce
new file mode 100644
index 000000000..75bf1c586
--- /dev/null
+++ b/3754/CH30/EX30.18/30_18.sce
@@ -0,0 +1,16 @@
+clear//
+
+//Variables
+
+gm = 2500.0 * 10**-6 //Transconductance (in Amper per volt)
+RD = 10.0 * 10**3 //Drain resistance (in ohm)
+RS = 2.0 * 10**3 //Source resistance (in ohm)
+
+//Calculation
+
+Av = gm * RD //Voltage gain
+R1i = RS * 1/gm /(RS + 1/gm) //Input resistance (in ohm)
+
+//Result
+
+printf("\n Amplifier voltage gain is %0.3f .\nInput resistance is %0.0f ohm.",Av,R1i)