Return to Statement


Vector Tangent to a Curve Example

This example demonstrates the use of the CTANF function to extract two vectors tangent to a circle at different positions.


Two Vectors Tangent to a Circle

   ENTITY/C1
NUMBER/A(3),B(3)
C1=CIRCLE/0,0,2.,START,0,END,180

Statement

Assigned Value

A=CTANF(C1,.5)

A(1)=-2,A(2)=0,A(3)=0

B=CTANF(C1,1.5)

B(1)=2,A(2)=0,A(3)=0