Maximum And Minimum Value Of A Function