import math
from __future__ import division
#initialisation of variables
Rl=1 #kΩ
Rf=10 #kΩ
Rd=1 #kΩ
#CALCULATIONS
Aol=-10**4
Av=(Aol/(1+(Rl/Rf)*(1-Aol)+(Rl/Rd)))
#RESULTS
print"The value of Av=",round(Av,3);
import math
from __future__ import division
#initialisation of variables
Rl=1
Rf=10
Rd=1
#CALCULATIONS
Aol=-10**4
Av=(Aol/(1+(Rl/Rf)*(1-Aol)+(Rl/Rd)))
#RESULTS
print"The value of Av=",round(Av,3);
import math
from __future__ import division
#initialisation of variables
f=100 #Hz
#CALCULATIONS
R=10*10**3 #Ω
C=(0.1/(2*3.14*f*R))*10**9 #Capicitor
#RESULTS
print"The value of C=",round(C,3),"nF";
import math
from __future__ import division
#initialisation of variables
R1=10*10**3 #Ω
R2=20*10**3 #Ω
R3=20*10**3 #Ω
#CALCULATIONS
Av=-((R2*R3)/(R1*(R2+R3)))
#RESULTS
print"The value of Av=",round(Av,3);