example (original) (raw)

x_intercept

x_intercept(m,b)

Return the x intercept of the line y=m*x+b. The x intercept of a line is the point at which it crosses the x axis (y=0).

This function can be used in conjuction with z_transform to find an arbitrary function's zeros.

Parameters:

**m** - The slope of the line.
(type=number)

**b** - The y intercept of the line. The y intercept of a line is the point at which it crosses the y axis (x=0).
(type=number)

Returns:

the x intercept of the line y=m*x+b.
(type=number)