- #1

- 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?

Enter the larger angle in degrees.

What is the smaller angle?

What is the time difference between the two trajectories?

ay=-9.81 m/s^2

dx=400 m

dy=150 m

Vo= 100 m/s

Angle?

time?

## Homework Equations

Vf=Vo+at

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

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

## The Attempt at a Solution

I found the greater angle to be 77.6 degrees. And by experience usually the smaller angle is simply 90-whatever the angle is to find the other. The smaller angle measures to be 12.4 degrees but this can't be right due tot he fact that the angle of elevation of the object is 20.55 degrees so the angle must be at least that. I'm not sure where to progress.

I made up a general formula for finding the distance (found by v=d/t)

d=(10000sin(2angle))/9.81

Help!