Functions

ycoord

Supported By

Syntax

the ycoord of ( expression , expression )

ycoord ( expression , expression )

Expression yields an integer or a number.

Description

The ycoord function returns the y coordinate of the specified polar coordinates. The first argument is the distance from the origin and the second argument is the angle from the positive x-axis in radians.

The formula for the ycoord function is:

ycoord(r, th) = r*sin(th)

The ycoord function is faster and more accurate than using the above formula.

See Also

xcoord, radius, theta