How To Determine Maximum Profit