We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nataliapc/mcp-openmsx'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
TAN().md•514 B
# TAN()
## Effect
Returns the tangent of a variable.
## Syntax
`TAN(<Number>)`
## Parameter
`<Number>` can be a value, a numeric variable or an expression in radians.
## Example
```basic
10 PRINT "The tangent of 1 is ";TAN(1)
20 PRINT "The tangent of -1.23 is ";TAN(-1.23)
RUN
The tangent of 1 is 1.5574077246549
The tangent of -1.23 is -2.8198157342686
```
## Related to
`ATN()`, `COS()`, `SIN()`
## Compatibility
MSX-BASIC 1.0 or higher
## Source
Retrieved from "https://www.msx.org/wiki/TAN()"