|
Post by angelo2449 on Jul 12, 2019 8:52:57 GMT -5
Hi guys,
I'm looking for a little program or a function that calculates the hyperbolic sine of X.
Do you know anything?
Thank you.
|
|
|
Post by tenochtitlanuk on Jul 12, 2019 10:05:28 GMT -5
From Wikipedia definition..
for i = -5 to 5 print i, sinh( i) next i
wait
function sinh( x) sinh =( exp( 2 *x) -1) /( 2 *exp( x)) end function
|
|
|
Post by angelo2449 on Jul 14, 2019 4:25:06 GMT -5
Thank you, do you also have the reverse function? (Arcsinh) Thanks again.
|
|
|
Post by tenochtitlanuk on Jul 14, 2019 9:34:15 GMT -5
Again, straight from Wikipedia...
for i = -5 to 5 print i, using( "###.###", sinh( i)), using( "###.###", asinh( sinh( i))) next i
wait
function sinh( x) sinh =( exp( 2 *x) -1) /( 2 *exp( x)) end function
function asinh( x) asinh =log( x +( x^2 +1)^0.5) end function
|
|