Microsoft beat analysts' expectations for its fiscal third-quarter earnings. Here's how much you'd have if you invested