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 with inputs: 1. 0 2. 0 1. 0 5. 0.

Answers

Answer 1

The point_dist with the distance between point (x1, y1) and point (x2, y2): point_dist = math.sqrt((x2 – x1) ** 2.0 + (y2 – y1) ** 2.0).

The program is the illustration of functions. Functions are the collections of defined program statements, which are executed when they are evoked.

In this case, the program in Python, in which comments are used to explain each line is as follows:

#This imports the math module

import math

#This defines the function

def calculate distance (x1, y1, x2, y2):

#This calculates the distance between the point_dist

point_dist = math.sqrt((x2 – x1) ** 2.0 + (y2 – y1) ** 2.0)

#This returns the calculated distance

return dist distance

Learn more about Python functions at: brainly.com/question/14284563

#SPJ4

Although part of your question is missing, you might be referring to this full question: 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 with inputs: 1.0 2.0 1.0 5.0. Points distance: 3.0.

Assign Point_dist With The Distance Between Point (x1, Y1) And Point (x2, Y2). The Calculation Is: Distance

Related Questions

Ahh- yes—- I need help, again-

Answers

the 3rd answer for this problem

expand using exponential form a.) 1492.034 b.) 1200.36​

Answers

Answer:

Step-by-step explanation:

Expanded Exponential Form:

1,492.034 =

1 × 10^3

+ 4 × 10^2

+ 9 × 10^1

+ 2 × 10^0

+ 0 × 10^-1

+ 3 × 10^-2

+ 4 × 10^-3

Expanded Exponential Form:

1,200.36 =

1 × 10^3

+ 2 × 10^2

+ 0 × 10^1

+ 0 × 10^0

+ 3 × 10^-1

+ 6 × 10^-2

A rectangular playground has an area of 3,162 square meters. If the width of the rectangle is 51 meters, find the length.

Answers

Answer:

   

Step-by-step explanation:

3
Michael split
pounds of candy among 8 people.
What is the unit rate in pounds per person?
Write your answer in simplest form.

Answers

Answer:

1/8

Step-by-step explanation:

The question is incomplete, here is the complete question

Michael split 3/4

pounds of candy among 8 people.

What is the unit rate in pounds per person?

Write your answer in simplest form

SOLUTION:

Micheal splits 3/4 candy among 8 people

Therefore the unit rate per pounds per person can be calculated as follows

= 3/4 ÷ 8

= 3/4 × 1/8

= 3/24

= 1/8

Hence the unit per pound per person is 1/8

5-1(b+2) =

3+4(3m+2n) =

Answers

hope this helps! feel free to clarify

Answer:

5-1(b+2) = 5-b-2=3-b

3+4(3m+2n) =3 +12m +8n

Another math problem

Answers

Answer:

sorry no se la respuesta

30 is 85 percent of what number?

Answers

Divide 30 by 85%

30/0.85 = 35.29411765

Answer:

35 5/17 or 35.29411765

Step-by-step explanation:

30 times 100 divided by 85

In the figure below, m1 =x and m2= x-8. Which statement could be used to prove that x =49?

Answers

Answer:

C.                          m∠1 +m∠2 = 90

Step-by-step explanation:

What is the y intercept and slope??

Answers

Answer:

y = .5x+30

Step-by-step explanation:

[tex]m= \frac{y2-y1}{x2-x1}[/tex]

hope this helps, good luck :)

11w+5w-1=65w-36
Ayuden poniendo tambien el procedimiento plis

Answers

Answer:

w=1.4

Step-by-step explanation:

11w+5w-1=65w-36

16w-1=65w-36

16w-65w= -36+1

-49w= -35

w= -35/-49

w= 1.4

A boat which moves a 15 miles per hour without a current goes 36 miles upstream and 36 miles back in 5 hours. Find the speed of the current

Answers

Answer:

3 mph

Step-by-step explanation:

UPSTREAM:

distance = 36 miles ;

Speed = 15-c mph ;

TIME, t = distance / speed = 36/(15-c)

Downstream :

distance = 36 miles ;

speed = 15+c mph ;

time, t = 36/(15+c)

upstream time + downstream time = 5 hrs

36/(15-c) + 36/(15+c) = 5

36(15+c) + 36(15-c) = 5(15-c)(15+c)

1080 = 5(225 - c²)

1080 / 5 = 225 - c²

216 = 225 - c^2

216 - 225 = c²

-9 = c²

c = 3

Which description best fits the graph?

decreasing, then increasing

always increasing

increasing, then decreasing

