When running the program and not providing a sample frequency doesn't produce an warning/error making the end user guess why values become infinite.