Here’s the updated table with simple explanations:
Function/Method | Description | Simple Explanation |
---|---|---|
sin(x) |
Computes the sine of angle x (in radians). |
Sine is the ratio of the length of the opposite side to the hypotenuse in a triangle. |
cos(x) |
Computes the cosine of angle x (in radians). |
Cosine is the ratio of the length of the adjacent side to the hypotenuse. |
tan(x) |
Computes the tangent of angle x (in radians). |
Tangent is the ratio of the opposite side to the adjacent side. |
csc(x) |
Computes the cosecant of angle x , which is 1/sin(x) . |
Cosecant is the reciprocal of sine, hypotenuse over the opposite side. |
sec(x) |
Computes the secant of angle x , which is 1/cos(x) . |
Secant is the reciprocal of cosine, hypotenuse over the adjacent side. |
cot(x) |
Computes the cotangent of angle x , which is 1/tan(x) . |
Cotangent is the reciprocal of tangent, adjacent side over the opposite side. |
asin(x) |
Computes the inverse sine (arcsin) of x , returns an angle in radians. |
Returns the angle whose sine is x . |
acos(x) |
Computes the inverse cosine (arccos) of x , returns an angle in radians. |
Returns the angle whose cosine is x . |
atan(x) |
Computes the inverse tangent (arctan) of x , returns an angle in radians. |
Returns the angle whose tangent is x . |
atan2(y, x) |
Computes the arctangent of y/x , taking into account the quadrant of the point (x, y) . |
Returns the angle of a point (x, y) with the correct direction. |
sinh(x) |
Computes the hyperbolic sine of x . |
Similar to sine but for hyperbolic curves. |
cosh(x) |
Computes the hyperbolic cosine of x . |
Similar to cosine but for hyperbolic curves. |
tanh(x) |
Computes the hyperbolic tangent of x . |
Similar to tangent but for hyperbolic curves. |
asinh(x) |
Computes the inverse hyperbolic sine of x . |
Returns the value whose hyperbolic sine is x . |
acosh(x) |
Computes the inverse hyperbolic cosine of x . |
Returns the value whose hyperbolic cosine is x . |
atanh(x) |
Computes the inverse hyperbolic tangent of x . |
Returns the value whose hyperbolic tangent is x . |
deg(x) |
Converts x radians to degrees. |
Changes radians to degrees (useful for angles). |
rad(x) |
Converts x degrees to radians. |
Changes degrees to radians (useful for calculations). |
hypot(x, y) |
Computes the hypotenuse of a right triangle with sides x and y , equivalent to sqrt(x² + y²) . |
Finds the longest side of a right triangle using the other two sides. |
sin²(x) + cos²(x) = 1 |
Trigonometric identity showing the relationship between sine and cosine. | A rule showing how sine and cosine always relate to 1. |
If you need this in a specific format or for a particular use case, just let me know!