`"LHS"=2 sin^2(x/2)+cos x`

`=2(sqrt((1-cos x)/(2)))^2+cos x`

`=2((1-cos x)/2)+cos x`

`=1-cos x+cos x`

`=1`

`="RHS"`