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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
1. so if i wanted to build a linux server for web services(apache) with 1cpu and 2 gb of memory.-operating at 75% of memory capacity2. a windows server with 2 cpu/ 4gb memory- operating at 85% of memory capacity3. a storage server with 1 cpu/ 2gb memory- operating at 85% of memory capacityhow much memory do i have to add for each server.so that the utilization rate for both cpu and memory is at a baseline of 60%."the details for the cpu like its processor or the memory's speed isnt to be concerned" yeah i kept asking my teacher if he's even sure about the but the whole class seems to be confused and the project is due in 3 days..this is a virtualization project where i have to virtualize a typical server into an exsi hypervisor.
Answers: 2
question
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. sean is a computer programmer. he has programmed an application for toddlers that plays nursery rhymes. however, a logic error has occurred in the program. which problem is a likely consequence of the error? a. the program crashes every time the user wants to play the nursery rhymes. b. the program crosses its buffer boundaries and overwrites an adjacent program. c. the program plays a different nursery rhyme than the one the user intended to play. d. the program shows different structures in its programming language code. e. the program introduces new viruses every time the user plays a nursery rhyme.
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Setting up a home network using wireless connections is creating a a. vpn b. lan c. wan d. mini-internet
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
question
Biology, 04.12.2020 01:00
question
Mathematics, 04.12.2020 01:00
question
Mathematics, 04.12.2020 01:00
question
Mathematics, 04.12.2020 01:00
Questions on the website: 13722363