answersLogoWhite

0

I assume you want the trigonometric functions. You can use the functions in the Math class. For example, if the variable "x" contains an angle, you can use Math.sin(x), Math.cos(x), etc., and if you want the angle from a sine stored in "y", Math.asin(y), etc.

Note that, as in most programming languages, angles must be specified in radians. The Math class also contains functions to convert from degrees to radians, and from radians to degrees.

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

JudyJudy
Simplicity is my specialty.
Chat with Judy
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
ReneRene
Change my mind. I dare you.
Chat with Rene

Add your answer:

Earn +20 pts
Q: How do you calculate trignometric angle using java?
Write your answer...
Submit
Still have questions?
magnify glass
imp