EXP

BASin

EXP EXPonent

Function

EXP is a mathematical function that raises the exponent e to a given power.

How to use EXP

EXP is followed by a numeric value, for example

60 LET y=EXP x

An expression mst be enclosed in brackets. EXP then returns the exponent e raised to the power of the argument (x above).

Example

The command

PRINT EXP 1

displays 2.7182818, the value of e.

Format

  • EXP num-const
  • EXP num-var
  • EXP (num-expr)

See also

Chapter 10.