What is the formula for converting polar coordinates to rectangular coordinates?

Redirected from "How can I construct vector diagrams?"