exercise4-5 is redone from prev changes to exercise4-4; added functions sin, cos, tan, exp, log, and pow