Optimization Theory (DS2) HW#1
Basic Matrix and Vector Operations

Alice laughed. “There’s no use trying,” she said: “one can’t believe impossible things.”
“I daresay you haven’t had much practice,” said the Queen. “When I was your age, I always did it for half-an-hour a day. Why, sometimes I’ve believed as many as six impossible things before breakfast.”

  1. 1.

    Download and install the programming language R, if you don’t have it. Show me that it works.

  2. 2.

    Write out the transpose of the row vector (012) as a column vector.

  3. 3.

    Add the two vectors

    (1234)+(35711)=? (1)
  4. 4.

    Calculate the dot product of the two vectors

    (1234)(4321)=? (2)
  5. 5.

    Multiply this vector and matrix

    (110020104001)(1-132)=? (3)
  6. 6.

    Multiply these matrices

    (1100201040013000)(510060-107001800-1)=? (4)