Real Version:
Complex Number Version :double sin(double x);
complex sin(complex z);
Parameter :
- Parameter : Double Value.
- Returns : Double
#include<stdio.h>
#include<math.h>
int main(void)
{
double result, x = 0.5;
result = sin(x);
printf("The sin() of %lf is %lf\n", x, result);
return 0;
}
- For More Accurate Result We should use Mathematical Constant M_PI
- Angles are specified in radians.
| Angle | Symbolic Version |
| 180 | M_PI |
| 90 | M_PI / 2 |
| 60 | M_PI / 3 |
| 45 | M_PI / 4 |
| 30 | M_PI / 6 |

0 comments
Post a Comment
Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email