How to find x and y intercepts


1 comment

  • Support Admin

    At this time there is no way to automatically determine the x- or y-intercepts of a function. The only way is to calculate the points manually using the quadratic formula. You can do this with a function. e.g.

    local function findXIntercepts(a,b,c)
    x1 = (-b + math.sqrt(b*b - 4*a*c)) / (2*a)
    x2 = (-b - math.sqrt(b*b - 4*a*c)) / (2*a)
    Comment actions Permalink

Please sign in to leave a comment.