summaryrefslogtreecommitdiff
path: root/3809/CH15/EX15.6/EX15_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3809/CH15/EX15.6/EX15_6.sce')
-rw-r--r--3809/CH15/EX15.6/EX15_6.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3809/CH15/EX15.6/EX15_6.sce b/3809/CH15/EX15.6/EX15_6.sce
new file mode 100644
index 000000000..b0738d818
--- /dev/null
+++ b/3809/CH15/EX15.6/EX15_6.sce
@@ -0,0 +1,20 @@
+//Chapter 15, Example 15.6
+
+clc
+//Initialisation
+g=2*10**5 //open loop gain
+g2=20 //closed loop gain
+ro=75 //ouput resistance
+ri=2*10**6 //input resistance
+r1=1000 //resistance in ohm
+
+//Calculation
+ab=g/g2 //1 + AB
+ro1=ro/ab //output resistance in ohm
+
+
+//Results
+printf("Output Resistance = %.1f mOhm\n",ro1*1000)
+printf("Input Resistance = %d kOhm\n",r1/1000)
+
+