This site is supported by donations to The OEIS Foundation.
Template:Sinh
From OeisWiki
The following documentation is located at Template:Sinh/doc. [<Edit> Template:Sinh/doc]
[⧼Purge⧽ Template:Sinh]
[⧼Purge⧽ Template:Sinh]
The {{sinh}} hyperbolic function template returns the hyperbolic sine of , where is a real number.
Contents
Usage
- {{sinh|a real number}}
Valid input
- A real number as argument.
Examples
Examples with valid input
Code Result {{sinh|-1}} -1.1752011936438 {{sinh|-0.5}} -0.52109530549375 {{sinh|0}} 0 {{sinh|0.5}} 0.52109530549375 {{sinh|1}} 1.1752011936438
Examples with invalid input (returns an error message)
Code Result {{sinh|i}} Sinh error: Argument must be a real number
Code
{{ifnum| {{{1|not a number}}} | {{#expr: ( exp (+{{{1}}}) - exp (-{{{1}}}) ) / 2 }} | {{error| Sinh error: Argument must be a real number }} }}
See also