Trace:

hyperbolic_functions_lbb

This shows you the differences between two versions of the page.

Both sides previous revision Previous revision | |||

hyperbolic_functions_lbb [2018/04/10 20:20] richardrussell old revision restored |
hyperbolic_functions_lbb [2018/04/17 16:38] (current) tbest3112 Added syntax highlighting |
||
---|---|---|---|

Line 3: | Line 3: | ||

Liberty BASIC doesn't include the [[https://en.wikipedia.org/wiki/Hyperbolic_function|hyperbolic trig functions]] (**sinh**, **cosh**, **tanh** etc.) as a built-in feature, but they can easily be synthesised as user-defined functions as follows: | Liberty BASIC doesn't include the [[https://en.wikipedia.org/wiki/Hyperbolic_function|hyperbolic trig functions]] (**sinh**, **cosh**, **tanh** etc.) as a built-in feature, but they can easily be synthesised as user-defined functions as follows: | ||

- | <code> | + | <code lb> |

function sinh(x) | function sinh(x) | ||

sinh = (exp(x) - exp(-x)) / 2 | sinh = (exp(x) - exp(-x)) / 2 |

hyperbolic_functions_lbb.txt ยท Last modified: 2018/04/17 16:38 by tbest3112

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International