[Solved]Given Rectangular Coordinates Two Points See Next Page Find 1 Length Line Segment Joining Q37186259

Given: rectangular coordinates of two points (see next page) Find: 1. length of the line segment joining these two points (0 points) (10 points) (10 points) 4. y-intercept of the line containing these two points(10 points) (10 points) 2. coordinate of the midpoints 3. slope of the line segment 5. angle e (in degree) Requirements: a) Your code needs to be able to handle ANY two-points! b) Three pairs of coordinates are given: 1. (3, 2) & (6, 8) 2. (-10, 2) & (3, 2) 3. (-3, 15) & (-3,-15) You need to find the requirements listed above for all three pairs. You need to output the length, midpoint coordinate, angle and the equation of line for all three cases. (see next page) c) c) slope = m = (y2-yi) / (X2-X1) d) y-intercept -yi – m Xi e) θ =tan-i (m) (x,, yi) .(x2, y2) Sample Output: Esput the oordinate of the ist poe Esput the coondinate of the second poiet: wt x.wis ls The length of line segment: display the input data display the results Show transcribed image text Given: rectangular coordinates of two points (see next page) Find: 1. length of the line segment joining these two points (0 points) (10 points) (10 points) 4. y-intercept of the line containing these two points(10 points) (10 points) 2. coordinate of the midpoints 3. slope of the line segment 5. angle e (in degree) Requirements: a) Your code needs to be able to handle ANY two-points! b) Three pairs of coordinates are given: 1. (3, 2) & (6, 8) 2. (-10, 2) & (3, 2) 3. (-3, 15) & (-3,-15) You need to find the requirements listed above for all three pairs. You need to output the length, midpoint coordinate, angle and the equation of line for all three cases. (see next page) c)
c) slope = m = (y2-yi) / (X2-X1) d) y-intercept -yi – m Xi e) θ =tan-i (m) (x,, yi) .(x2, y2) Sample Output: Esput the oordinate of the ist poe Esput the coondinate of the second poiet: wt x.wis ls The length of line segment: display the input data display the results
Expert Answer
Answer to Given: rectangular coordinates of two points (see next page) Find: 1. length of the line segment joining these two point… . . .
OR

