How Can You Accurately Plot Oscillations in Mechanical Systems?

Click For Summary
SUMMARY

The discussion focuses on accurately plotting oscillations in mechanical systems using the function y(t)=(e^(-t/τ))*sin(ωt+θ). Key parameters include the time constant τ, oscillation frequency ω, and phase θ. The criteria for selecting time spacing and upper limits are determined by the relationship between τ and ω, specifically the conditions 4τ>2π/ω and 4τ<2π/ω. Participants successfully plotted examples for τ=10, ω=π and τ=0.1, ω=8π, demonstrating the decay of oscillations over time.

PREREQUISITES
  • Understanding of oscillatory motion and damping in mechanical systems
  • Familiarity with the mathematical representation of oscillations
  • Basic knowledge of MATLAB or similar plotting tools
  • Concept of time constants in exponential decay
NEXT STEPS
  • Research the implications of varying τ on oscillation decay rates
  • Learn how to implement MATLAB's subplot function for multiple plots
  • Explore the physical significance of oscillation frequency ω in mechanical systems
  • Investigate advanced plotting techniques for visualizing oscillatory behavior
USEFUL FOR

Students in mechanical engineering, physicists studying oscillatory systems, and anyone interested in mathematical modeling of mechanical vibrations.

kostantina
Messages
10
Reaction score
0

Homework Statement



Oscillation in mechanical structures can often be described by the function:

y(t)=(e^(-t/τ))*sin(ωt+θ)

Where t is time , ω is oscillation frequency in radians per unit time. The oscillations have a period of 2*π/ω and their amplitudes decay in time at a rate determined by τ which is called the time constant. THe smaller the value of τ the faster the oscillations die out/


Homework Equations



a.) Use the above information to develop a criterion for choosing the spacing of t values and the upper limit on t to obtain an accurate plot of y(t). (Hint two cases: 4τ>2π/ω and 4τ<2π/ω)

b) Plot y(t) for τ= 10, ω=π and θ=2

c)Plot y(t) for τ= 0.1, ω=8π and θ=2


The Attempt at a Solution



My attempt is below, however what is bothering me is question (a). A criterion for choosing the spacing values for t and the upper limit. ?? Can't figure it out and also the hint.. How is that related? I just played around with numbers, and got those plots.



tau=10;
omega=pi;
fi=2;
t=(-40:0.1:10);
f=(exp(-t./tau)).*sin(omega.*t+fi);
subplot(2,1,1)
plot(t,f)

tau2=0.1;
omega2=8*pi;
fi=2;
t=(-0:0.1:80);
f2=(exp(-t./tau2)).*sin(omega2.*t+fi);
subplot(2,1,2)
plot(t,f2)
 
Physics news on Phys.org
Try playing around some more then and see what makes the spacing of t values too big.
What do the two limiting cases represent physically?
 

Similar threads

Replies
9
Views
2K
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 9 ·
Replies
9
Views
5K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 43 ·
2
Replies
43
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
6K