but what range (yards) can I expect the m&p 15 .22 to go?
A .22 LR can travel over one mile if fired with the barrel elevated about 30 degrees. Therefore, if you are shooting up in the air with it, allow 1 1/2 miles safety zone for the bullet to fall.
Naturally, your chance of intentionally hitting anything smaller than a building at that distance with a .22 is nil.