Computer Science, asked by neerajsaun83, 5 months ago

what are the mathematical functions that can be used in QBASIC explain with exples ​

Answers

Answered by hi572182
0

Answer:

Basic's Mathematical Functions

Function Description

SGN(n) returns -1 if n < 0, 0 if n = 0, 1 if n > 0: SGN(-5) = -1

SIN(angle*) returns the sine of an angle in radians. (vertical component)

SQR(n) returns the square root of a number. (n >= 0)

TAN(angle*) returns the tangent of an angle in radians

Answered by tejas824649
2

Answer:

 \huge \underline  \mathfrak \blue{answer}

Function Description

➡SGN(n) returns -1 if n < 0, 0 if n = 0, 1 if n > 0: SGN(-5) = -1

➡SIN(angle*) returns the sine of an angle in radians. (vertical component)

➡SQR(n) returns the square root of a number. (n >= 0)

➡TAN(angle*) returns the tangent of an angle in radian

Similar questions