MATH 2070UMidterm examinationPage 3 of 81.(a) Assume the variablesA,B,C, andbhave been defined in aMatlabsession as follows.A = [ -1, 3 ;5,4 ];B = [6, 1 ; -2, -4 ];C = [5, -2 ; -3, -4 ;7, -3 ];D = [ -5, -3, -1 ; -1,4,5 ];With these values, what results do the followingMatlabcommands produce.If the statementfails to evaluate, writeERRORwith a short comment explaining why.i. [3 marks]-2 * B ./ A .^2i.ii. [3 marks]

##### We have textbook solutions for you!

**The document you are viewing contains questions related to this textbook.**

**The document you are viewing contains questions related to this textbook.**

Expert Verified

MATH 2070UMidterm examinationPage 4 of 8(b) [11/2marks] Write a few lines ofMatlabcode to illustrate how you would determineallnumericalsolutions of the equation14x3= 63x-4.(?)using built-inMatlabroutines. You may assume that the equation (?) has solutions nearx=-2,x= 0, andx= 2.(b)(c) [11/2marks] What is the output of the followingMatlabcommands?