summaryrefslogtreecommitdiff
path: root/3809/CH15/EX15.7/EX15_7.sce
blob: b13b2535ee920416ea5b359dd35f585f52e0ecb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//Chapter 15, Example 15.7

clc
//Initialisation
g=2*10**5                   //open loop gain
g2=1                       //closed loop gain
ro=75                        //ouput resistance
ri=2*10**6                   //input resistance

//Calculation
ab=g/g2                      //1 + AB
ro2=ro/ab                    //output resistance in ohm
ri2=ri*ab                    //input resistance in ohm

//Results
printf("Output Resistance = %.1f uOhm\n",ro2*10**6)       //wrong answerin textbook
printf("Input Resistance = %d GOhm",ri2/10**9)