Dynagraph's built-in functions and constants

The following constants are predefined:
     Pi = 3.14159265358979323846    (the number pi)
     E  = 2.71828182845904523536    (Euler's constant)
These, as all other dynagraph symbols, are case-sensitive and must be entered as shown.

The following functions are predefined:

     sin cos tan          # trigonometric functions
     atan asin acos       # inverse trigonometric functions
     arctan arcsin arccos # synonyms of the above
     atan2                # atan2(y,x) is similar to atan(y/x)
     arctan2              # synonym of the above
     sinh cosh tanh       # hyperbolic functions
     atanh asinh acosh    # inverse hyperbolic functions
     arctanh arcsinh arccosh # synonyms of the above
     ln (same as log)     # the natural logarithm
     log10                # logarithm in base 10
     exp                  # the exponential function
     erf erfc             # error function and complementary error function
     sqrt                 # square root
     int                  # the integer part of a real number
     abs                  # absolute value
     BesselJ BesselY      # Bessel functions of the first and second kind

Exponentiation is indicated by the caret symbol, as in 2^3.5 .

All computations are performed in the hardware in double precision.

The Bessel functions BesselJ(n,x) and BesselY(n,x) correspond to the functions commonly denoted by J_n(x) and Y_n(x) in the mathematical literature. The index n must be and integer.

Back to table of contents