Matlab 1

Matlab 1 - 2) >> x =...

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

View Full Document Right Arrow Icon
Ashay Mehta 2/26/09 Math 111-006 Matthew Wright 1) >> x = linspace(-30,30,10001); >> y = sin(x)./x; >> plot(x,y,'-'); >> axis([-30 30 -1 1]) >> xlabel('x') >> ylabel('y') >> title('Ashay Mehta') - The limit of the function of [(sin x)/x] as it approaches zero is 1 because you can see in the graph, x approaches zero from the positive and negative sides.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 2) >> x = linspace(-20,20,1001); >> y = 2 ./ (sqrt(3+x.^2)); >> z = -1 ./ (sqrt(2+x.^)); >> z = -1 ./ (sqrt(2+x.^2)); >> plot(x,y,'-',x,z,'-'); >> axis([-20 20 -1.5 1.5]) >> xlabel('x') >> ylabel('y') >> ylabel('y1,y2') >> title('Ashay Mehta')...
View Full Document

Ask a homework question - tutors are online