From 6ef01215b0eeff895fac8950c39ac5e64a1c8b3b Mon Sep 17 00:00:00 2001 From: Gemma Lamont Date: Tue, 4 Mar 2025 12:42:18 +0100 Subject: [PATCH 1/2] Add explanation to which method we use to calculate coth. --- modules/ROOT/pages/functions/mathematical-trigonometric.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ROOT/pages/functions/mathematical-trigonometric.adoc b/modules/ROOT/pages/functions/mathematical-trigonometric.adoc index a4c3aaf86..1c7978af0 100644 --- a/modules/ROOT/pages/functions/mathematical-trigonometric.adoc +++ b/modules/ROOT/pages/functions/mathematical-trigonometric.adoc @@ -331,6 +331,8 @@ The cotangent of `0.5` is returned. [[functions-coth]] == coth() +The calculation of the hyperbolic cotangent, `coth(x)`, is done using the `cosh(x) / sinh(x)` method. + .Details |=== | *Syntax* 3+| `coth(input)` From f656ed5c9ab61f0fb74c2a53810c6bf2c415d756 Mon Sep 17 00:00:00 2001 From: Gemma Lamont Date: Tue, 4 Mar 2025 13:07:23 +0100 Subject: [PATCH 2/2] PR updates --- modules/ROOT/pages/functions/mathematical-trigonometric.adoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ROOT/pages/functions/mathematical-trigonometric.adoc b/modules/ROOT/pages/functions/mathematical-trigonometric.adoc index 1c7978af0..62068e864 100644 --- a/modules/ROOT/pages/functions/mathematical-trigonometric.adoc +++ b/modules/ROOT/pages/functions/mathematical-trigonometric.adoc @@ -331,8 +331,6 @@ The cotangent of `0.5` is returned. [[functions-coth]] == coth() -The calculation of the hyperbolic cotangent, `coth(x)`, is done using the `cosh(x) / sinh(x)` method. - .Details |=== | *Syntax* 3+| `coth(input)` @@ -347,6 +345,7 @@ The calculation of the hyperbolic cotangent, `coth(x)`, is done using the `cosh( | `coth(null)` returns `null`. | `coth(0)` returns `NaN`. +| The calculation of the hyperbolic cotangent, `coth(x)`, is done using the `cosh(x) / sinh(x)` method. |===