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
Mrac [35]
4 years ago
8

C write function distance that calculates the distance between two points (x1, y1) and (x2, y2). all numbers and return values s

hould be of type double.
Mathematics
1 answer:
TEA [102]4 years ago
6 0
Your question is unclear but here is my try.

Given (0, 5) and (5, 0), find the distance between the two points.

Let (0, 5) and (5, 0) be the two points.

Let d = distance

d = sqrt{(5 - 0)^2 + (0 - 5)^2}

d = sqrt{(5)^2 + (-5)^2}

d = sqrt{25 + 25}

d = sqrt{50}

d = sqrt{25}•sqrt{2}

d = 5•sqrt{2}

You might be interested in
URGENT NEEDS TO ME SUBMITTED BY MIDNIGHT!! The ratio of girls to boys in Mr. Hansen’s class is 4:5. The ratio of girls to boys i
nadya68 [22]
If the ratio of girls to boys in Mr. Hansen's class is 4:5, and the ratio of girls to boys in Ms. Luna's class is 8:10, then the equation that correctly compares the ratio of both Mr. Hansen's class and Ms. Luna's class are 4/5 = 8/10.
3 0
3 years ago
So who said i was not good at math???? me i did lol
marysya [2.9K]

Answer:

I got 10 grade on my 7th iready test

Step-by-step explanation:

Just try your best ;-;

5 0
3 years ago
Read 2 more answers
How many of each angles are in a pentagon
Illusion [34]

There are 108 degrees in each interior angle of a regular pentagon .


I hope that's help !

8 0
4 years ago
Read 2 more answers
PLEASE PLEASE PLEASE HELP I WILL GIVE U 25 POINTS!!!! AND MARK BRAINLIEST OR WHATEVER ITS CALLED
Lady bird [3.3K]

Answer:

A.Linear

B.exponential

C.exponential

D.quadratic

6 0
3 years ago
Read 2 more answers
Can someone please help??
mel-nik [20]

Answer:

Step-by-step explanation:

si...  yono  em usho de cmopu preo sloo estoy usand una jjssjsjsj jsjsj  c

4 0
3 years ago
Other questions:
  • $8,425 divided by $10.25 <br><br> please show your work
    14·1 answer
  • I don't understand this. Can someone help me out?
    9·1 answer
  • 3. <br><img src="https://tex.z-dn.net/?f=%20%5Csqrt%7B2%7D%20%28%5Csqrt%7B6%7D%20%20-%20%20%5Csqrt%7B14%7D%29" id="TexFormula1"
    7·2 answers
  • 10.2cm is rounded to one decimal place write down the maximum possible length it could have been
    10·2 answers
  • There were 420 matches in the football tournament, with each team playing one team at a time on its own and others' fields. How
    12·1 answer
  • 4+5(3-x)=4(8+2x)<br> send help please i’m taking a quiz and have NO clue
    15·2 answers
  • Simplify 5- (-2x – 7)
    9·2 answers
  • Two less than three times a number is between -11 and 1. solve.
    5·1 answer
  • Which side is adjacent to
    10·1 answer
  • A bakery sells 5394 donuts in 2010. The bakery sells 10,874 donuts in 2015. Write a linear model that represents the number y of
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!