answersLogoWhite

0

C program to find the value of sinx?

Updated: 12/16/2022
User Avatar

Wiki User

14y ago

Best Answer

#include

double x, y;

y = sin (x);

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: C program to find the value of sinx?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write c program to manipulate sinx?

'sin (x)' means the sinus of x. There is no point in 'manipulating' it.


Integration of sinx is?

-cos x + C


Which is the antiderivative of sinxcosx?

Using u-substitution (where u = sinx), you'll find the antiderivative to be 0.5*sin2x + C.


What is answer of integral of square root of sinx?

Rewrite as, int[sinx 1/2 ] = - (2/3)cosx 3/2 + C ==================or = - (2/3)sqrt[cosx 3] + C ==================


Program for sin series in c language?

find the program in c-pgms.blogspot.com


How do you write a c program to find square of a no using call by value?

int square (int N) return N*N;


What is the integral of cot squared x?

ln(sinx) + 1/3ln(sin3x) + C


Integeation of sinx?

The indefinite integral of sin x is equal to -cos x + C.


How do you write a c program to find largest of 3 numbers using pointers?

Find the largest of two, then find the largest of that value and the third value. int* max (int* a, int* b) { return (a*) > (b*) ? a : b; } int* max_of_three (int* a, int* b, int* c) { return max (max (a, b), c); }


How do you write socket program in c?

For first find an example program.


C program to find area of a triangle?

find the area of abc a[2,3] c[6,0]


What is the integral of sin x cubed?

= cos(x)-(cos3(x))/3 * * * * * Right numbers, wrong sign! Int(sin3x)dx = Int(sin2x*sinx)dx = Int[(1-cos2x)*sinx]dx = Int(sinx)dx + Int[-cos2x*sinx]dx Int(sinx)dx = -cosx . . . . . (I) Int[-cos2x*sinx]dx Let u = cosx, the du = -sinxdx so Int(u2)du = u3/3 = 1/3*cos3x . . . . (II) So Int(sin3x)dx = 1/3*cos3x - cosx + C Alternatively, using the multiple angle identities, you can show that sin3x = 1/4*[3sinx - sin3x] which gives Int(sin3x)dx = 1/4*{1/3*cos(3x) - 3cosx} + C