Ruby program to find the hyperbolic cosine of given radian value
print "Enter value in radian: ";
radian = gets.chomp.to_f;
result = Math.cosh(radian);
print "Hyperbolic cosine is: ",result;
Output:
Enter value in radian: 23.4
Hyperbolic cosine is: 7268769227.386929
