Formula for Compound Interest