A company that publishes a certain calculus book has a constant marginal cost of $22.50 per book and a constant marginal profit of $14 per book.If it costs the company $12000 to publish 500 copies of the book,determine the profit from selling those 500 copies.