# Untitled document - Problem 1 > x=linspace(0,10 > y1=28...

• No School
• AA 1
• 3

This preview shows page 1 - 3 out of 3 pages.

Problem 1 >> x=linspace(0,10); >> y1=28+cos(x); >> y2=3.*x; >> plot(x, y1, x, y2) >> grid on >> zoom Answer is 9.026 Find the linspace : -1<cox(x)<1 +28 +28 +28 27<cox(x)<29 27=3x 29=3x 9=x 29/3 = 9.67 = x OR >> x=linspace(9,10); >> y=28+cos(x)-3.*x; >> plot(x,y); grid on Zoom in & look where it crosses ) value , it is the answer is 9.026 Problem 2 In New sub function y=f(x) y=(1+(1./(6.*x))).^x; end press Save In Command Window Because the x is inf so pick huge # >> x=linspace(0, 1000); >> plot (x,f(x)) If the graph do not go about is it linit ANSWER 1.181 Problem 3

Subscribe to view the full document.

1) In new scr: function y=f(x); y=exp(x./2).*cos(2.*x); end Press SAVE as f In Com Win : >> x=linspace(0,pi); >> plot(x,f(x))

### 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

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes