subject
Mathematics, 12.02.2020 19:45 sman091305

A robot is standing on an integer number line spanning the range from −[infinity] to [infinity]. Its position, x, starts at 0. There is an antenna at an unknown location y that the robot must reach as quickly as possible in order to repair it. Since it doesn’t know whether to move left or right, it searches in both directions by first moving one step to the right, then two steps to the left, then three to the right, and so on until it hits the antenna. So the locations it touches are as follows: (0, +1, −1, +2, −2, +3, −3, . . .). What is the Θ-runtime of the robot’s search in terms of integer unit steps, if the antenna is n steps away? You should get the same answer regardless of whether its to the left or right.

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 12:30
Does anyone know of a quizlet or something for edmentrum /plato algebra 1
Answers: 2
question
Mathematics, 21.06.2019 16:30
What is the area of a pizza with a radius of 40 cm leave the answer in terms of π to find your exact answer 40π cm² 1600π cm² 800π cm² 80π cm² π=pi
Answers: 1
question
Mathematics, 21.06.2019 18:00
Henry is an avid reader, he devours 90 pages in half an hour how many pages has henry read per minute?
Answers: 1
question
Mathematics, 21.06.2019 22:00
The customer price index(cpi), which measures the cost of a typical package of customer goods,was 208.8 in 2011 and 244.1 in 2016.let x=11 corresponding to the year 2011 an estimate to cpi into 2013 and 2014. assume that the data can be modeled by a straight line and the trend to continue idenfinitely.use data points to find such a line and then estimate the requested quantities
Answers: 1
You know the right answer?
A robot is standing on an integer number line spanning the range from −[infinity] to [infinity]. Its...
Questions
Questions on the website: 13722363