answersLogoWhite

0

Math is a pre-defined class in the package java.lang. It contain various predefined functions in it that help the users to carry out various mathematical operations in their programs.

Various Math Functions are::

Math.pow(x,y) => x^y

Math.sqrt(x) => Square root of 'x'

Math.tan(x),sin(x),cos(x) => tan, sin, cos of 'x' respectively

there are also other functions like Math.ceil,Math.floor,Math.mod,etc.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is math in java programming?

The java. lang. math class allows for the use of many common mathematical functions that can be used while creating programs


Who create Java and when?

Who create Java & when? Why he create java ? What are mane functions of it?


What is function in java terminology?

In Java, a function is called a "method". In Java as well as other languages, a method is a function defined specifically for one class. In Java, this is the only way to define functions, therefore, all functions are methods.In Java, a function is called a "method". In Java as well as other languages, a method is a function defined specifically for one class. In Java, this is the only way to define functions, therefore, all functions are methods.In Java, a function is called a "method". In Java as well as other languages, a method is a function defined specifically for one class. In Java, this is the only way to define functions, therefore, all functions are methods.In Java, a function is called a "method". In Java as well as other languages, a method is a function defined specifically for one class. In Java, this is the only way to define functions, therefore, all functions are methods.


What is the use of functions in java?

Same as in other languages. To organize commands into logical pieces. However, in Java the functions are called "methods". This is related to the fact that in Java, methods or functions are defined as part of a class.


What are functions in JAVA?

for loop function


Why we write java program using classes?

Classes are well organised functions in java which help discriminate between two different functions.


In a java statement Math.sqrt what is Math and what is sqrt?

Math is the class, and sqrt() is the method.


How do you import math functions in python?

At the top of your program: import math or from math import * The second one imports all math functions, like fact() for factorial.


What are impure functions in Java?

Pure functions are those which do not modify the state of an object. Most often these are functions which take arguments and return a result.


What math book did Rudiger Gamm learn math from?

He memorized tables of functions, exponential functions, logarithmic functions, etc, ... try looking up "handbook of mathematical functions"


What is the Java integer class used for?

The Java Integer class is there to help with math. It is very useful and very recommended. To learn more information about it, go to the official Java page.


What is a USERENV.DLL file?

its a .dll file that provides API functions to your user profile.. like JAVA API functions..