FINAL EXAM discrete maths Flashcards

1
Q

tautology

A

always true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

contradiction

A

always false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

contingency

A

True or False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

nCr used when?

A

choosing r number of items from a total set of n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

repetition

A

n!/(r!*r2!)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

determinant

A

ad-bc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A^-1=

A

1/D(d,-b,-c,a]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

To find matrix solution

A

x=Inverse of A * b (use dot product rule)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

if D!=0

A

, non singular, has an inverse

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

magnitude of vector v=<a,b>

A

square root of a^2+b^2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

dot product

A

v.w=(ac)+(bd)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

dot product (with cos)

A

magnitude of v * magnitude of w* cos(theta)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

if 2 vectors are orthogonal

A

dot product =0, cos 90 =0 (perpendicular)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

first order linear difference equation (inhomogoneous)

A

y(n)=a*y(n-1)+b(n)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

general solution for linear difference

A

a^n * y(0)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

general solution for b(n)

A

replacement of equation (NOT general solution), solve for D

17
Q

when finding overall general solution:

A

a^n*k-D (substitute y(0), solve for k)

18
Q

shortest path

A

bellman algorithm