How the work done depends on the angle
The work done on an object acted upon by a constant force is given by
where is the displacement of the object. As a reminder, the dot product between any two vectors and is defined as
where is the angle between those two vectors. From this definition, you can see that if the two vectors and are perpendicular to each other, then and, thus, .
This basically means that if an object moves from to with a displacement of , if a constant force was acting on that object during its displacement and if was perpendicular to , then that force would have done no work on the object. For example, the Moon revolves around the Earth in a roughly circular path and the force of gravity exerted on the Moon by the Earth is always towards the center of Earth. Since this force is always acting on the Moon in a direction perpendicular to its displacement, it follows that the force doesn't do any work on the Moon.
We can rewrite Equation (1) in the following way:
where is the component of the force which is acting in the same direction as . Equation (2) tells us that it is only the component of force that is parallel to which does work on the object. Therefore, if I apply the force to a box moving to the right as in Figure 1, the y-component of force will contribute zero work to the object. It is only the component of force which is doing any work on the box. By changing the angle at which (while keeping the magnitude the same) is applied in a way that increases (in this example, this can be accomplished by rotating clockwise), the same force will do more work on the object.