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 rectangle if translated 3 units left and 10 units down and then reflected over the line x = -5 will result in rectangle E?
aev [14]

Answer:

Rectangle C

Step-by-step explanation:

i just had this question and got it right

7 0
3 years ago
What is the initial value of the linear function through
valentinak56 [21]
What’s the rest of your question???
4 0
3 years ago
Joseph write the number pattern below 100; 101, 96; 97; 92; 93, 88; 89; what is the next pattern?
sergij07 [2.7K]

Answer:

multiples of 8

Step-by-step explanation:

79 80. 82. 81. 83 84 85 86. 88. 87. 89 90. 92. 91. 93 94 95 96. 98. 97. 99 100 ... 101. 3. (a) Write down the first 8 multiples of 8. (b) Write down the first 8 multiples of 6. ... (d) What are the next two numbers that are multiples of both 6 and 8? 4.

5 0
3 years ago
Solve for the value of x.<br> ABC<br> 20<br> 28<br> 9x-8
Marizza181 [45]

28+20+9x-8=180

48+9x-8=180

9x=180-40

9x=140

×=15.56

6 0
3 years ago
Find the slope and write an equation with these to points (0,-2) (3,1)<br><br> plz explain
tatiyna

Hello There!

Slope: 1

Equation: y = x - 2

Let's start by finding the slope. To find the slope of a given equation, subtract the y values over the x values.

y1 - y2 / x1 - x2 ⇒ 3 - 0 / 1 - - 2 ⇒ 3 / 3 ⇒ 1

This means we have a slope value of 1.

Now, to find an equation. We will find the equation in slope intercept form, or y = mx + b. (In this case, m = the slope and b = the y-intercept, and x and y equal your x and y values fro a given point.)

To get the equation, we need to find the value of b, or the y intercept. To do this, we need to plug in the values we know into the equation.

we know m is the slope, and we know the slope is one so we can place that into the equation. We also know the points (0,-2) (3,1). We can place one of them into the equation for the values x and y.

1 = 1(3) + b

Now, simplify.

1 = 1(3) + b

1 = 3 + b

-2 = b

So, our y intercept is -2, we can plug that into the equation, making our final equation y = x - 2. We don't need to put y = 1x for the slope since multiplying something by 1 is doesn't change the number.

I hope this helps! I know my explanation might have been kind of confusing so if you need more help let me know in the comments !

7 0
3 years ago
Read 2 more answers
Other questions:
  • This is relay hard i need help 19 point available
    5·1 answer
  • 9 to the 12th power divided by 9 to the 8th power
    9·1 answer
  • Simplify and justify steps 4(a+2b)=3(2a-b)+6a-7b
    6·1 answer
  • Factorize (3r^2-9r)(r+3)
    6·1 answer
  • Write the equation of the line that passes through (0,2) and (-3,-4) in slope intercept form.
    13·1 answer
  • 13x - 4 &lt; 12x - 1?................................................
    10·1 answer
  • 4.8n + 3.2n simply the expression mathematics
    8·2 answers
  • A parabola has x-intercepts at x = 1/2 and x=5. what is the equation of the parabola
    8·1 answer
  • Which graph represents a function
    8·1 answer
  • Find three consecutive odd integers whose sum is 13 more than twice the largest of the three integers.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!