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

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!