Calculus Examples

Find the Local Maxima and Minima x(12-pi/4x-1/2x)+pi/2x
I am unable to solve this problem.