Question: ACTY 291.Coordinate geometry Assign point.dist with the distance between point (x1, y1) and point (x2,y2) The calculation is: Distance SquareRootof( (x2-x1) +(y2-y1)). Sample output for
ACTY 291.Coordinate geometry Assign point.dist with the distance between point (x1, y1) and point (x2,y2) The calculation is: Distance SquareRootof( (x2-x1) +(y2-y1)). Sample output for the given program is Points distance: 3.0 1 import math 3 x1 1.8 5 x2 1.e 6 y2 5. 7 point,dist e. 9 Your solution goes here 10 11 print Points distance:, point dist) Run
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
