Narek H. answered 07/30/20
PhD in Mathematics
Rewrite R = M^2 * C/2 - M^3 / 3, now differentiating with respect to M we find
dR/dM = CM - M^2, denote this function by f(M). The goal is to maximize the function f. So we start by finding its critical points, for that we need to differentiate in M again
f'(M) = C - 2M, equating to zero we see that the only critical point of f is M=C/2. Further we note that if M>C/2 then f'(M)<0, that is f decreases after C/2 and similarly it increases before C/2.
Thus, M=C/2 is the point where f(M) or equivalently dR/dM attains its maximum value.