Mal:PGR/dok

Fra testwiki
Hopp til navigering Hopp til søk

Mal:Documentation subpage

Population Growth Rate

Usage

{{PGR|first year|first population|second year|second population}}

This template quickly calculates the population growth rate given two pairs of years and populations using the formula from Population growth:

PGR=ln(P(t2))ln(P(t1))(t2t1)×100%

Examples

  • {{PGR|1980|110043|1990|180288}} → "Mal:PGR"
  • {{PGR|1969|4534252|1997|3928542}} → "Mal:PGR"