always decreasing

Answers

always decreasing is the answer

someone pls help me 10 points

Answers

The answer to the system of equationsis (-3,-1)
-3,-1 is the anwser to it

Hey can someone please help me with this

Answers

Answer:

Esteban

Step-by-step explanation:

What is the area of the composite figure?
65 cm2
52.5 cm2
40 cm2
60 cm2​

Answers

Answer:

65 cm²

Step-by-step explanation:

follow for more on my id

Answer:

65 cm I just took the test

Step-by-step explanation:

Three runners in a relay race share the 8-mile distance equally. How many miles does each runner travel?

Answers

Answer: 2 2/3 miles

Step-by-step explanation:

From the question, we are informed that three runners in a relay race share the 8-mile distance equally.

The number of miles that each runner travel will be the total miles divided by number of runners. This will be:

= 8/3

= 2 2/3 miles

4r - 9 = 7r can you help solve

Answers

Answer:

r=4 :)

Step-by-step explanation:

12 = 6y - 36
Solve for y

Answers

Answer:

y=8

Step-by-step explanation:

add 36 to 12. then divide 48 (the result) by 6 to get 8

Answer:

Y=8

Step-by-step explanation:

12 = 6 x y - 36

12=6 x 8 - 36

12 = (6x8) - 36

12 = 48 - 36

Y= 8

Hope this helps

Mark brainliest if it helps.

Evaluate the expression 30 + 10 -10

Answers

The answer is 30 the +10 and -10 cancel each other out

I know this is easy but I got a diff answer so pls help. Worth 5 points

Answers

Step-by-step explanation:

[tex] \frac{5}{8} \times \frac{3}{2} \div \frac{15}{16} \\ \frac{15}{16} \times \frac{16}{15} \\ = 1[/tex]

Answer:

1

Step-by-step explanation:

5/8 x 1 1/2 / 15/16 = 1                        (5/8 / 15/16 = 2/3,   2/3 x 1 1/2 =1 )

I need help pleaseeeeee

Answers

Given:

[tex]\Delta MAT\cong \Delta MHT[/tex] and [tex]m\angle 2=82^\circ[/tex].

To find:

Whether [tex]m\angle 1=47^\circ[/tex] is possible or not.

Solution:

We have,

[tex]\Delta MAT\cong \Delta MHT[/tex]

[tex]\angle AMT\cong \angle HMT[/tex]                      (CPCTC)

[tex]m\angle 3=m\angle 8[/tex]              ...(i)

And,

[tex]m\angle 1=m\angle 8[/tex]              ...(ii)        (Vertically opposite angles)

From (i) and (ii), we get

[tex]m\angle 1=m\angle 3[/tex]              ...(iii)

Now,

[tex]m\angle 1+m\angle 2+m\angle 3=180^\circ[/tex]          (Linear pair)

[tex]m\angle 1+82^\circ+m\angle 1=180^\circ[/tex]             (Using (iii))

[tex]2m\angle 1=180^\circ-82^\circ[/tex]

[tex]2m\angle 1=98^\circ[/tex]

Divide both sides by 2.

[tex]m\angle 1=\dfrac{98^\circ}{2}[/tex]

[tex]m\angle 1=49^\circ[/tex]

The measure of angle 1 is 49 degrees so it cannot be equal to 47 degrees.

Therefore, the required answer is "no", the given statement [tex]m\angle 1=47^\circ[/tex] is not possible.

Evaluate the expression when x = 2.5 and y = 6.
5xy

Answers

Answer:

75

Step-by-step explanation:

5(2.5)(6)

5*2.5*6

=75

Answer:

75

Step-by-step explanation:

5*(6x2.5)

6x2.5=15

15x5=75.

please help these two questions show working
thank you :)​

Answers

Answer:

a) The acceleration between 20 and 40 seconds is equal to the slope in that range.

Remember that for aline that passes through the points (a, b) and (c, d) the slope is:

slope = (d - b)/(c - a)

In this case we can see the points:

(20s, 2m/s) and (40s, 4m/s)

Then the slope (and thus the acceleration) is:

slope = (4m/s - 2m/s)/(40s - 20s) = (2m/s/20s) = 0.1 m/s^2

The acceleration between 20 seconds and 40 seconds is 0.1 m/s^2

b) The total distance travelled is equal to the area under the curve.

So we could just count the number of squares, this is the easy way.

We can see that each square measures 10 seconds by 1 m/s, then the "area" of each square represents:

a = (10s)*(1m/s) = 10m

