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 equation of the circle with the given characteristics. Center: (−2, 1) Radius: 2 The solution is
konstantin123 [22]
The format for the equation of a circle is (x-h)^2+(y-k)^2=r^2, where (h,k) is your center and r is your radius. All we have to do is substitute the correct values, giving us the equation (x+2)^2+(y-1)^2=4

:)
8 0
4 years ago
In the adjoining figure, the parallel lines are marked by arrow lines. The value of angle 1 is:
dlinn [17]

Answer:

20°

Step-by-step explanation:

40°, 70° and 90° are the measures of the three angles of the quadrilateral.

Measure of fourth angle of the Quadrilateral

= 360° - (40° + 70° + 90°)

= 360° - 200°

= 160°

Measure of angle 1 will be equal to the measure of the linear pair angle of 160° as they are corresponding angles.

Thus,

m\angle 1 = 180\degree- 160\degree

\implies\huge\purple{\boxed{ m\angle 1 = 20\degree}}

Alternate method:

m\angle 1 = 180\degree- [360\degree-(40\degree+70\degree+90\degree)]

\implies m\angle 1 = 180\degree- [360\degree-200\degree]

\implies m\angle 1 = 180\degree- 160\degree

\implies m\angle 1 = 20\degree

6 0
3 years ago
Read 2 more answers
CAN SOMEONE PLZZ HELP WIT THIS!!!!!
Shtirlitz [24]

Answer:

B

Step-by-step explanation:

b and a=40⁰ so if b+c is supplementary they equal 180⁰ together so 180-40= 150⁰

6 0
3 years ago
Read 2 more answers
Domain and, range in interval notation
Bas_tet [7]

Domain: [-4,4]  (left-to-right or x-values used)

Range: [-4,4] (down-to-up or y-values used)

Function: no

4 0
3 years ago
12. Raul invests $6500 at a simple interest rate of 4%. How much will he earn
kenny6666 [7]

Answer:

$1,560

Step-by-step explanation:

Interest = Principal x Interest Rate x Time (in years)

I = 6500(.04)(6)

I = 1560

7 0
2 years ago
Other questions:
  • I tried to figure it out but i can't. i need to show the work and i don't know how to do it.​
    10·1 answer
  • Explain how you can use multiplication to find the quotient 3/5÷3/15 then evaluate the expression.
    6·2 answers
  • Im dumb so help me out here 50 points each Click on the image to enlarge
    10·1 answer
  • Can someone help me out with this question !!!
    6·1 answer
  • Find the radius of each figure. round to the nearest tenth.
    7·1 answer
  • Is x = 3 a solution to the inequality below?<br><br> 5 ≥ x
    9·2 answers
  • PLS HELP?!??!
    5·1 answer
  • Acellus
    6·2 answers
  • For a moving object, the force acting on the object varies directly with the object's acceleration. When a force of 80 N acts on
    6·1 answer
  • Evacuate the following using suitable identities (102)^3
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!