Similar Collections


In Scala programming language, scala.math package contains the various methods for performing basic numeric operations such as elementary exponential, logarithmic, root and trigonometric functions, etc.

Practice these Scala scala.math Package programs to learn the concept of performing mathematical operations, these programs contain the solved code, outputs, and the detailed explanation of the statements, functions used in the Scala scala.math Package programs.

questions

Title
Scala program to find the largest number using scala.math.max() function
Scala program to find the smallest number using scala.math.min() function
Scala program to perform ceiling operation on given number using scala.math.ceil() function
Scala program to perform floor operation on given number using scala.math.floor() function
Scala program to get the natural logarithm of a Double number using scala.math.log() function
Scala program to get the base 10 logarithm of a Double number using scala.math.log10() function
Scala program to get the Euler\'s number e raised to the power of a Double number using scala.math.exp() function
Scala program to get the absolute value of a given number using scala.math.abs() function
Scala program to calculate the cube root of a given number using scala.math.cbrt() function
Scala program to calculate the IEEE remainder of given numbers using scala.math.IEEEremainder() function
Scala program to convert the angle measured in the degree to radian using scala.math.toRadians() function
total questions: 11

Questions

11

Views

203

Best Answers

299

Points

5