# BBC BASIC Programmers' Reference

### Site Tools

hyperbolic_functions

# Differences

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

 hyperbolic_functions [2018/04/10 21:20]richardrussell old revision restored (2018/04/07 09:40) hyperbolic_functions [2018/04/17 16:37] (current)tbest3112 Corrected syntax highlighting Both sides previous revision Previous revision 2018/04/17 16:37 tbest3112 Corrected syntax highlighting2018/04/10 21:20 richardrussell old revision restored (2018/04/07 09:40)2018/04/10 20:20 richardrussell 2018/04/07 09:40 created 2018/04/17 16:37 tbest3112 Corrected syntax highlighting2018/04/10 21:20 richardrussell old revision restored (2018/04/07 09:40)2018/04/10 20:20 richardrussell 2018/04/07 09:40 created Line 3: Line 3: BBC 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: BBC 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 ​bbc> + <​code ​bb4w> DEF FNsinh(x) = (EXP(x) - EXP(-x)) / 2 DEF FNsinh(x) = (EXP(x) - EXP(-x)) / 2 DEF FNcosh(x) = (EXP(x) + EXP(-x)) / 2 DEF FNcosh(x) = (EXP(x) + EXP(-x)) / 2