0
How to print any value of sin of a angle in c programming
3 Antworten
+ 1
Include math.h file and you can all algebraic functions like sin,cos,..
sin(x) .
note:where x is in radians,not in degrees . you can get return value in radians also. you can convert in degrees later..
https://www.tutorialspoint.com/c_standard_library/math_h.htm
https://www.techonthenet.com/c_language/standard_library_functions/math_h/sin.php
edit: radians., not radius
+ 1
@Martin Yes. Again. .. radians.. not radius.
Link can clarifying it though..