A Medical Bioengineering student is tasked with performing signal analysis.
The analysis begins at a certain time span X. The signal forms a line segment.
in the first quadrant of a Cartesian plane. The line segment is defined by a
start point and end point. Therefore, the student performs a program in which
enter the starting point and the ending point that defines the line. (Value 2.5 points)
To do this, you must:
• Calculate the slope of the line (m).
• Show the equation of the line (being explicit with the unknowns).
• To complete the analysis of the signal, the user must enter 5 points, if 2 of the
5 points DO NOT belong to the line will be considered an INVALID analysis.
Example: See the image, when calculating m is -1/2 then, obtaining the equation starts from
(x-2) -1 / 2 = (y-7) which is the same (making clearances) to the equation 0.5x + y = 8y m = 2. Then
