# Variable Declaration
F_m = 4.00*pow(10,3) # Maximum Frequency Component in Message Signal (Hz)
# Calculation
import math # Math Library
F_s = 2*F_m # Minimum Sampling Frequency using Sampling Theorem (Hz)
# Result
print "F_s >=(greater than or equal to)",F_s/pow(10,3),"kHz"
# Variable Declaration
F1 = 500 # Single Tone Sine Wave Frequency in Message Signal (Hz)
F2 = 750 # Lowest Value Sound Frequency in Message Signal (Hz)
F3 = 1800 # Highest Value Sound Frequency in Message Signal (Hz)
# Calculation
import math # Math Library
F_m = max(F1,F2,F3) # Maximum Frequency Component (Hz)
F_s = 2*F_m # Minimum Sampling Frequency using Sampling Theorem (Hz)
# Result
print "F_s >=(greater than or equal to)",F_s,"Hz"