answersLogoWhite

0


Best Answer

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

12y ago
This answer is:
User Avatar

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
Related questions

How do you control PowerPoint slides using java?

You can control Powerpoint Slides using Java with Aspose.Slides for Java Library: - http://www.aspose.com/java/powerpoint-component.aspx


What are the technologies without using java?

you can use type writer to avoid using java :)


What are java applications?

Applications that are built using the Java language are termed as Java applications.


What is the areas of application of java?

Applications that are built using the Java language are termed as Java applications.


Has anyone developed web services using java?

of course, there are services developed using java technology


How do you execute a Java program?

You can run a Java application from the command line using "java <name of the class>"


How do you calculate ascii value in java?

char a = 'A'; System.out.println((int)a);


Is it possible to draw in java without using applet?

Yes it is possible to draw in java by using AWT package. or by using javax package.


What has the author Joe Weber written?

Joe Weber has written: 'Using Java 1.2' -- subject(s): Java (Computer program language) 'Using Java 1.1' -- subject(s): Java (Computer program language)


Is spring framework in java?

Yes, Spring is a framework built using the Java Technology.


Can you provide a solution to the diamond-square algorithm using Java and recursion?

Yes. It is possible to provide a solution to the diamond-square algorithm using Java and recursion.


How do you run the frames in java?

first compile java program using "javac" then run frame using "appletviewer". e.x. = appletviewer filename.java