what are the mathematical functions that can be used in QBASIC explain with exples
Answers
Answered by
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
2
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