The result may have little or no significance if the magnitude of arg is large (until C11). Adobe Algorism Android Apache App Apple C cocos2d-x CSS CSS3 Design Game Center Google HTML HTML5 Information iOS iOS Dev Center iPad iPhone iPhone App iTunes Connect JavaScript jQuery Mac MacBook MacBook Air macOS Mac OS X Mac Pro Manual Nintendo Objective-C Reject SCSS Sprite Kit Sublime Text Swift Template Terminal Tips Tools WordPress. Jul 25, 2015 C Scientific Calculator code and implemention.
- The C Standard Library
- C Standard Library Resources
- C Programming Resources
- Selected Reading
Description
The C library function double sin(double x) returns the sine of a radian angle x.
Dev C++ Sin Cos Tank
Declaration
Dev C++ Sin Cos Tan Online
Following is the declaration for sin() function.
Parameters
- x − This is the floating point value representing an angle expressed in radians.
Return Value
This function returns sine of x.
Example
The following example shows the usage of sin() function.
C++ Cos Function
Let us compile and run the above program to produce the following result −