powered by
Calculates the x and y-coordinates of the cross point of two srtaight lines based on their intercepts and slopes
crosspoint(a1, b1, a2, b2)
intercept of first line
slope of first line
intercept of second line
slope of second line
a two column matrix with x- and y-coordinates of the cross point(s)
# NOT RUN { crosspoint(4, -0.1, 3, 0.1) # }
Run the code above in your browser using DataLab