Previous Up Next

13.11.7  The power of a point relative to a circle: powerpc

Given a circle C of radius r and a point A at a distance of d from the center of C, the power of A relative to C is d2r2.

The powerpc command finds the power of a point relative to a circle.


Example.
Input:

powerpc(circle(0, 1+i), 3+i)

Output:

8

Previous Up Next