2. The coordinates of two two-dimensional points P 1 (x 1 ,y 1) and P 2 (x 2 ,y 2) are input through the keyboard and the straight line passing through these two points is expressed in the form of y =...

2. The coordinates of two two-dimensional points P 1 (x 1 ,y 1) and P 2 (x 2 ,y 2) are input through the keyboard and the straight line passing through these two points is expressed in the form of y = ax + b. Write a program to find the coefficients a and b of a line and show the result. Include a part that outputs the coordinates of the two points entered into the program.

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here