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
muminat
3 years ago
15

## Inputs

Computers and Technology
1 answer:
Vitek1552 [10]3 years ago
7 0

<em># Recieving two coordinate pairs</em>

x1 = int(input("Please provide X1:\t"))

y1 = int(input("Please provide Y1:\t"))

x2 = int(input("Please provide X2:\t"))

y2 = int(input("Please provide Y2:\t"))

<em> </em>

<em>## Calculations </em>

<em> </em>

<em> </em>

<em># distance formula</em>

xDif = x2 - x1

yDif = y2 - y1

radical = xDif**2 + yDif**2

distance = radical ** (1/2) # meters

<em>## Outputs</em>

if(distance>50):

   print("The points are very far apart\n")

elif(distance<5 and distance>0):

   print("The points are fairly close\n")

elif(distance==0):

   print("These point are the same\n")

<em>#Informing the user of distance between the two coordinate pairs</em>

print("Distance between points:", distance, "meters")

You might be interested in
How was science used to make television?
Wewaii [24]

Answer:

Sir William Crookes invented the cathode ray tube in 1878, but these discoveries took many years to merge into the common ground of television. His mechanical system used a scanning disk with small holes to pick up image fragments and imprint them on a light-sensitive selenium tube. A receiver reassembled the picture.

5 0
3 years ago
Read 2 more answers
What's is the contribution of technology to the country?
slamgirl [31]
To help us get news from different countries
8 0
3 years ago
10. Which of these is not an HTTP verb? PUT AJAX GET DELETE
Korolek [52]

Answer:

Brainliest!

Explanation:

The primary or most-commonly-used HTTP verbs (or methods, as they are properly called) are POST, GET, PUT, PATCH, and DELETE. These correspond to create, read, update, and delete (or CRUD) operations, respectively. There are a number of other verbs, too, but are utilized less frequently.

-

restapitutorial

.

com

3 0
3 years ago
A ____ network (or workgroup) consists of multiple windows computers that share information, but no computer on the network serv
ra1l [238]
<span>A peer-to-peer network (or workgroup) consists of multiple windows computers that share information, but no computer on the network serves as an authoritative source of user information. domain-based peer-to-peer server-based centralized</span>
5 0
3 years ago
True or false a mirrorless camera has a pentaprism
inessss [21]

Answer:

No the pentaprism or pentamirror are both optical viewfinder viewing systems and are not part of the mirrorless camera. Some thing the pentaprism actually operates better than the electronic viewfinder of mirrorless cameras.

Explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • True or false words spelling and grammar check is always %100
    7·2 answers
  • What is binary number
    11·1 answer
  • What is the maximum number of fonts that should be used on a slide?
    13·1 answer
  • What is the internet?
    5·2 answers
  • What is 8 hours, 5 minutes, 22 seconds minus (-) 7 hours, 24 minutes, 37 seconds?
    6·1 answer
  • The ____ developed numerical methods for generating square roots, multiplication tables, and trigonometric tables used by early
    12·1 answer
  • Select the correct answer.
    10·1 answer
  • What is keyboard? answer me <br>​
    12·2 answers
  • Write the implementation of a class Cse20 Topic that represents a topic in the cse20 class. The class should implement the init
    13·1 answer
  • You need to know more than just facts in order to use critical thinking skills.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!