Lab6 - t=linspace(0,2*pi,76)

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Exercise 1 x=linspace(0,50,76) plot(x,30-20*exp(-x/10),'g:s') For large values of t , y tends towards 30. Exercise 2 t=linspace(-2,2,76) plot(t,4./(2+exp(-2*t)),'b:x') For large values of t , y tends towards 2. Exercise 3 t=linspace(0,2*pi,76) plot(t,3*cos(3*t)+5*sin(3*t),'b:x') hold on
Background image of page 1

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

View Full DocumentRight Arrow Icon
plot(t,3*cos(3*t)-5*sin(3*t),'r:s') There is a noticeable difference in graphs; the second begins with a different phase angle. Exercise 4 t=linspace(0,20,76) plot(t,12*exp(-0.3*t)-6*exp(-0.5*t),'b:s') For large values of t , y tends towards 0. Exercise 5
Background image of page 2
Background image of page 3

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

View Full DocumentRight Arrow Icon
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: t=linspace(0,2*pi,76) plot(t,exp(-0.3*t).*(2*cos(2*t)+4*sin(2*t)),'b:s' plot(t,exp(-0.3*t).*(2*cos(2*t)-4*sin(2*t)),'b:s') a) The graph decaying over time indicates that the spring-mass system is under-damped. b) 76-32 ans = 44 t=3.6024 t = 3.6024 y=exp(-0.3*t).*(2*cos(2*t)+4*sin(2*t)) y = 1.4916 c) Exercise 6 t=linspace(0,10,76) plot(t,exp(-0.3*t).*(2*cos(2*t)+4*sin(2*t)),'b:s') plot(t,exp(-0.3*t).*(2*cos(2*t)-4*sin(2*t)),'r:x') grid on Half the vertical dist approx 1.1/2=.55....
View Full Document

This note was uploaded on 04/23/2008 for the course MATH 2373 taught by Professor Miracle during the Spring '08 term at Minnesota.

Page1 / 4

Lab6 - t=linspace(0,2*pi,76)

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online