You are on page 1of 2

V791: Problem Set #1.

V791: Problem Set #1.

1. Evaluate the following vector sums and inner products.

1-dimensional: a = (1)
b = (2)
c = a+b = ?
d = a•b = ?

2-dimensional: a = (3,-2)
b = (-4,6)
c = a+b = ?
d = a•b = ?
3-dimensional: a = (1,6,-2)
b = (-3,0,9)
c = a+b = ?
d = a•b = ?
N-dimensional: a = (a1,a2,a3,...,aN)
b = (b1,b2,b3,...,bN)
c = a+b = ?
d = a•b = ?
Write the N-dimensional result for d using the compact notation:

?
d = Â (?)
?

2. Prove the trigonometric identity : cos(a + d ) = cos(a )cos( d ) - sin( a)sin(d )

P
Problem 2:
Sum of angles.
a
R
W U
d
a
O T V

3. Given the identitity proven in (2), deduce:


cos(a - d ) = cos(a )cos(d ) + sin( a)sin(d )
V791: Problem Set #1.

4. Let cos(d ) = A / A 2 + B2 and sin(d ) = B / A 2 + B2 . Use the above


identities to derive the following:
A cos( a) m Bsin(a ) = A 2 + B2 cos(a ± tan -1(B / A)) .

Hint: re-label the diagram of problem 2 to make it look like the


Pythagorean theorem.

Problem 4:
B Sum of
C a orthogonal
vectors.

d A
a
O

5. The Matlab commands

x = 1:5;
y = exp(i*x')

generates the following set of complex-valued numbers:

0.5403 + 0.8415i
-0.4161 + 0.9093i
-0.9900 + 0.1411i
-0.6536 - 0.7568i
0.2837 - 0.9589i

Compute the mean and standard deviation of these 5 numbers using a


hand calculator.

Check your answers against Matlab's commands mean(y), std(y).

You might also like