answersLogoWhite

0

You are able to calculate the tangent of a number using the Math class (java.lang.Math). The tan(double a) method is the one you are looking for. For example: double a = 2.5; double tangent = java.lang.Math.tan(a);

User Avatar

Wiki User

16y ago

Still curious? Ask our experts.

Chat with our AI personalities

JudyJudy
Simplicity is my specialty.
Chat with Judy
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin

Add your answer:

Earn +20 pts
Q: How do you add tangent in calculator in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp