The maximum value of the expression 1sin2θ+3sinθcosθ+5cos2θ is
Let f(θ)=1sin2θ+3sinθcosθ+5cos2θ Again let g(θ)=sin2θ+3sinθcosθ+5cos2θ =1−cos2θ2+51+cos2θ2+32sin2θ =3+2cos2θ+32sin2θ∴ g(θ)min=−4+94=3−52=12∴ f(θ)=1g(θ)min=2