Best Answer


int main()


std::cout << "sin(1) = " << std::sin(1.0) << std::endl;

std::cout << "cos(1) = " << std::cos(1.0) << std::endl;

std::cout << "tan(1) = " << std::tan(1.0) << std::endl;

std::cout << "asin(1) = " << std::asin(1.0) << std::endl;

std::cout << "acos(1) = " << std::acos(1.0) << std::endl;

std::cout << "atan(1) = " << std::atan(1.0) << std::endl;



sin(1) = 0.841471

cos(1) = 0.540302

tan(1) = 1.55741

asin(1) = 1.5708

acos(1) = 0

atan(1) = 0.785398

User Avatar

Wiki User

โˆ™ 2014-04-24 15:18:14
This answer is:
User Avatar
Study guides

Data Science

See all cards
7 Reviews

Add your answer:

Earn +20 pts
Q: How do you use sin in c plus plus?
Write your answer...
Still have questions?
magnify glass
Related questions

Can you use the law of sines if 3 sides are given?

Yes, but you would need to know a degree measure too. [Sin(A)/a] = [Sin(B)/b] = [Sin(C)/c] [a/Sin(A)] = [b/Sin(B)] = [c/Sin(C)]

How the turbo c plus plus use in the computer?

How the turbo c plus plus use what in the computer.

How do you use conioh header in c plus plus?

just as you do it in C.

How do you get the sides of the triangle when 3 angles are given and its perimeter?

You need to use the sine rule. If the three angles are A, B and C and the sides opposite them are named a, b and c then, by the sine rule, a/sin(A) = b/sin(b) = c/sin(C) Therefore b = a*sin(B)/sin(A) = a*y where y = sin(B)/sin(A) can be calculated and c = a*sin(C)/sin(A) = a*z where z = sin(C)/sin(A) can be calculated. then perimeter = p = a + b + c = a + ay + az = a*(1 + y + z) therefore a = p/(1 + y + z) or a = p/[1 + sin(B)/sin(A) + sin(C)/sin(A)]. Everything on the right hand side is known and so a can be calculated. Once that has been done, b = a*y and c = a*z.

What you use for compiling a programme in c plus plus?

To compile a program in C++, you would use a compiler, such as Dev C++

How do you solve Sin x plus sin 3x plus sin 5x plus sin 7x equals?


How can you use multiple inheritance in c plus plus and not in java?

Yes, you are right, you can use multiple inheritance in c plus plus and not in Java. What is the question?

Can you use c plus plus in windosh vista?

Only if you have a C++ compiler.

Which is best C or C plus plus?

depends what you use it for. c++ = object oriented c = not object oriented

User defined data type in c plus plus?

Use "typedef" : both in C and C++.

How do we add the C plus plus category in Netbeans?

To use C++ in Netbeans you will need a C++ compiler.

Can you use c in c plus plus without using class and object?


People also asked