e6exam1secBsolnsW06

# e6exam1secBsolnsW06 - Engineering 6 Winter 2006 Midterm...

This preview shows pages 1–3. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Problem 2. (24 points total) (a) (6 points) Convert the following equation to a Matlab assignment statement (i.e., write it in Matlab notation). Use built-in functions where possible. Assume all variables are scalars. π 8 ) ln( 54 ) 82 . 0 arccos( x D = Answer: D = acos(0.82)/(54*log(x))*sqrt(8*pi); (The answer as shown has the minimum parentheses; more parentheses may be used; dot operators may also be used, but they're not necessary because x is a scalar; semicolon optional) (b) (6 points) Write the Matlab code that would create a vector named x with 75 values from 1 to 50 and
This is the end of the preview. Sign up to access the rest of the 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