\(\sin45-cotg60\cdot\cos30=\dfrac{\sqrt{2}}{2}+\dfrac{1}{\tan\left(60\right)}\cdot\dfrac{\sqrt{3}}{2}=\dfrac{\sqrt{2}}{2}+\dfrac{1}{\sqrt{3}}\cdot\dfrac{\sqrt{3}}{2}=\dfrac{\sqrt{2}}{2}+\dfrac{1}{2}=\dfrac{1+\sqrt{2}}{2}\)
p/s: cot60 = \(\dfrac{1}{\tan60}\)