These are important questions to ask, and asking leads to understanding.
Power is defined in two useful ways, the second of which can be rigorously derived from the fundamental theorem of calculus:
1. Power = Energy (or Work, if you prefer) / time
2. Power = Force * Velocity. More specifically, that is:
The power of a machine, say, a rock-mover =
The product of the Force it can apply to a rock times the velocity that rock might be moving at.
Does power change with resistance? No. Not resistance. But it DOES change with the velocity of the object being moved. This is best explained with an example:
Suppose you decide you're going to start riding your bike. So you get on, you push the pedals with all your might, but damnit, you can't get the thing to move because the gear is too high. Well, elementary physics teacher says, you ain't doin' no work. No work means no power.
However, once you get the bike moving along, you are perfectly capable of pumping and moving yourself along. Now look: You're clearly applying a force to the pedals, and the pedals are moving. By my "Definition 2" of power, your legs are now powerful!
Power IS a useless concept WHEN THE BIKE IS AT REST. Clearly, the following equation is not valid:
Powerlegs=0
However, once the bike is moving, power is VERY useful, ESPECIALLY for calculating your maximum velocity. Suppose the force of all forms of friction is known to be "f" Suppose, then, that you pedal, and go as fast as you possibly can. You will eventually find that you are
reaching a maximum speed. Once you reach this speed, then we can say that your velocity is constant. A constant velocity means
sum of the forces is zero, and that means that the motive force of your legs equals the opposing force of friction, "f." Now it IS valid to say that the power of your legs P = f * v where v is the maximum velocity you were able to achieve riding on a surface with friction force f.
Now the concept of power is useful, when, say, you move onto the grass where the force of friction is "f-grass." Suppose you want to know how fast you are capable of riding on the grass. I will be able to INSTANTLY tell you that
Maximum velocity = P / "f-grass"
where P is the SAME constant we calculated on the pavement.
If you're willing to read on, I'll tell you now what's going on in your situation. If the machine "pushes a stone for 10m in 5s at 20N" then the MACHINE is performing 200 J of work regardless of the resistance. The power of the machine is NOT concerned with the resisting force. However, since the rock is accelerating, that means its velocity is increasing, so, technically speaking, the power of the machine is increasing the whole time. When you think about it, it also doesn't make sense that the machine should always be able to apply this force of 20 N to the rock, as then it could accelerate that rock to the speed of light! The point is, it's a poorly stated problem.
My final answer: the power of the machine is NOT constant over the interval t=0 to t=5. The power would increase over the interval. Since velocity is not given, the power cannot be calculated.
Keep in mind that you did make a mistake. You claimed that the power of the machine can be determined by the NET force on the rock. That is not true. The power of the machine is calculated from the force which the machine
itself applies to the rock.
I hope this helps.
--Jake