They really could be used interchangably, but from a more formal standpoint; to anticipate is to realize or recognize that something is to occur while expecting is to know something is to occur. They are pretty synonymous in nature with a subtle difference, but expecting is more concrete knowledge that something will happen in the future. Hope this helps!
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.