"Epicycloid
'<hr/>
'<div style="max-width:150mm">
'<img class="side" src="https://calcpad.eu/media/math/epicycloid.png" alt="epicycloid.png">
'<p style="max-width:85mm">Epicycloid is a parametric curve that is obtained by rolling a smaller circle (<var>r</var>) around a larger one (<var>R</var>). It shows the trace of a point P, fixed on the circumference of the smaller circle.</p>
'General equation:
x(θ) = (k + 1)*cos(θ) - cos((k + 1)*θ)
y(θ) = (k + 1)*sin(θ) - sin((k + 1)*θ)
'Larger radius: 'R = ?
'Smaller radius: 'r = ?
'Ratio: 'k = R/r
#pre

'Tip: Click "<b>Calculate</b>" to see the respective plot.
#hide
#rad
PlotHeight = 400
PlotWidth = 400
#post
$Plot{x(θ)|y(θ) @ θ = 0 : 2*π*r}
#show
'</div>21	10

