Python Numpy Array Maximum Value Of Sin2xcosx