answersLogoWhite

0

#include<iostream>

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;

}

Output:

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

10y ago

Still curious? Ask our experts.

Chat with our AI personalities

MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor

Add your answer:

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