Write a program to find geometry intersection. Suppose two lines segments intersect. The two endpoints for the first line are (x1, y1) and (x2 , y2) and for the second line segment are ( x3, y3) and (x4, y4). Write a program that prompts the user to enter four endpoints and display the intersecting points.
You can use Cramer’s rule to solve the following 2 X 2 system of linear equation:
1
Expert's answer
2012-12-13T05:53:21-0500
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Comments
Leave a comment