Details and Options
A rose curve is a class of curves defined by the equation
in polar coordinates. When
n is a rational number, the periodicity of the Sin function means that the rose curve forms a closed loop after at most one period of the function. This is what is referred to as a rose curve.
In some cases, the polar equation of the rose curve is given as
. Although
ResourceFunction["RoseCurveAnalysis"] does not have the option to switch between forms, the cosine form is equivalent to rotating the sine form by 90 degrees counterclockwise.
The amplitude a can be any real value whereas the angle coefficient n must be a nonzero rational.
For the purposes of this function, a "petal" of a rose curve is defined as a minimal (possibly self intersecting) segment of the curve that starts and ends at the origin and does not pass through the origin otherwise. A "subpetal" is a closed region within the rose curve.
"TotalArea" refers to an area calculated by integration, which counts overlapped sections multiple times. By contrast, "SurfaceArea" counts each selected area once.
The following values of prop are supported for both integer and rational values of n:
"Equation"

equation of the rose curve

"Plot"

plot of the rose curve

"PetalPlot"

plot of a single petal

"PetalCount"

number of petals

"PetalTotalAreaFormula"

formula for the total area of a single petal

"PetalTotalArea"

total area of a single petal

"InactiveTotalAreaIntegral"

inactive double integral for the total area of the rose curve

"InactiveTotalAreaSingleIntegral"

inactive single integral for the total area of the rose curve

"TotalAreaFormula"

formula for the total area of a rose curve (for rational n, rewrite n as the reduced fration p/q)

"TotalArea"

total area of the rose curve

"TotalAreaPlot"

plot of the rose curve where darker hues correspond to overlapped sections

"PetalArcLength"

arc length of a single petal

"ArcLength"

arc length of the rose curve over one full period

"IntersectionCount"

number of times the rose curve selfintersects

"ClosedDomain"

the interval of angles where the rose curve makes a complete cycle

All

all properties associated with the given value of n

The following values of prop are intended for rational values of n but can be called for integer values of n as well:
"PetalSurfaceAreaFormula"

formula for the surface area of a single petal

"PetalSurfaceArea"

surface area of a single petal

"InactiveSurfaceAreaIntegral"

inactive double integral for the surface area of the rose curve

"InactiveSurfaceAreaSingleIntegral"

inactive single integral for the surface area of the rose curve

"SurfaceAreaFormula"

formula for the surface area the rose curve (n is expressed as the reduced fraction p/q)

"SurfaceArea"

surface area of the rose curve

"OuterCurveEquation"

piecewise function for the outline of the rose curve

"OuterCurvePlot"

plot of the outline of the rose curve

Multiple values of prop can be specified using a list. The order of the input properties is mirrored in the output.
"Point"

determines the initial shaded region (default value is {0.1,0.1})

"ShowPetal"

bolds the petal containing the shaded region
