Financial application: compound value