- #1

darkdeeds

- 7

- 0

## Homework Statement

Many modern 3D video games must be designed such that objects move in ways as close as possible to reality. This is often called “game physics”, which is run by a physics engine coded into the game. In one event of a recent game, a player’s job is to shoot a cannon at objects on a distant cliff. The target is supposed to be at a distance of 400 m and is at a slight elevation with respect to the player – say 150 m – and the launch speed of the cannonball is supposed to be 100 m/s relative to the player's “stationary” avatar. The game physics ignores wind resistance (many if not all of them do). At what angles should the cannon be fired in order to hit the target?

## Homework Equations

1/cos^2(x)=tan^2(x)+1

v=d/t

Vf=Vo+at

d=Vot+(1/2)at^2

d=(Vf^2+Vo^2)/2a

a=9.81 m/s^2

## The Attempt at a Solution

I don't even know where to start, I'm aware that there are 2 angle with the difference being 90-x(angle).