#3dB Frequency
import math
#variable declaration
Omega_Z1=0.0 #in Radian/sec
Omega_Z2=10.0 #in Radian/sec
Omega_P1=100.0 #in Radian/sec
Omega_P2=25.0 #in Radian/sec
#calculations
WL=math.sqrt(Omega_P1**2+Omega_P2**2-2*Omega_Z1**2-2*Omega_Z2**2) #in radian/sec
#Result
print("Approximate value of lower 3dB Frequency in radian/sec : %.1f"%WL)
#Upper 3dB Frequency
import math
#variable declaration
Omega_P1=1.0*10**4 #in Radian/sec
Omega_P2=2.0*10**4 #in Radian/sec
Omega_Z1=1.0*10**5 #in Radian/sec
#calculations
omegaH=1/math.sqrt(1/Omega_P1**2+1/Omega_P2**2-2/Omega_Z1**2) #in radian/sec
#result
print("Approximate value of lower 3dB Frequency in radian/sec : %.0f "%(math.ceil(omegaH)))