RedCrab Calculator

Gradient - gradient of a straight line

  • Calculates the gradient (steepness) of a straight line between two points in the coordinate system

  • The endpoints of the straight line are defined with two objects of the class Point

  • Grad (Point(x,y), Point(x,y))
  • Grad(Point(1,5),Point(4,8))= 4

The gradient of a line segment is a measure of how steep the line is. A line with a large gradient will be steep; a line with a small gradient will be relatively shallow; and a line with zero gradient will be horizontal.

More informations about the gradient you can found in the tutorial: The Gradient of a Line


Available in RedCrab PLUS


Distance Distance between two points
Grad Gradient of a straight line
Position Position on the line of two points 


  Products RedCrab Calculator RedCRab Manual  
      RedCrab Software - Singapore - Sengkang West Way