Do problem 20 in Python; remove any sort of challenge with scipy.