+ 2
How am I use logarithm function and trigonometry function and cubic
https://code.sololearn.com/cI5R56VQ89MQ/?ref=app https://code.sololearn.com/cI5R56VQ89MQ/?ref=app
4 Answers
+ 1
Can I go with #include<math.h>
Function
+ 1
Yes..
math.h has functions log, log 10, sin, cos,tan, sqrt,...
+ 1
log10(10000)=4.00
cos(90)=0.0
cbrt(64)=4
See these ones..
https://www.codesdope.com/blog/article/important-functions-in-mathh-library-of-c/
https://www.programiz.com/c-programming/library-function/math.h
Edit:
A.K.sđ
The values for cos, sin arguments are in radius, so see this how convert digrees into radius...
https://www.dummies.com/programming/c/trigonometry-for-c-programming/
https://www.google.com/amp/s/www.geeksforgeeks.org/c-library-math-h-functions/amp/
Hoping it helps..
0
How am I use