The slope or gradient of a line describes both the direction and the steepness of a line.

A slope is rise over run, the change in y over the change in x.

Here we can measure this with line segments, but it must be remembered our line can extend in both directions.

How steep is the line? A downwards slope is negative and an upwards slope is positive.

The slope of the line is consistant. In the following program the two points are picked, and from that you can find the slope.

We would keep our answer as a fraction to express the ratio but in this program we'll show the answer in decimal form,

as the ten line units allows us to do. Converting back is easy enough, 0.1 is 1/10.

A slope is rise over run, the change in y over the change in x.

Here we can measure this with line segments, but it must be remembered our line can extend in both directions.

How steep is the line? A downwards slope is negative and an upwards slope is positive.

The slope of the line is consistant. In the following program the two points are picked, and from that you can find the slope.

We would keep our answer as a fraction to express the ratio but in this program we'll show the answer in decimal form,

as the ten line units allows us to do. Converting back is easy enough, 0.1 is 1/10.