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
Solve for y y-(-5)=-7
romanna [79]
Y - (-5) = -7
---------------------------
Simplify
y + 5 = -7
-------------------------------------
Subtract 5 from each side
y + 5 - 5 = -7 - 5
y = -12
--------------------------------------------
y = -12 is your answer

7 0
3 years ago
Read 2 more answers
Mr. Peterson sold a parcel of land and decided to share half of the amount he got among his three children Jane, Peter and marth
aliya0001 [1]

Answer:

60,000

Step-by-step explanation:

Jane-2000

Peter-ratio of 5=25000

Marta-ratio of 7=35000

25000+35000

60000

5 0
3 years ago
Read 2 more answers
If the value of third order determinant is 11. Then what is the value of the determinant formed by its cofactors.
nordsb [41]

Answer:

146.41

Step-by-step explanation:

third order determinant = determinant of 3×3 matrix A

given ∣A∣=11

det (cofactor matrix of A) =set (transpare of cofactor amtrix of A) (transpare does not change the det)

=det(adjacent of A)

{det (cofactor matrix of A)}  ^2  = {det (adjacent of A)} ^2

 

(Using for an n×n det (cofactor matrix of A)=det (A)^n−1 )

we get

det (cofactor matrix of A)^2  = {det(A)  ^3−1 }^2

 

=(11)^2×2  = 11^4

 =146.41

5 0
3 years ago
I really am confused on how to write a proof.
kvasek [131]

Since ABCD is a parallelogram, the opposite sides will be parallel and equal,

\begin{gathered} AB=CD \\ BC=AD \end{gathered}

Consider that AC acts as a transversal to the parallel lines AB and CD, so we can write,

\begin{gathered} \angle CAD=\angle ACB\text{ (Alternate Interior Angles)} \\ BC=AD\text{ (Opposite sides of parallelogram)} \\ \angle ADB=\angle CBD\text{ (Alternate Interior Angles)} \end{gathered}

So by the ASA criteria, the triangle AED is congruent to the triangle CEB,

Then the corresponding parts of the triangles will be equal,

\begin{gathered} AE=CE \\ BE=DE \end{gathered}

Hence Proved.

8 0
1 year ago
in a triangle two sides of the same length the ratio of each of these sides to the third side is 5:3 if the perimeter of the tri
AveGali [126]

Answer:

Step-by-step explanation:

Perimeter of a triangle equals side 1 plus side 2 plus side 2

           P = s1 + s2 + s3                 side 1 = side 2 =  x

                                                     x/side 3 = 5 / 3

                                                     x  = (5/3) side 3

                                                     x (3/5)  = side 3

                                                 

                                                     perimeter = 65    slove for x

          65  = x + x + 3x/5

         325  = 5x + 5x + 3x

         325  = 13X

          25   = x    equal side 1 and side 2  

          side 3 = 25(3/5)  = 15

3 0
3 years ago
Other questions:
  • Write the following decimals as fractions. a. .76 b. .3 c. .262 d. .8053
    11·2 answers
  • Which of the following could not be a value of n?13O A. 7B. 10C. 13O D. 222
    11·2 answers
  • What is a binomial? followed with an example?
    10·2 answers
  • Simplify completely quantity 5 x squared minus 21 x minus 20 all over quantity 5 x squared minus 16 x minus 16.
    5·2 answers
  • Dominic works on the weekends and on vacations from school mowing lawns in his neighborhood. For every one lawn he mows, he char
    15·2 answers
  • HELP PLEASE ITS URGENT!!
    11·2 answers
  • Use the order of operations to simplify 4(3.5 - 1.5) - 1.<br> A. 19<br> B. 73<br> C. -4<br> D. 12
    11·1 answer
  • Simplify (2x+1)(x+8) - (x-3)(2x+1) ​
    7·1 answer
  • In the figure, m 2 2 = (2x +50) and m 2 7 = (5x +20) ° What is m &lt; 2? (G5A)
    12·1 answer
  • Evaluate the expression when a=-7 and y=4. -y+2a
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!