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

ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
ReneRene
Change my mind. I dare you.
Chat with Rene
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa

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