Module utils.math

Takes two points and calculates the slope of a line

Functions

calculate_y_intercept (x, slope) Calculates the y-intercept of a line


Functions

calculate_y_intercept (x, slope)
Calculates the y-intercept of a line

Parameters:

  • x , y numbers - coordinates of point on line
  • slope number - the slope of a line

Returns:

    number - the y-intercept of a line
generated by LDoc 1.4.3 Last updated 2019-05-29 22:30:49