# Homework_5 - w x y and z using matrix algebra(not using...

This preview shows page 1. Sign up to view the full content.

CSC 113 Homework 5 Assigned: November 12, 2010 Due: November 19, 2010 Directions: Write ONE script file that solves all of the following problems. Only the answers should be output to the command window. 1) Plot the following data (using markers, i.e., don’t connect the points with a line): x=[1 2 3 4 5 6 7 8 9 10] y=[0 3 6.3 10 14.5 19 23 25 26.5 27] Use the polyfit command to create a linear, quadratic, and trinomial fit (1 st , 2 nd and 3 rd order fits) of the data, and plot them as conventional curves on the same graph. Include a legend to differentiate between the three curve fits. 2) Solve the following system of equations for
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: w , x , y , and z using matrix algebra (not using symbolic variables). 6 w − 5 x + 2 y − z = − 2 w + 2 x − 3 y + 2 z = 4 − 2 w + 3 x − y + 5 z = 21 10 w − 3 x − 2 y − 3 z = − 14 3) Solve the system of equations from question 2 above using the solve command and symbolic variables. 4) The roots of a polynomial p ( x ) are the values of x which satisfy p ( x ) = 0. Using symbolic variables, find the roots of the following polynomial: x 6 − 3 x 5 − 41 x 4 + 87 x 3 + 400 x 2 − 444 x − 720 Email Nate or Steve with questions. Office hours: Mon 10–11am & Thur 3–5pm in Pangborn 208....
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern