This material was developed by Aaron Tresham at the University of Hawaii at Hilo and is

licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

- Intro to Sage
- Symbolic Integration

The **work** that a *constant* force does when moving an object over distance is .

The unit of work is the unit of force times the unit of distance. In SI units, force is measured in newtons () and distance is measured in meters (), so work is measured in newton-meters, also called **joules** (). In the British system, work is measured in foot-pounds.

If the force is not constant, then calculating work is more complicated. Suppose the force is given by a function , where is the position of the object. We want to find the work done moving an object from to . So we divide the interval into equal subintervals of width , and we choose a point from the subinterval. If the subintervals are small, then the force on each subinterval is approximately the constant , so the work required to move across the subinterval is approximately , and the total work is approximately . The actual work is the limit of this sum as . Since this is a Riemann sum, the answer is:

One place where work arises is when stretching or compressing springs. To answer questions about springs, we need to know the relationship between force and distance.

**Hooke's Law**: The force required to hold a stretched or compressed spring a distance of units from its natural length is , where is a constant (called the spring constant; this depends on the nature of the spring).

A spring with natural length and spring constant is stretched from its natural length. Find the work required.

**Solution**

1500

A spring has a natural length of . A force is required to stretch and hold the spring at a length of . How much work (in joules) is done in stretching the spring from to ?

**Solution** In order to calculate the work, we must integrate the force function. That means we need to find for this particular spring. We will use joules as the unit of work, so we must make sure we use newtons for force and meters for distance.

We are told that of force is required to hold the spring from the natural length (). That means , or .

We want to move the spring from to , which is to beyond the natural length. Thus, the work is:

1.9799999999999998

We have a cable that weighs 2 lbs/ft attached to a bucket filled with coal that weighs 800 lbs. How much work (in foot-pounds) does it take to raise the bucket from the bottom of a 500 ft mine shaft?

**Solution** The force involved is the weight of the cable plus the weight of the bucket. The weight of cable depends on how much cable is left.

Let be the length of cable remaining. Then the force is .

Therefore, the work is

650000

A tank has the shape of an inverted circular cone with height 15 ft and base radius 4 ft. It is filled with water to a depth of 12 ft. Find the work needed to pump all the water to the top of the tank (the pump is floating on the water). Note: Water weighs .

**Solution** We can't find a simple force function , so this problem is more complicated than the previous examples.

Let be the vertical distance from the bottom of the tank (). The top of the tank is at , and the water occupies the interval from to .

Divide into equal subintervals of width , and let be a point in the subinterval.

For each subinterval we'll approximate the water with a cylinder of radius and height .

By similar triangles, , so .

Here is a picture of a cross section of the tank:

Force is provided by the weight of the water, which is times the volume (in cubic feet).

The volume of water in the subinterval is

So the force (= weight of water) for the subinterval is

The distance required to get the water from the subinterval to the top of the tank is , so the work required to pump the subinterval is

The total work reqired is .

To get the actual value of the work, we take the limit as . Notice that the sum above is a Riemann sum, so

1916928/125*pi
48177.6553780846