The maximum value of the expression 1sin2θ+3sinθcosθ+5cos2θ is
If 1+sin2θ=3sinθcosθ then prove that tanθ=1or12.