Matlab

Page 309

Final Exam

297

48. The MATLAB ode23 and ode45 solvers: (a) Are based on the Runge-Kutta method (b) Are based on the Euler method (c) Use the method of Lagrange multipliers (d) Are relaxation based. 49. A function of time is given by y = y(t) and it satisfies a differential equation. Using ode23 to find the solution generates: (a) An array of the form [t y]. (b) The symbolic solution y = y(t). (c) An error, MATLAB does not have an ode23 solver. (d) An array of the form [y t]. 50. The average of the elements contained in a vector v is obtained by typing: (a) Ave(v) (b) ave(v) (c) mean(v) (d) average(v) 51. The pinv command (a) Is the proper inverse of a matrix (b) Generates the pseudo inverse of a matrix (c) Can only be called with symbolic data. 52. Use MATLAB to find d 10 Γ’ˆ’0.1t (e cos 2t ) dt10 53. A variable called y has one row and 11 columns. If we type size(y) MATLAB returns: (a) 11 (b) 1 11 (c) 11 1 (d) (1, 11)


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.