math profit and loss pdf