How To Calculate Maximized Profit