From f074c63cf2cee860f00076d505ab02298a5e3bee Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Mon, 25 Mar 2019 03:02:24 -0700 Subject: [PATCH] Fixing docs for hyperbolic functions. --- math.scad | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/math.scad b/math.scad index 1a4e9c1..ed34176 100644 --- a/math.scad +++ b/math.scad @@ -163,32 +163,32 @@ function distance(p1, p2) = norm(point3d(p2)-point3d(p1)); // Function: sinh() -// Description: Takes a radians value `x`, and returns the hyperbolic sine of it. +// Description: Takes a value `x`, and returns the hyperbolic sine of it. function sinh(x) = (exp(x)-exp(-x))/2; // Function: cosh() -// Description: Takes a radians value `x`, and returns the hyperbolic cosine of it. +// Description: Takes a value `x`, and returns the hyperbolic cosine of it. function cosh(x) = (exp(x)+exp(-x))/2; // Function: tanh() -// Description: Takes a radians value `x`, and returns the hyperbolic tangent of it. +// Description: Takes a value `x`, and returns the hyperbolic tangent of it. function tanh(x) = sinh(x)/cosh(x); // Function: asinh() -// Description: Takes a value `x`, and returns the inverse hyperbolic sine of it in radians. +// Description: Takes a value `x`, and returns the inverse hyperbolic sine of it. function asinh(x) = ln(x+sqrt(x*x+1)); // Function: acosh() -// Description: Takes a value `x`, and returns the inverse hyperbolic cosine of it in radians. +// Description: Takes a value `x`, and returns the inverse hyperbolic cosine of it. function acosh(x) = ln(x+sqrt(x*x-1)); // Function: atanh() -// Description: Takes a value `x`, and returns the inverse hyperbolic tangent of it in radians. +// Description: Takes a value `x`, and returns the inverse hyperbolic tangent of it. function atanh(x) = ln((1+x)/(1-x))/2;