subject

Let g be an n × n grid. you start at a particular position, with zero velocity. at every time step you can modify your horizontal velocity by 1, or keep it the same. the same holds independently for vertical velocity. so if at a particular time you are at position x, y and already have velocity vx, vy, then at the next time step you will jump and land at position x + vx, y + vy, and you have the option of modifying each component of your velocity by ±1. at several (known) grid positions there are pits full of dragons that you want to avoid landing on. it is ok to jump over a dragon pit. you also shouldn’t jump off the grid. the goal is to arrive at a specified target position, with zero velocity, in as little time as possible. show how fast you can compute an optimal trajectory or decide that there is no way to reach the target.

hint: try this out in 1d instead of 2d. if you can solve that, you’ll be fine.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 09:30, bhadd4385
What is the definition of digital literacy?
Answers: 1
image
Computers and Technology, 24.06.2019 13:30, andybiersack154
Consider jasper’s balance sheet. which shows how to calculate jasper’s net worth?
Answers: 1
image
Computers and Technology, 24.06.2019 18:30, Suttyyyyyybear6056
What are the benefits to using presentations to organize and deliver information in the workplace? they add visual appeal. they are easy to update. they ensure accuracy. they can be created quickly. the work can't be lost.
Answers: 1
image
Computers and Technology, 24.06.2019 22:50, Bubba06
Which of these might be an example of an advertiser's target group? a. people who have no access to media b. people the advertisers know nothing about c. people who watch a variety of tv shows d. people who live in the same region of the country
Answers: 2
You know the right answer?
Let g be an n × n grid. you start at a particular position, with zero velocity. at every time step y...

Questions in other subjects:

Konu
Social Studies, 06.01.2020 21:31
Konu
English, 06.01.2020 21:31