A few weeks ago I took part in a math competition and had this question through some trial and error I got the correct answer 80 as I didn't have time to use maximization using calculus, is there a way to do this question quickly in a rigorous way:
Find the maximum possible value of $$ 9\sqrt{x}+8\sqrt{y}+5\sqrt{z} $$
where x, y, and z are positive real numbers satisfying $$ 9x +4y+z=128 $$
Any help would be greatly appreciated, thanks.