Ruby program to find the hyperbolic arcsine of the given value

bookmark

print "Enter value: ";
value = gets.chomp.to_f;  

result = Math.asinh(value);
print "Hyperbolic Arcsine is: ",result;

 


Output:

Enter value: 0.5
Hyperbolic Arcsine is: 0.48121182505960347