Macroeconomics
Both will result in the same future value.
It depends on the initial investment amount.
10% interest rate over 5 years.
5% interest rate over 10 years.