COMMONLY USED MATHEMATAL FUNCTIONS

 
FUNCTION SYNTAX ANNOTATED EXAMPLE
square root >sqrt( );  >sqrt( x 2 ); computes 
  OR > ( )^(1/2); >(x-2)^(1/2); computes .
any root >surd( x, n); Input >readlib(surd): then input >surd( -8, 3) 
to compute the real cube root of -8. 
The command readlib(surd): need onlv be excuted 
once in a session.
exponential function >exp( ); >exp(x^2); computes 
natural logarithm >ln( ); >ln(3/x); computes natural logarithm of 3/x
sine function > sin( ); >sin(3*Pi/4); computes 
cosine function > cos( ); See sine function
tangent function >tan( ); See sine function
inverse sin (arcsine) >arcsin( ); See sine function
inverse cosine (arccosine) >arccos( ); See sine function
inverse tangent (arctangent) >arctan( ); See sine function
absolute value >abs( ); abs(3-8); computes | 3 – 8 |
 

Teresa Dern Henson
Lecturer
Department of Mathematics
Naval Postgraduate School