Hi, welcome to my Sandbox page.
Maths - ordinary markup ...
sin2 x or (sin x)2
sin2(x) or (sin(x))2
... vs math markup
sin 2 ( x ) = ( sin ( x ) ) 2 {\displaystyle \sin ^{2}(x)=(\sin(x))^{2}} not sin ( x 2 ) {\displaystyle \sin(x^{2})}
sin 2 x = ( sin x ) 2 {\displaystyle \sin ^{2}x=(\sin x)^{2}} not sin x 2 {\displaystyle \sin x^{2}}