Fix trigonometry formatting
Add example