In: Math
A company produces two types of solar panels per year: x thousand of type A and y thousand of type B. The revenue and cost equations, in millions of dollars, for the year are given as follows.
R(x,y)equals=3x+5y
C(x,y)equals=x^2-3xy+7y^2+12x-56y-2
Determine how many of each type of solar panel should be produced per year to maximize profit.