powered by
Simple function for calculate the slope on the ith element position
slope(x, y, i)
The x vector
The y vector
The position
The slope