summaryrefslogtreecommitdiff
path: root/3754/CH31/EX31.18
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3754/CH31/EX31.18
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3754/CH31/EX31.18')
-rw-r--r--3754/CH31/EX31.18/31_18.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3754/CH31/EX31.18/31_18.sce b/3754/CH31/EX31.18/31_18.sce
new file mode 100644
index 000000000..5c18c0490
--- /dev/null
+++ b/3754/CH31/EX31.18/31_18.sce
@@ -0,0 +1,21 @@
+clear//
+
+//Variables
+
+fo = 2.0 * 10**3 //Frequency (in Hertz)
+hie = 2.0 * 10**3 //hie (in ohm)
+R1 = 20.0 * 10**3 //Resistance (in ohm)
+R2 = 80.0 * 10**3 //Resistance (in ohm)
+RC = 10.0 * 10**3 //Collector Resistance (in ohm)
+R = 8.0 * 10**3 //Resistance (in ohm)
+
+//Calculation
+
+C = 1/(2*%pi*R)*(1/(6 + 4*RC/R)**0.5)/fo //Capacitance (in Farad)
+hfe = 23 + 29 * R/RC + 4* RC /R //Current gain
+Ri = (1/R1 + 1/R2 + 1/hie)**-1 //Input resistance (in ohm)
+R3 = R - Ri //Feedback resitor (in ohm)
+
+//Result
+
+printf("\n Value of capacaitor C is %0.3f micro-Farad.\nValue of transistor gain is hfe >= %0.3f .\nValue of feedback resistor R3 is %0.1f kilo-ohm.",C*10**6,hfe,R3*10**-3)