FANDOM


-- Returns the hyperbolic cosine of an angle.
function cosh(fAng)
	return (exp(fAng) + exp(-fAng))/2
end
 
 
-- Returns the hyperbolic sine of an angle.
function sinh(fAng)
	return (exp(fAng) - exp(-fAng))/2
end
 
 
-- Returns the hyperbolic tangent of an angle.
function tanh(fAng)
	return (exp(fAng) - exp(-fAng))/(exp(fAng) + exp(-fAng))
end
 
 
-- Returns the hyperbolic cosecant of an angle.
function csch(fAng)
	return 1/sinh(fAng)
end
 
 
-- Returns the hyperbolic secant of an angle.
function sech(fAng)
	return 1/cosh(fAng)
end
 
 
-- Returns the hyperbolic cotangent of an angle.
function coth(fAng)
	return 1/tanh(fAng)
end
 
 
-- Returns the cosecant of an angle.
function csc(fAng)
	return 1/sin(fAng)
end
 
 
-- Returns the secant of an angle.
function sec(fAng)
	return 1/cos(fAng)
end
 
 
-- Returns the cotangent of an angle.
function cot(fAng)
	return 1/tan(fAng)
end
 
 
-- Returns the exsecant of an angle.
function exsec(fAng)
	return sec(fAng) - 1
end
 
 
-- Returns the coexsecant of an angle.
function coexsec(fAng)
	return csc(fAng) - 1
end
 
 
-- Returns the versesine of an angle.
function vers(fAng)
	return 1 - cos(fAng)
end
 
 
-- Returns the coversesine of an angle.
function covers(fAng)
	return 1 - sin(fAng)
end
 
 
-- Returns the half-versesine of an angle.
function hav(fAng)
	return vers(fAng)/2
end

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.