blob: 2990a33f0edf9090784615f91057e5f10fb45814 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
clear
//Initialisation
OG=2*10**5 //Open Loop Gain
CG=1 //Closed Loop Gain
OR1=75 //Output Resistance
IR1=2*10**6 //Input Resistance
//Calculation
AB=OG*CG**-1 //factor (1+AB)
OR2=OR1*AB**-1 //Output Resistance
IR2=IR1*AB //Input Resistance
//Result
printf("\n Output Resistance = %d uOhm\n",OR2*10**6)
printf("\n Input Resistance = %d GOhm",IR2*10**-9)
|