This means that each square represents a distance of 10 meters.

We can count that:

between 0s and 10s we have 1 whole square.

between 10s and 20s we have 2 whole squares.

between 20s and 30s we have 2 and half squares.

between 30s and 40s we have 3 and half squares.

Then the total number of squares under the curve is:

1 + 2 + 2.5 + 3.5 = 3 + 2.5 + 3.5 = 3 + 6 = 9

So we have 9 whole squares under the curve, and each square represents a distance of 10 meters, so the total distance traveled is:

Distance = 9*10m = 90m

c) We have an isosceles triangle where we know that one side measures 8.2 cm and another side measures 9.4cm

An isosceles triangle has two equal sides and one different.

So if we want to have the maximum perimeter, the two equal sides must have the longest side length (9.4 cm)

Then the (largest) perimeter of the triangle (the sum of the lengths of all 3 sides) is:

8.2cm + 9.4cm + 9.4cm = 27cm

I generally need help

Answers

Answer:

24 units²

Step-by-step explanation:

4(12)/2=24

What does this add up to 5/27 + 1/27 =

Answers

Answer:

6/27

Step-by-step explanation:

Answer:

2/9

Step-by-step explanation:

5/27+1/27=6/27

reduced to lowest denominator

(divide top & bottom by 3)

2/9

i need help pls i don't know what to do at all pls help

Answers

Answer:

Add all the outer lines and they may add up to be the perimeter, if you need the area multiply 4 times 8 and add that to 5.6*4/2 +4.5*4/2 plus four times eight

Step-by-step explanation:

Answer:

I remember these form when I was like 10 but ok.

Step-by-step explanation:

pretty sure you multiply the base times the height. But first you have to take out all triangwkes which leaves you with two of them.

so 8x4 for the top one and then 14x4.5 for the bottom one.

then for the triangles the one on the left is 5.6x4

the right one is 4.5x14

then divide both triangles answers into two. That should be the triangle areas. Then add the two triangles pieces together.

once don’t add the squares areas with the triangles and that’s THE AREAAAA

im sry I’m a lil rusty so if it’s wrong pwease forgive me :/

Do the ratios 4/2 and 10/5 form a proportion? Yes or no

Answers

Answer:

These are both 20 so that means that this is proportional, yes.

Step-by-step explanation:

Hi.

To figure this out we can do something called cross multiplying to find a cross product. If we do this and our two answers are equal then it is indeed a proportion.

Here is how we do this.

[tex]\frac{4}{2}[/tex]    [tex]\frac{10}{5}[/tex]

So basically what we are doing is multiplying across in a diagonal direction.

Diagonal meaning like a slash / .

So in this case we would multiply the 4 and the 5 , since they're diagonal from each other.

Do the same for the 2 and the 10.

So we have to multiply :

4 x 5

2 x 10

=

20

These are both 20 so that means that this is proportional, yes.

Hope this helps.

If you have any questions or concerns feel free to message me.

Yes the ratios 4/2 and 10/5 form a proportion.

What is Ratio?

A ratio is an ordered pair of numbers a and b, written a / b where b does not equal 0. A proportion is an equation in which two ratios are set equal to each other.

To figure this out we can do something called cross multiplying to find a cross product. If we do this and our two answers are equal then it is indeed a proportion.

4/2, 10/5

So basically what we are doing is multiplying across in a diagonal direction.

Diagonal meaning like a slash.

So in this case we would multiply the 4 and the 5 , since they're diagonal from each other.

Do the same for the 2 and the 10.

So we have to multiply :

4 x 5

2 x 10

=20

Hence these are both 20 so that means that this is proportional, yes.

To learn more about Ratios click:

https://brainly.com/question/26974513

#SPJ2

PLEASE HELP!!!!
If angles P and Q are complementary, which statement about the two angles is true?

P and Q are opposite facing.

P and Q add up to 90°.

P and Q are always adjacent.

P and Q sum to 180°.

Answers

P and Q add up to 90 degrees

Answer:

P and Q add up to 90°.

Step-by-step explanation:

Justin is evaluating the expression 12.5 + 3.8 x, when x is 7.9. 12.5 + 3.8 (7.9). 16.3 (7.9). 128.77. What was Justin's error? Justin should have multiplied 12.5 and 7.9 first. Justin should have added 12.5 and 7.9 first. Justin should have multiplied 3.8 and 7.9 first. Justin should have added 3.8 and 7.9 first.

Answers

Answer: Justin should have multiplied 3.8 and 7.9 first.

