AC\] But\[\cos B=\frac{{{a}^{2}}+{{c}^{2}}-{{b}^{2}}}{2ac}=\frac{1}{2}\Rightarrow B=\frac{\PI }{3}\].