Assume the variables A , B , C , and D have been defined in...

This preview shows page 1 - 3 out of 11 pages.

MATH2070U: Numerical Methods for Eng. Midterm : March 1st, 2018 First Name Last Name Student Signature Student Number Name of your TA Marian K., Mia M., Camelia Y. (circle correct one) First Four Letters in Your Last Name : [ ] [ ] [ ] [ ] Instructions: There is a 1 mark penalty if the correct TA name is not circled above . Use a pen to fill in the front page. All midterm answers should be written in ink. No white-out is allowed. If a midterm is written in pencil, you may not be allowed to re-submit questions for remarking. No electronic device other than a non-programmable, non-graphing calculator is allowed. Lecture notes and textbook are NOT allowed. There are 7 questions on this test and you will have 60 minutes. Question 7 is a bonus question. You must SHOW ALL OF YOUR WORK , unless otherwise stated, explicitly. Answer the questions in the space provided. Note: We will not answer any mathematical question during the test. Question Points Score 1 8 2 10 1 / 2 3 4 4 7 5 9 6 2 1 / 2 7 0 Total: 41 Produced with a Trial Version of PDF Annotator -
MATH 2070U Midterm March 1st, 2018 Page 2 of 11 1. Assume the variables A , B , C , and D have been defined in a M ATLAB session as follows. A = [-1, 2 ; 1, -4] B = [1, -2 ; 1, 2] C = [-2, 1 ; 4, -2; -1, 6] D = [8, -4, 5 ; -1, 5, -3] With these values, what results do the following M ATLAB commands produce. (Show your work!) If the statement fails to evaluate, write ERROR with a short comment explaining why. (a) [3 marks] A .^2 ./ B

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture