Irene,
Judging from the size of the body relative to the head, I'd say yours probably is a beaver. Aside from the differences in size and tail shape, they look quite similar.
When you see them swimming, you can usually tell by the "1 bump or 2?" method. The muskrat will have just its head out of the water, while the beaver usually has head and hips above water.
BB