DGS Studio

Sigma / Σ Summation

Polar Sigma Pattern

A polar radius with a twelve-term cosine ripple.

r = 2 + sum(0.15*cos(n*theta)/n, (n, 1, 12)) is a polar curve. The constant 2 is the base radius, and twelve cosine terms ripple it.

θ runs over a full turn. The plotted point is (r cos θ, r sin θ). The coefficients 0.15/n stay smaller than the base radius, so the curve remains one wavy loop.

Equation

r = 2 + sum(0.15*cos(n*theta)/n, (n, 1, 12))

Polar and parametric curves

Polar and parametric equations describe a point by a rule instead of by y as a function of x. In polar form, a radius r depends on the angle θ, and the plotted point is (r cos θ, r sin θ). A negative radius is drawn in the opposite direction.

A parametric curve gives x(t) and y(t) separately. The parameter t is not a coordinate on the page; it only tells the pen how to move. Closed curves usually let t run from 0 to 2π. DGS samples the path and draws it as one JSXGraph curve.

Reading the input

Try a change

Generate Graph posts the expression to the studio graph engine and draws the result on the homepage. The editable field is the entire input, including every line.

Edit and generate

Generate Graph opens the studio homepage and runs this field. Open in DGS Studio loads the same text and waits for you to generate it. The equation is sent once, as a query parameter.

Related examples