Postgres Create Function Example Problems Trigonometric Functions