Вычислите: \(2\cos60^{\circ}-\tg\frac{\pi}{4}.\)
\(1\)
\(\frac{\sqrt{2}}{2}\)
\(0\)
\(\frac{\sqrt{3}}{2}\)