Skip to content

Tag Archives: Ruby Math-class

The acos() is an inbuilt function in Ruby which returns the inverse cosine of a number (argument) in radians. The value which is returned by… Read More
The acosh() is an inbuilt function in Ruby returns the inverse hyperbolic cosine of an angle given in radians. Syntax: Math.acosh(value) Parameters: The function accepts… Read More
The asin() is an inbuilt function in Ruby returns the arc sine of a number means give a sin value to this function it will… Read More
The asinh() is an inbuilt function in Ruby returns the inverse hyperbolic sine of an angle given in radians. It accepts all values between range… Read More
The atan() is an inbuilt function in Ruby returns the arc tangent of a number means give a tangent value to this function it will… Read More
The atan2() is an inbuilt function in Ruby returns angent inverse of (y/x), where y is the proportion of the y-coordinate and x is the… Read More
The atanh() is an inbuilt function in Ruby returns the inverse hyperbolic tangent of an angle given in radians. It accepts values in the range… Read More
The cbrt() is an inbuilt function in Ruby returns the cube root of a given value.  Syntax: Math.cbrt(value)  Parameters: The function accepts one mandatory parameter… Read More
The sqrt() is an inbuilt function in Ruby returns the square root of a given value. Syntax: Math.sqrt(value) Parameters: The function accepts one mandatory parameter… Read More
The cos() is an inbuilt function in Ruby returns the cosine value of a given angle expressed in radians which is in range [-inf, +inf].… Read More
The sin() is an inbuilt function in Ruby returns the sine of a given angle expressed in radians which is in range [-inf, +inf]. The… Read More
The tan() is an inbuilt function in Ruby returns the tangent of a given angle expressed in radians which is in range [-inf, +inf]. The… Read More
The tanh() is an inbuilt function in Ruby returns the the hyperbolic tangent of value given in radians. The value passed is in range [-inf,… Read More
The sinh() is an inbuilt function in Ruby returns the hyperbolic sine of value given in radians. The value passed is in range [-inf, +inf].… Read More
The cosh() is an inbuilt function in Ruby returns the the hyperbolic cosine of value given in radians. The value passed is in range [-inf,… Read More