Step-by-step explanation:

Given the equation

12.5 + 3.8x

where, x = 7.9, the first thing that Justin's should have done was to multiply 3.8 and 7.9 first. This will be:

= 12.5 + 3.8x.

= 12.5 + 3.8(7.9)

= 12.5 + 30.02

= 42.52

Answer: (C) Answer: Justin should have multiplied 3.8 and 7.9 first.

Step-by-step explanation: Read person above(just making sure it's correct)

How much would a house cost today if it cost $100,000 2 years ago before a 4% increase each year in housing prices?

Answers

Answer:

100000 × 1.04 × 1.04

Step-by-step explanation:

108160

Other Questions
a brass compression ring used for joining is called a(n) _______. Which statement describes matter flowing from a nonliving part of the ecosystem to a living part, then back to a nonliving part? A. Carbon dioxide in air is taken up by trees, and then it becomes organic matter in soil. B. Ground beetles on the ground are eaten by birds, which die and become organic matter in soil. C. Fungi in soil are eaten by nematodes, which are then hunted by centipedes. D. Carbon in organic matter is broken down by bacteria, and then it is eaten by nematodes. The net force on any object moving at constant velocity is equal to its weight. less than its weight. 10 meters per second squared. zero. all of the following were identified as risk factor domains for deviance onset except for . a. school b. family c. individual and peer d. nationality Analysts expect Costco stock to pay a dividend of $3.52 in 1 year and is expected to sell for $376.99 at that time. If the required return is 6%, what is the value of the stock?You are thinking about buying a stock and holding it for 3 years. You expect that the stock will pay a dividend of $1.41 in 1 year, $2.45 in two years, and $3.7 in three years. You expect to sell for $77.25 in 3 years. If the required return is 11.15%, what is the value of the stock.The price of a stock is $121.53 and the stock is currently in a constant dividend growth phase. Dividends are expected to grow at a rate of 6.48% forever. What will be the stocks price be in 9 years?A stock does not currently pay a dividend, but you expect to sell the stock for $82 in 3 years. The required return is 6%. What is the value of the stock? According to astronomers' best measurements, space appears to be... A. 8 billion years old. B. flat. C. positively curved. D. infinitely old. based on information in the aztec origin myth and other archaeological evidence, the city of aztlan was _________________. When the value of imports into a nation exceeds the value of its exports, that nation is experiencing a(n)a. trade deficitb. economy of scalec. fixed marketd. competitive advantage Based on the description provided, if lactose was hydrolyzed under the action of lactase in O-18 labeled water, in which location(s) would the label appear?A. Neither the galactose nor the glucose productsB. The glucose product onlyC. The galactose product onlyD. Both the galactose and the glucose products the first country to require standardized cost-effectiveness analysis before a pharmaceutical drug would be approved for distribution and reimbursement was: (a) Find expressed as a function of t for the given the parametric equations: dx x y = = cos(t) 9 sin?(t) dy de = -6sect = -6sect expressed as a function of t. dx2 is undefined, is the curve concave up or concave down? (Enter 'up' or 'down'). (c) Except for at the points where Concave Evaluate The Definite Integral 3 X / (16+3x) Dx0 recast the following computational problems as decision problems. a. sorting b. shortest path finding In which settings would a river or lake lose water to groundwater? how does american composer ellen taafe zwilich use musical quotation in concerto grosso 1985? Which of the following does NOT characterize modern industrial agriculture?(A) specialized crops(B) signing agreements with buyer-processors(C) global exchange(D) prices met by individual needs of farmers(E) participation by farmer in less developed countries The point C(3, 1) is translated to the left 4 units and up 1 unit. a. Write the rule for this translation. b. What are the coordinates of the image point? A. (x, y) right arrow (x + 4, y +1); (7, 2) B. (x, y) right arrow (x 4, y 1); (1, 0) C. (x, y) right arrow (x + 4, y 1); (7, 0) D. (x, y) right arrow (x 4, y + 1); (1, 0) characteristics we define as homo appear in the fossil record at different times. this is known as: a. hybridization b. uneven development. c. mosaic evolution.d. evolution Coco-Cola is considering investment in a project that costs $1,200 m and yields cash flows of $500 m in the first year, $600 m in the second year and $700 m in the third year. The appropriate discount rate for this project is 10 percent. What is the Profitability Index for Coco-Cola provide the reagents necessary to carry out the following conversion. group of answer choices a & c 1. lialh4 2. h2o h3o /heat nabh4/ch3oh na/nh3