#B2063. World Population Prediction
World Population Prediction
World Population Prediction
Assume the current world population is given as x hundred million. With an annual growth rate of \(0.1\%\), the population after n years can be computed using the formula:
\(P(n)=x\times10^8\times(1+0.001)^n\)
For instance, if x = 7.8 and n = 10, the predicted population would be calculated accordingly.
inputFormat
The input consists of two numbers: x and n, separated by space. Here, x represents the current world population in hundred millions and n represents the number of years.
outputFormat
Output a floating point number representing the population after n years, printed with 6 decimal places.
sample
7.8 10
787835100.000000