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
Find the derivative of f(x)= e^(4x) + e^-(4x)
ololo11 [35]

Answer:

f'(x)=4e^{4x} -4e^{-4x}

Step-by-step explanation:

To find this derivative, we will need to use the chain rule.

As there is a variable in the exponent we can use this formula:

f'(x)=u'e^u

In this case, u=4x and u=-4x

This means that u'=4 and u'=-4 respectively

This gives us f'(x)=4e^{4x} -4e^{-4x}

4 0
3 years ago
Read 2 more answers
Need help on my math!!!!!!!
Natalka [10]
(x^2+5x-36)/(x^2-16)
=(x^2+9x-4x-36)/(x^2-4^2)
=x(x+9)-4(x+9)/(x+4)(x-4)
=(x-4)(x+9)/(x+4)(x-4)
=x+9/x+4
Hope this helps.
3 0
3 years ago
A newborn baby weighs 8 pounds and decreases his weight by 5% every week how much does the baby weigh after 20 weeks?
Feliz [49]

Answer:

in 20 weeks the baby will weigh nothing and is definitely dead

Step-by-step explanation:

5% of 8 is . 4

.4 x 20 is 8

5 0
3 years ago
Read 2 more answers
"The product of two numbers is 169. If the L.C.M. of these numbers is 13, find their H.C.F. "
umka21 [38]

Answer:

13

Step-by-step explanation:

HCF = Product of two numbers ÷  LCM of these numbers

HCF = \frac{169}{13}

        = 13

3 0
2 years ago
Mr. Hann is trying to decide how many new copies of a book to order for his students. Each book weighs 6ounces
Nina [5.8K]

Answer:

I’m afraid I can’t help you. The question makes no sense because the question doesn’t explain how many students there are. It just gives the weight of the books which I assume is useless

Step-by-step explanation:


3 0
3 years ago
Other questions:
  • Suppose that about 58% of the people who are murdered actually knew the person who committed the murder. suppose that a detectiv
    12·1 answer
  • Can someone help me with 3,5,and 8???
    14·1 answer
  • When using the quadratic formula if there is no b value then do you say b is 1 or 0
    6·2 answers
  • Pls help me! i’m very confused on this certain question.
    8·1 answer
  • Calculati un numar stiind ca 15% din acesta este 141.
    12·2 answers
  • What is 20 divided by 2​
    11·1 answer
  • Can anyone please solve this question​
    14·1 answer
  • Which one of these is NOT equivalent to 2/3?<br> 1. 11/23<br> 2. 12/18<br> 3. 14/21<br> 4. 6/9
    9·1 answer
  • Fatima writes down three square numbers.
    12·1 answer
  • How many times larger is 4 × 1011 than 2 × 106?
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!