math.tan
The math.tan function returns the tangent of the angle included as an argument.
The math.tan function returns the tangent of the angle included as an argument.
The math.sin function returns the sine of the angle included as an argument.
The math.hypot function returns the Euclidean norm of the vector that, having the center of coordinates as its origin, ends at the coordinates indicated as an argument. The result is equivalent to math.sqrt(sum(x ** 2 for x in coordinates)).
The math.dist function returns the Euclidean distance between the two indicated points. These must be defined by a sequence (or iterable) of coordinates and must have the same dimension.
The math.atan2 function returns the arctangent, in radians, of the quotient of the arguments passed to the function: atan(y/x).
Once the point (x, y) is located in the plane, the angle returned is the one formed by the positive x axis and the line that passes through the origin of coordinates and through the point (x, y) :
The math.atan function returns the angle in radians whose tangent is x.
The math.asin function returns the angle in radians whose sine is x.
The math.acos function returns the angle in radians whose cosine is x.
The math.sqrt function returns the square root of the number passed as an argument.
Excepto donde se indique otra cosa, los contenidos de este sitio web se ofrecen bajo una licencia Reconocimiento-NoComercial-SinObraDerivada 4.0 Internacional