In a triangle ABC, if cosA+2cosB+cosC=2 and the lengths of the sides opposite to angles A and C are 3 and 7 respectively, then cosA-cosC is equal to [2023]
(2)
We have, cosA+2cosB+cosC=2
∴ [b2+c2-a22bc]+2[c2+a2-b22ac]+[a2+b2-c22ab]=2
⇒[b2+49-914b]+2[49+9-b242]+[9+b2-496b]=2 [∵a=3, c=7]
⇒b2+4014b+58-b221+-40+b26b=2
⇒ b3-5b2-16b+80=0
⇒ (b-4)(b+4)(b-5)=0
⇒ b=-4 or 4 or 5
b≠-4 (∵ b cannot be -4)
For b=4, triangle cannot be constructed
∴ b=5
Now, cosA-cosC=b2+c2-a22bc-a2+b2-c22ab
=49+25-92×7×5-9+25-492×3×5=1314+12=107