The ratio of the greatest value of 2−cosx+sin2x is to its least value, is
Let,y=2−cosx+sin2x then,
y=2−cosx+1−cos2x⇒ y=3−(cos2x+cosx)⇒y=134−(cosx+12)2
Now,
−1≤cosx≤1for allx⇒−12≤(cosx+12)≤32for allx⇒0≤(cosx+12)2≤94for allx⇒−94≤−(cosx+12)2≤0for allx⇒134−94≤134−(cosx+12)2≤134for allx⇒1≤y≤134∴ymax=134andymin=1
Hence, required ratio is 134