UNPKG

@nataliapc/mcp-openmsx

Version:

Model context protocol server for openMSX automation and control

37 lines (22 loc) 556 B
# SIN() ## Effect Returns the sine of a variable in radians. ## Syntax `SIN(<Number>)` ## Parameter `<Number>` can be a value, a numeric variable or an expression. ## Example ```basic 10 D1 = ATN(1)*8/360 20 PRINT "The sine of a 45 degree angle is ";SIN(45*D1) 30 PRINT "The sine of a 0 degree angle is ";SIN(0) RUN The sine of a 45 degree angle is .70710678118655 The sine of a 0 degree angle is 0 ``` ## Related to `ATN()`, `COS()`, `TAN()` ## Compatibility MSX-BASIC 1.0 or higher ## Source Retrieved from "https://www.msx.org/wiki/SIN()"