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
2) A snail moving at 3.6 m/h; convert to mm/s
jolli1 [7]

Answer:

60mm/s

Step-by-step explanation:

Plz give brianliest and push the thanks button

6 0
3 years ago
Read 2 more answers
How are the two functions f(x) = 0. 7(6)x and g(x) = 0. 7(6)–x related to each other? g(x) is the reflection of f(x) over the x-
VLD [36.1K]
Yes thats right !! Correct
8 0
2 years ago
In a word processing document or on a separate piece of paper, use the guide to construct a two column proof proving that triang
luda_lava [24]
1.) RS ⊥ ST, RS ⊥ SQ, ∠STR ≅ ∠SQR | Given
2.) RS≅RS | Reflexive Property
3.) △RST ≅ △RSQ | AAS Triangle Congruence Property
3 0
3 years ago
Read 2 more answers
A basket contains four apples, three pears, two peaches, if we draw one fruit from the basket, what is the probability of gettin
Annette [7]

Answer:

The probability of getting a peach or an apple is 2/3.

Step-by-step explanation:

There are two peaches and four apples, so six fruits we want to know the probability of getting, and there are also three pears, which means we have nine fruits total. The chance of getting an apple or a pear is six out of nine, which simplifies to two out of three.

7 0
2 years ago
Please Help!! what is 4+4?
Artist 52 [7]

Answer:

8

Step-by-step explanation:

4 0
3 years ago
Read 2 more answers
Other questions:
  • the proper scientific notation for 676,000,000,000 is a. .676 × 1012 b. 6.76 × 1011 c. 67.6 × 1010 d. 676 × 109
    10·1 answer
  • What’s a linear function
    15·1 answer
  • The dot plot shows the height, in feet, of a group of trees being studied. How many trees are being studied
    10·1 answer
  • What is the geometric proof of the figure above?
    10·1 answer
  • This figure shows circle O with inscribed ∠XYZ. m∠XYZ=76∘ What is the measure of XYZ?
    8·2 answers
  • SOMEONE HELP ME ASAP PLZZ!!!
    10·1 answer
  • What is 4x+3=12<br> and join this padlet in the comments
    12·2 answers
  • True or False?<br><br> The output values are the x-coordinates.
    7·2 answers
  • Find the value of tan(B)<br><br> please help quickly
    6·1 answer
  • Find the missing number in the pattern:
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!