Formula To Find Maximum Value Of A Function Definition