In a triangle $ABC$ $2a^2+4b^2+c^2=4ab+2ac$ then the numerical value of $cos B$ equals ?
($a,b,c$ are sides opposite to angles $A,B,C$)
I tried to use cosine rule , but couldn't adjust terms accordingly, using the given equation.
Any hints / Solutions are welcome.
Answer: $7/8$
$$2a^2+4b^2+c^2=4ab+2ac\iff (a-2b)^2+(a-c)^2=0$$
Now sum of squares of two real numbers is zero, so each must be individually zero. Hence $a=c=2b$. Then $$ \cos B=\frac{a^2+c^2-b^2}{2ac}=\frac{4b^2+4b^2-b^2}{8b^2}=\frac{7}{8}. $$