next up previous contents
Next: Mixing Types Up: Intrinsic Functions Previous: Mathematical Intrinsic Functions   Contents

Examples

Write a program for polar to cartesian coordinate transformation.

Write a program to solve a quadratic equation.

Write a program to approximate the exponential by Taylor polynomials with a prescribed tolerance, but using an order lower than or equal to a prescribed value (when the order needed to satisfy a certain accuracy is too high, we stop at the prescribed maximal order and ignore the tolerance requirement). Check program's accuracy and speed against the intrinsic function EXP.



Adrian Sandu 2001-08-26