It's been a while since I've posted but I hope I can help you. I'm guessing that if this were a homework problem, the deadline would have long passed so I'll go into more detail than I normally would. I have still left out some of the calculations (long and tedious) for you to fill in.
Firstly, it's best to think about these problems physically as much as possible, this can guide you on the way to your solution. So, for example, before we start cranking out the calculation for the expectation of the position, we should kind of guess the expected position to be the centre of the well (a/2).
Mathematically we find
Furthermore, the uncertainty comes out as
Now for the momentum. It's a little harder to think of the momentum's real life expected behaviour. I'm sure someone can explain it better, but I think of it in terms of the particle's energy, which is usually the first thing you calculate in a QM problem.
The energy levels of the particle in this model (infinite well) are standing waves. In a standing wave there is no net flow of energy or momentum in either direction, so you should guess the expected value of momentum to be zero.
With a little bit of grunge..
Now, it would be easy, lazy, and incorrect to thus assume that the uncertainty of the momentum is also zero. I know for a fact that was the first thing I done when I tried solving this for the first time. So lets plug on..
Therefore, throwing everything together,
I'm sure you can see how this satisfies Heisenberg's Uncertainty Principle from here