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

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 18:00, emmanuelcampbel
Jack has a piece of red ribbon that is two times as long as his piece of blue ribbon. he says that he can use two different equation to find out how long his piece of red ribbon is compared to his piece of blue ribbon is. is he correct? explain his reasoning
Answers: 1
image
Mathematics, 21.06.2019 22:30, ghernadez
If x-1 and x+3 are the factors of x3+10x2+ax+b find a and b
Answers: 1
image
Mathematics, 21.06.2019 23:10, ylianafghgfdsnm1479
Statements reasons 1. ab ? cd; ad ? bc 1. given 2. ac ? ac 2. reflexive property 3. ? adc ? ? cba 3. ? 4. ? dac ? ? bca; ? acd ? ? cab 4. cpctc 5. ? dac and ? bca are alt. int. ? s; ? acd and ? cab are alt. int. ? s 5. definition of alternate interior angles 6. ab ? cd; ad ? bc 6. converse of the alternate interior angles theorem 7. abcd is a parallelogram 7. definition of parallelogram what is the missing reason in step 3?
Answers: 2
image
Mathematics, 21.06.2019 23:20, braddypeter61
Interpret the following expression (5y^2-7)^3/(2y)^2
Answers: 2
You know the right answer?
A robot is standing on an integer number line spanning the range from −[infinity] to [infinity]. Its...

Questions in other subjects: