CS 121 – Quiz 4. Questions 5 and 6. Question 5. We are given Blammo’s initial angle of elevation, initial velocity, and the height of the center of the ring. With this, we can define our xpos and ypos functions: xpos := (t) -> v0 * cos(θ) * t
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Questions 5 and 6
We want Blammo to fly through the ring halfway through his flight, so we need to find when that is by finding his total flight time and dividing it in half:
We can now find the y position in terms of v0, set it equal to the ring height, and solve for v0. We take the max because we want to ignore the negative root: