The mechanical advantage of a pulley system can be analyzed using free body diagrams which balance the tension force in the rope with the force of gravity on the load. In an ideal system, the massless and frictionless pulleys do not dissipate energy and allow for a change of direction of a rope that does not stretch or wear. In this case, a force balance on a free body that includes the load, "W", and "n" supporting sections of a rope with tension "T", yields: