Test1 Flashcards Preview

GameAI > Test1 > Flashcards

Flashcards in Test1 Deck (22)
Loading flashcards...
1

Quadratic Formula

2

SOH-CAH-TOA

3

Unit Circle

4

Degrees to Radians

5

Radians to Degrees

6

Pythagorean Theorem

a2+b2=c2

7

Vectors

A 2D vector is similar to a point on a graph, but represents a direction and a magnitude.

 

8

Adding and Subtracting Vectors

Add or Subtract

all x values

all y values

all z values

to get the new vector.

9

Multiplying Vectors

Multiply each component of the vector by the value given.

ex. the vector(2,5) multiplied by 2 becomes

(4,10)

10

Calculating the Magnitude of a Vector

Use the Pythagorean Theorem

a2+b2=c2

or

magnitude =√ a2+b2

magnitude =√ a2+b2+c2

Mathematicians place two vertical bars around a vector to denote its lenght |v|

11

Normalizing Vectors

When a vector is normalized it retains its direction but its magnitude is recalculated so that it is of unit lenght (a length of 1).

N = v/|v| (divide each component of the vector, by the magnitude of the vector)

 

12

Resolving Vectors

13

The Dot Product

gives the angle between two vectors

u*v = ux*vx+uy*v(not an angle)

The easiest way to get an angle is to normalize and and multiply them together

 

14

Time

Measured in Seconds

15

Distance

d - measured in meters

16

Mass

m -measured in kilograms

17

Position

measured from the center of mass

18

Velocity

v=a*t+v0

v=d/t

(a dropped object) v2=v02+2ad

 

19

Acceleration

20

Force

21

30/60/90 Triangle

22

Gravity Constant Acceleration

9.8m/s2