Question: Please help me. OVERVIEW The requested project is dealing with some analysis of 2D straight line geometric shapes. As you studied in your earlier stages,

 Please help me. OVERVIEW The requested project is dealing with some

Please help me.

OVERVIEW The requested project is dealing with some analysis of 2D straight line geometric shapes. As you studied in your earlier stages, a straight line has many defining equation forms in 2D geometry. One famous equation for defining straight line is: ax + by+c= 0 while a, b and c are real numbers. Any 2 straight lines in the plane are either parallel (have no intersection point) or intersected in a point in the plane. If the two straight lines are defined as: alx + bly + cl = 0 (1) a2x + b2y + c2 = 0 (2) The two straight lines are considered parallel if: alb2 = a2b1. The two straight lines are considered not parallel and intersected in an intersection point (xi , yi) where alb2 # a2b1 and in this case the coordinates of the intersection point and are defined as: (xi, yi) = (blc2-b2cl / alb2-a2bl, cla2-c2al/ alb2-a2b1) (3) 9 Implement a Java program that reads from the user the 6 coefficient values of the 2 straight lines al, bl, cl and a2, b2, c2 (for minimum 20 pairs of straight lines.) The program checks, for each pair, if they are parallel or intersected. If, for each pair, they are intersected, the program has to computer the coordinates of the intersection point as given in equation 3. Finally, the program should print the number and percent ratio (rounded to 2 decimal places) of: o Parallel str ght line pairs. o Intersected straight line pairs. o Intersected straight line pairs with intersection point on x- axis or y-axis. o Intersected straight line pairs with intersection point in first plane quadrant. o Intersected straight line pairs with intersection point in second plane quadrant. o Intersected straight line pairs with intersection point in third plane quadrant. o Intersected straight line pairs with intersection point in fourth plane quadrant. Note: You may use digital library or internet to check each case of intersection point coordinates. The program should work like as given sample run

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!