Eval Polar to Rect (Not in Base Package)

Calculates the values of a polar parametric curve in 2D. Details

number of points is the number of all calculated points. The independent variable is split into equidistant subpoints. The default is 10.
start is the start point of the interval. The default is 0.0.
end is the end point of the interval. The default is 1.0.
radius as function of angle is a string representing the formula

r = r(phi)

X is the array of the values of the first component, r(phi)cos(phi)
Y is the array of the values of the second component, r(phi)sin(phi)
ticks is the time in milliseconds to analyze the formula and to produce the X and the Y array.
error returns any error or warning condition from the VI.

Eval Polar to Rect Details

Let be the angle and r() the radius in polar coordinate notation. Then it is:

x = r(phi)cos phi

y = r(phi)sin phi

where runs over the interval.

The function

r(t) = exp(cos(t))–2*cos(4*t) + sin(t/12)^5

describes a butterfly curve in the plane in polar coordinates, as shown in the following illustration. The illustration can be generated by entering the following values on the front panel: