How does #(1-sqrt(2/2))/(sqrt(2/2))# simplify to #-sqrt2+1#?

Redirected from "What intermolecular forces are present in #CO_2#?"