diff --git a/src/Calculator.ts b/src/Calculator.ts index 8795d57..0395f49 100644 --- a/src/Calculator.ts +++ b/src/Calculator.ts @@ -86,4 +86,9 @@ export default class Calculator { this.current = Math.cosh(this.current); return this; } + + public tanh() { + this.current = Math.tanh(this.current); + return this; + } }