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
Jacob makes the following statement: "I have a 60% chance of being selected as the captain of the baseball team and a 20% chance
Tanzania [10]
It is 40% chance because subtract the baseball captain and the the body president
6 0
3 years ago
How do I solve for X
anyanavicka [17]

Answer:

x=16

Step-by-step explanation:

so since a right angle is shown the it's telling that it's an isosceles triangle so you do 22-6=16

answer=16

8 0
3 years ago
If y=-4 when x= 8 what is the equation of direct variation
Alekssandra [29.7K]

Answer:

Options ?                  

Step-by-step explanation:

8 0
3 years ago
What is the answer?
avanturin [10]

Answer:

24.5%

Step-by-step explanation:

6 0
3 years ago
What is the area of this triangle?
mezya [45]

Answer:

Step-by-step explanation:

area of triangle is 1/2xbasexheight.

So the answer would be 18. GL!

_______

1/2bh

so 1/2 12x3

1/2x36.

and that equals 18! <3

7 0
3 years ago
Read 2 more answers
Other questions:
  • Comparing yourself to a triangle with 3 possible occupation/career choices, could this be compared to "congruent" rather than "e
    7·1 answer
  • What is the surface area of the regular pyramid if the area of the square base is 16 square cm and the slant height is 8 cm?
    10·2 answers
  • How many 1/3 -cup servings are in 12 4/6<br>cups of juice??​
    15·2 answers
  • Bob works as a plumber. He charges $45.00 for the first hour and $33.75 for each additional hour. Bob was paid $247.50 for his l
    5·1 answer
  • What is 3x plus 2 for x equals 4
    8·2 answers
  • What is the problem??​
    12·1 answer
  • A bag contains colored eggs.
    10·2 answers
  • 6a-2(4a-5)=40<br>How do I solve it​
    7·1 answer
  • Find the area of the figure below.
    7·1 answer
  • 5,6,8,9,7 find the mean,median and mode​
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!