summaryrefslogtreecommitdiff
path: root/3754/CH31/EX31.14/31_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH31/EX31.14/31_14.sce')
-rw-r--r--3754/CH31/EX31.14/31_14.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3754/CH31/EX31.14/31_14.sce b/3754/CH31/EX31.14/31_14.sce
new file mode 100644
index 000000000..168c9154c
--- /dev/null
+++ b/3754/CH31/EX31.14/31_14.sce
@@ -0,0 +1,20 @@
+clear//
+
+//Variables
+
+gm = 5000.0 * 10**-6 //Transconductance (in mho)
+rd = 40.0 * 10**3 //Resistance (in ohm)
+R = 10.0 * 10**3 //Resistance (in ohm)
+fo = 1.0 * 10**3 //Frequency (in Hertz)
+Av = 40.0 //Voltage gain
+
+//Calculation
+
+C = 1/(2*%pi*(R)*6**0.5*fo) //Capacitance (in Farad)
+rL = Av / gm //a.c. load resistance (in ohm)
+RD = (rL * rd)/(rd-rL) //Drain resistance (in ohm)
+
+//Result
+
+printf("\n Value of capacitor is %0.5f micro-Farad.",C* 10**6)
+printf("\n Value of drain resistance is %0.3f kilo-ohm.",RD * 10**-3)