APY as a calculator