summaryrefslogtreecommitdiff
path: root/3754/CH25/EX25.6
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH25/EX25.6')
-rw-r--r--3754/CH25/EX25.6/25_6.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3754/CH25/EX25.6/25_6.sce b/3754/CH25/EX25.6/25_6.sce
new file mode 100644
index 000000000..887f3fc6e
--- /dev/null
+++ b/3754/CH25/EX25.6/25_6.sce
@@ -0,0 +1,22 @@
+clear//
+
+//Variables
+
+hib = 28.0 //hib (in ohm)
+hfb = -0.98 //hfb
+hrb = 5.0 * 10**-4 //hrb
+hob = 0.34 * 10**-6 //hoh (in Siemen)
+rL = 1.2 * 10**3 //a.c. load resistance (in ohm)
+RS = 0.0 //Source resistance (in ohm)
+
+//Calculation
+
+Ai = -(hfb/(1 + hob * rL)) //Current gain
+Ri = hib + hrb * Ai * rL //Input resistance (in ohm)
+dh = hib * hob - hrb * hfb //change in h
+Ro = (RS + hib)/(RS*hib + dh)//Output resistance (in ohm)
+Av = Ai * rL / Ri //Voltage gain
+
+//Result
+
+printf("\n The value of input resistance is %0.1f ohm.\nThe value of output resistance is %0.0f kilo-ohm.\nThe value of current gain is %0.2f .\nThe value of voltage gain is %0.0f .",Ri,Ro*10**-3,Ai,Av)