UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software

rocketsoftware.com
from rocketsoftware.com More from this publisher
11.04.2013 Views

Return Code Status 1-742 UniBasic Commands Reference 3 Message digest cannot be obtained. 4 Invalid parameters. 5 Key cannot be read or is in the wrong format / algorithm. 6 Incorrect Password. 7 Signature cannot be generated. 8 Signature cannot be verified. Return Code Status (continued)

SIN Syntax SIN(num.expr) Description The UniBasic SIN function returns the trigonometric sine of the numeric expression num.expr. Examples In the following example, the program segment assigns the sine of the number 25 to the variable SIN.X. The result is 0.4226. X = 25 SIN.X=SIN(X) In the next example, the program statement prints 1.0000, the sine of 90: PRINT SIN(90) Related Commands ACOS, ASIN, ATAN, COS, TAN SIN 1-743

SIN<br />

Syntax<br />

SIN(num.expr)<br />

Description<br />

The <strong>UniBasic</strong> SIN function returns the trigonometric sine of the numeric expression<br />

num.expr.<br />

Examples<br />

In the following example, the program segment assigns the sine of the number 25 to<br />

the variable SIN.X. The result is 0.4226.<br />

X = 25<br />

SIN.X=SIN(X)<br />

In the next example, the program statement prints 1.0000, the sine of 90:<br />

PRINT SIN(90)<br />

Related <strong>Commands</strong><br />

ACOS, ASIN, ATAN, COS, TAN<br />

SIN 1-743

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!