Question: Write a python program for Calculate the value for the slope m of the line . The program should receive its x & y coordinates
Write a python program for
Calculate the value for the slope m of the line . The program should receive its x & y coordinates from the user. (notes: Equation for the slope of the lines is m (x2-x1) = (y2 - y1); where x1 and x2 are X coordinates and y1 and y2 are Y coordinates) (6 Points)
Expected output :
The slope of the line for given X Coordinates : x1 = 5 and x2 = 4 & Y Coordinates : y1 = 3 and y2 = 5 is -2.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
