def g( x ) : ''' Solves Problem 4 on Test 2 ''' pass