How to print any value of sin of a angle in c programming | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How to print any value of sin of a angle in c programming

18th Jun 2021, 6:53 PM
Aayush Verma
2 ответов
+ 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
18th Jun 2021, 6:56 PM
Jayakrishna 🇮🇳
+ 1
@Martin Yes. Again. .. radians.. not radius. Link can clarifying it though..
18th Jun 2021, 8:12 PM
Jayakrishna 🇮🇳