1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Shtirlitz [24]
3 years ago
9

Assign point_dist with the distance between point (x1, y1) and point (x2, y2). the calculation is: distance = squarerootof( (x2

- x1)2 + (y2 - y1)2 ). sample output for the given program:
Mathematics
1 answer:
MissTica3 years ago
8 0
<span>import math def calculateDistance(x1,y1,x2,y2): dist = math.sqrt((x2 - x1)**2 + (y2 - y1)**2) return dist distance = calculateDistance(2,4,6,8) print distance</span>
You might be interested in
Which of the following expressions are equivalent to 6-37
xxMikexx [17]
Unfinished question.
4 0
3 years ago
What Is the value of x
SCORPION-xisa [38]

Answer:

15

Step-by-step explanation:

5 0
3 years ago
How many solutions does the equation 3x-2(x+10)=x-20 ​
Ber [7]

Answer:

infinite

Step-by-step explanation:

5 0
2 years ago
What is the area of the following circle?
satela [25.4K]

Answer:

This is the answer of your question.

8 0
2 years ago
What is the center of the circle that has a diameter whose endpoints are (9,7) and (-3,-5)
Sergio039 [100]
Midpoint formula gives (3,1)
4 0
3 years ago
Read 2 more answers
Other questions:
  • Hours Worked Salary Earned
    10·1 answer
  • Find the value of x.<br> logx 8 = 0.5<br> А. 4<br> В. 16<br> C.32<br> D. 64
    15·1 answer
  • Help please help me with this. ​
    8·2 answers
  • Here's a little something that will tease your brain. I doubt someone will answer this​
    7·2 answers
  • Jason can water all the plants at the botanical garden in 4 times faster than Celia. One day they were both watering the plans a
    12·1 answer
  • Laney and Maka are tutors. Laney charges $10 for travel expenses plus $32 per hour of tutoring. The dollar amount Maka charges c
    9·1 answer
  • Help ASAP<br> PLZZZZ!!!
    13·1 answer
  • Franco owns his landscaping business. He has to plant 425 plants in 47 places. After planting, how many plants will he have left
    12·1 answer
  • Please help !! i’m struggling
    14·1 answer
  • Together, two apples have 175 gram of fat. How many apples have a total of 4 grams of fat?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!