This function may be useful for calculating the number *n* of peaks
a cycloid (`zykloid`

) based on the radii *A* (fixed
circle) and *a* (moving circle) will have. The equation for *n* is

*n = kgV(A, a)/a*

where *kgV(A, a)* is the least common multiple of *A* and *a* as
implemented in the function `kgV`

1 | ```
npeaks(A, a)
``` |

`A` |
A natural number (integer value > 0) |

`a` |
A natural number (integer value > 0) |

A natural number if *A* and *a* are natural numbers. In any other
case, the function returns NA.

Peter Biber

1 2 3 4 5 6 7 8 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.