Using Shannons Sampling Theorem