## Ruby – Find Square Root (Non-Negative) – sqrt() Method with Examples PreviousNext You can use sqrt() method to find the square root of any given complex number in Ruby programming. The given number should be non-negative. sqrt() method exists in CMath library of Ruby. sqrt() method in Ruby sqrt() method exists in Standard sqrt() Library of Ruby. The purpose of this method is to obtain the non-negative square root of any…

## Ruby – Find Base 2 Logarithm – log2() Method – Examples & Explanation log2() is a method in CMath class which is used to find the base 2 logarithm of any given complex number in Ruby language. log2() Method in Ruby log2() method exists in Standard CMath Library of Ruby. The purpose of this method is to provide base 2 logarithm of any given complex number.   Syntax of…

## Ruby – Find Base 10 Logarithm – log10() Method – Examples & Explanation log10() is a method in CMath class which is used to find the base 10 logarithm of any given complex number in Ruby language. log10() Method in Ruby log10() method exists in Standard CMath Library of Ruby. The purpose of this method is to provide base 10 logarithm of any given complex number.   Syntax of…

## Ruby – Find Natural Logarithm – log() Method – Examples & Explanation log() is a method in CMath class which is used to find the natural logarithm of a given complex number in Ruby language and if a second argument is given in the code, it will be the base of the logarithm. log() Method in Ruby log() method exists in Standard CMath Library of Ruby. The purpose…

## Ruby – Find Arc Tangent – atan() Method – Examples & Explanation atan() a method in CMath library which is used to find the arc tangent of any given complex number in Ruby language. atan() method in Ruby atan() method exists in Standard CMath Library of Ruby. The purpose of this method is to provide perfect arc tangent of any given complex number. Syntax of the atan() method in…

## Ruby – Find Hyperbolic Tangent – tanh() Method with Examples In Ruby, tanh() method can be used to find the hyperbolic tangent of the any given complex number in Ruby language where this number is given in radians. tanh() method exists in CMath library of Ruby programming language. tanh() Method in Ruby tanh() method exists in Standard CMath Library of Ruby. The purpose of this method is to provide…

## Ruby – Find Tangent – tan() Method – Examples & Explanation In Ruby, tan() method can be used to find the tangent of the any given complex number in Ruby language where this number is given in radians. tan() method exists in CMath library of Ruby programming language. tan() method in Ruby tan() method exists in Standard tan() Library of Ruby. The purpose of this method is to provide…

## Ruby – Find Inverse Arc Sine – asin() Method – Examples & Explanation asin() method can be used to find the inverse arc sine of the any given complex number in Ruby programming language. CMath.asin() method exists in CMath library of Ruby language. asin() Method in Ruby asin() method exists in Standard CMath Library of Ruby. The purpose of this method is to provide perfect arc sine of the given…

## Ruby – Find Hyperbolic Sine – sinh() Method – Examples & Explanation sinh() method can be used to find the hyperbolic sine of the any given complex number in Ruby language where number should be given in radians. sinh() method exists in CMath library of Ruby programming language. sinh() Method in Ruby sinh() method exists in Standard CMath Library of Ruby. The purpose of this method is to provide perfect…

## Ruby – Find Sine – sin() Method – Examples & Explanation sin() method can be used to find the sine of the any given complex number in Ruby language where this number is given in radians. sin() method exists in CMath library of Ruby. sin() method in Ruby sin() method exists in Standard CMath Library of Ruby. The purpose of this method is to provide perfect sine of any given…