# Calculates the number of a cycloid's peaks based on the radii A (fixed circle) and a (moving circle)

### Description

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`

### Usage

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

### Arguments

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

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

### Value

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

### Author(s)

Peter Biber

### See Also

`kgV`

, `ggT`

, `zykloid`

### Examples

1 2 3 4 5 6 7 8 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.