How to find the point of intersection of two straight lines? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

How to find the point of intersection of two straight lines?

I have two straight lines and I want to find their point of intersection. How can I do that? I think applying some geometry will work but i wanna know if there are any built-in functions for this. https://code.sololearn.com/WeClLEHxK26A/?ref=app

30th Aug 2020, 3:46 PM
MSN
MSN - avatar
4 Answers
+ 6
MSN👑 Here's the solution of your problem! Do you need explanation? https://code.sololearn.com/c0lilZtwt3ny/?ref=app
30th Aug 2020, 4:03 PM
Namit Jain
Namit Jain - avatar
+ 4
You should have their formulas and then solve for x and y
30th Aug 2020, 3:49 PM
WonderBlunder
WonderBlunder - avatar
+ 2
Thanks Namit Jain
30th Aug 2020, 4:26 PM
MSN
MSN - avatar
+ 1
https://byjus.com/point-of-intersection-formula/ What are you given with? The equation of the line? Or the end points of the line?
30th Aug 2020, 3:49 PM
Namit Jain
Namit Jain - avatar