(Geometry: intersecting point) Write a function that returns the intersecting point of the two lines. The intersecting point of the two lines can be found by using the formula shown in Programming Exercise. Assume that (x1 , y1) and (x2 , y2) are the two points in line 1 and (x3 , y3) and (x4 , y4) on line 2. If the equation has no solutions, the two lines are parallel. The function header is
const int SIZE =2 ;bool getIntersectingPoint(const double points[][SIZE], double resu1t[]);
The points are stored in a 4 × 2 two-dimensional array points with (points[0] [0] , points[0][1]) for (x1 , y1). The function returns the intersecting point and true, if the two lines are parallel. Write a program that prompts the user to enter four points and display the intersecting point. See Programming Exercise for a sample run.
(Geometry: int ersecting point) Two point s on line 1 are given as (x1 , y1) and (x2 , y2) and on line 2 as (x3 , y3) and (x4 , y4), as shown in Figurea–b.



Figure Two lines int ersect in (a and b) and two lines are parallel in (c).
The int ersecting point of the two lines can be found by solving the following linear equation:

This linear equation can be solved using Cramer’s rule (see Programming Exercise). If the equation has no solutions, the two lines are parallel (Figurec). Write a program that prompts the user to enter four point s and displays the int ersecting point. Here are some sample runs:


(Algebra: solve 2 × 2 linear equations) You can use Cramer’s rule to solve the following 2 × 2 system of linear equation:
![]()
Write a program that prompts the user to enter a , b , c , d , e , and f , and displays the result. If ad − bc is 0 , report that “The equation has no solution.”


(Algebra: solve 2 × 2 linear equations) You can use Cramer’s rule to solve the following 2 × 2 system of linear equation:
![]()
Write a program that prompts the user to enter a , b , c , d , e , and f , and displays the result. If ad − bc is 0 , report that “The equation has no solution.”


We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.