Apple investment calculator