summaryrefslogtreecommitdiff
path: root/3809/CH15/EX15.6/EX15_6.sce
blob: b0738d818b0039036e455f7fd0515468959d5277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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)