subject

Read the following code:

# distance equals the square root of X squared plus Y squared
distance = sqrt((pow (x, 2) + pow y, 2)

There is an error in the code. How should the code be revised in order to get the correct output? (3 points)

distance = sqrt(pow x, 2) + (pow y, 2)

distance = sqrt(pow x, 2 + pow y, 2)

distance = sqrt((pow x, 2) + (pow y, 2))

distance = sqrt(pow(x,2) + pow(y,2))

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 11:00
Describe three characteristics of at-risk drivers. a. b. c. describe three characteristics of safe drivers. a. b. c. describe three driver errors that could cause a collision. a. b. c. how will this information affect you as a driver now and in the future? (2-3 sentences)
Answers: 2
question
Computers and Technology, 24.06.2019 09:10
  to change the number of rows and columns displayed by the excel object a. select the object and drag a size handle on the active object. b. deselect the object and drag a size handle of the object. c. deselect the object and drag a row or column divider of the object. d. select the object and drag a row or column divider on the active object.
Answers: 2
question
Computers and Technology, 24.06.2019 10:00
Each time you save a document, you will need to type in the file type in which it should be saved you can select the save button to save it with the same file name if it has been previously saved you will need to select the location to save the file you will need to use the save as dialog box
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
To move an excel worksheet tab, simply right-click on it drag and drop it double-click on it delete it
Answers: 1
You know the right answer?
Read the following code:

# distance equals the square root of X squared plus Y squared...
Questions
question
Mathematics, 17.02.2021 07:30
question
Mathematics, 17.02.2021 07:30
question
Mathematics, 17.02.2021 07:30
question
Mathematics, 17.02.2021 07:30
question
Mathematics, 17.02.2021 07:30
question
Mathematics, 17.02.2021 07:30