@nataliapc/mcp-openmsx
Version:
Model context protocol server for openMSX automation and control
39 lines (23 loc) • 599 B
Markdown
# EXP()
## Effect
Returns mathematical constant e (base of the natural logarithm) to the power of a specified number.
## Syntax
`EXP(<Number>)`
## Parameter
`<Number>` must be less or equal 145.06286058562
## Example
```basic
10 PRINT "e to the power of 1 is ";EXP(1)
20 PRINT "e to the power of 0 is ";EXP(0)
30 PRINT "e to the power of 10 is";EXP(10)
RUN
e to the power of 1 is 2.7182818284588
e to the power of 0 is 1
e to the power of 10 is 22026.4657948
```
## Related to
`LOG()`
## Compatibility
MSX-BASIC 1.0 or higher
## Source
Retrieved from "https://www.msx.org/wiki/EXP()"