Q1. The demand and cost functions of a monopolist are p=100-3q+4A^1^/^2 and C=4q^2+10q+A(A is the level of advertising expenditure). Find the values of A,q and p that maximise profit.

Since here, profit is a function of q and A, I want to find the value of q and A at maximum profit, by using "total derivative". Will that be correct?