Question: Please Code in Matlab Part (b) Use Matlab's function cos and the built-in constant pi to create the vector V = (cos(0), cos s(3), (5)
Please Code in Matlab

Part (b) Use Matlab's function cos and the built-in constant pi to create the vector V = (cos(0), cos s(3), (5) Next, create the vector W containing the exact values of these three expressions as you know them from Calculus. Do not use the cos function when creating vector W. COS Part (c) Apply Matlab's equality test == to vectors V and W. Explain the results in words. Part (d) Because Matlab generally uses numerical approximations in all computations, testing equality of two vectors (or matrices, or numbers) has to be done in a more robust way. Use the function norm to check that V and W are equal up to a small numerical error. Explain your solution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
