From WikiChip
$sinh Identifier - mIRC
< mirc‎ | identifiers

$sinh returns the hyperbolic sine (hypersine) of an angle of N radians.


Synopsis[edit]

$sinh(<N>)[.deg]

Parameters[edit]

  • N - This is the angle in radians for which you wish to retrieve the hypersine.

You can use the letter 'e' or 'd' as *10^N, $sinh(5e6) = $sinh($calc(5*10^6))

Properties[edit]

  • deg - Sees N as degrees in a 360 degree circle instead of radians.

Example[edit]

//echo -a There are 2x pi radians in a circle, so a radian is $calc(360 / (2*$pi) ) degrees
//var %e 2.718281 | var %angle $calc( 30 * $pi / 180)   | echo -a $sinh(%angle) same as $calc( ((%e ^ %angle) - (%e ^ (0 - %angle) )) /2 )
//var %angle 30 | echo -a $sinh(%angle).deg same as $sinh( $calc( %angle * $pi / 180) ) except for rounding
Unlike $sin,
$sinh(N degrees).deg
is not the same as
$sinh( N + 360 degrees).deg

Compatibility[edit]

Added: mIRC v7.33
Added on: 27 May 2014
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See also[edit]

[Expand]
v · d · e mIRC identifier list