Question: use python thank you Chapter 3 Assignment Distance Formula Sep 24, 2018 11.55 pm Title Due Number of resubmissions allowed Accept Resubmission Until Status Modfied

use python
thank you
 use python thank you Chapter 3 Assignment Distance Formula Sep 24,

Chapter 3 Assignment Distance Formula Sep 24, 2018 11.55 pm Title Due Number of resubmissions allowed Accept Resubmission Until Status Modfied by instructor Oct 15, 2018 11 55 pm In progress Sep 17, 2018 823 am Instructions Calculate the distance between two points as follows 1. Input Prompt the user or two ordered 2 Calculate the length of the two legs of the right triangle: (x2-x1) (y2-y1) 3 Calculate the distance between the two points using the Pythagorean Theorem. Remember that the length of the hypotenuse (distance) equals the square root of the sum of the legs squared 4 Print out the distance in the follow three ways pairs (x1, y1), (2, y2) 1. Rounded to the nearest whole number 2 Rounded to the nearest tenth 3 Rounded up (always) to the nearest whole number (ie, 3.2 would round up to 4.0). Extra Credit: Modify the quadratic py example from the textbook as follows 1. If the discriminant is negative, print out "There are no real roots 2 If the discriminant is zero, print out the one root (ie, just print out the first root (dont print out both-they are the same) 3 If the discriminant is positive, print out both roots

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!