In: Math
A farmer has produced 1000 apples and wants to sell them. He can sell the apples at two different markets:
- At market 1, if the farmer sells x apples, he can sell them for 2/square root of x dollars each
- At market 2, if the farmer sells y apples, he can sell them for 4/square root of y dollars each.
Find out how the farmer should split his 1000 apples between both markets in order to maximize profit. (Use Optimization)