User Tools

Site Tools


hyperbolic_functions_lbb

Differences

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

Link to this comparison view

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