You are on page 1of 2

CSE 317 Numerical Methods [SET A] Time: 40 minutes

Summer 2019 Points: 15

Quiz 1

Name:

ID:

Answer the following questions.

1. [2.5 points] Suppose x is a 4-vector, and 𝑓(𝑥) = 𝑥1 − 3𝑥2 + 2𝑥3 − 4𝑥4 . Find f(e1), f(e2),..,f(e4) and represent f in the form 𝑓(𝑥) =
𝑎𝑇 𝑥, where a is a 4-vector.

2. [2.5 points] Show that f(x) = min(x1, x2, x3) is not linear, where x is vector from R3

3. [5 points] Find the 1st order Taylor approximation of the function 𝑓(𝑥) = 𝑥12 𝑥2 + 𝑥22 𝑥1 + 2, at z =(0,0) where x is a 2-vector.

4. [5 points] Let u = (1, -3)’ and v = (3, 4)’ be two vectors in R3. Find (i) a vector w perpendicular to v, (ii) distance between u and v, and
(iii) projvu, projection of u onto v.
CSE 317 Numerical Methods [SET B] Time: 40 minutes

Summer 2018 Points: 15

Quiz 1

Name:

ID:

Answer the following questions.

1. [2.5 points] Suppose x is a 3-vector and 𝑓(𝑥) = 4𝑥1 + 3𝑥2 − 4x3 -2. Is the function linear? Why or why not? Express f in vector
form.

2. [2.5 points] Use the Cauchy-Schwarz inequality to show that correlation coefficient between two vectors is between -1 and +1.
Draw a scatter plot where the correlation between two vectors will be close to 0.

3. [5 points] Find the gradient vector of a function at z = (1,-1, 1) for the function 𝑓(𝑥) = 𝑒 𝑥1𝑥2 − 3𝑥3

4. [5 points] Let u = (1, -3, -1) and v = (-3, 4, 7) be two vectors in R3. Find (i) projuv, projection of v onto u, (ii) find the rms of the (u-v).

You might also like