Program that will draw a(t) knowing x(t) in SHM

  • Thread starter Thread starter silt
  • Start date Start date
  • Tags Tags
    Program Shm
AI Thread Summary
The discussion revolves around plotting acceleration versus time for an experiment on simple harmonic motion (SHM). The user has collected data on time, displacement, and velocity but seeks a program to automate the plotting of acceleration, as manual calculations are impractical. Suggested software options include Labview, Matlab, Origin, and Excel for ease of use with the existing data. The user also inquires about the validity of calculating acceleration using the formula a = -ω²*x, considering the initial displacement. The conversation emphasizes the need for efficient data handling and accurate calculations in SHM experiments.
silt
Messages
2
Reaction score
0
A few days ago I carried out an experiment about Simple harmonic motion. In the attachment I added the scheme of the laboratory.

I have collected the following data : time(s), displacement(m), velocity(ms-1)

I can obviously plot the graph of x(t). However, the next task is to draw a graph of a(t).
As far as I know, I can calculate the acceleration by using first derivative of velocity. Since I have about 300results I am definitely not going to do it manually :D

Is there any program that I can use to automatically plot the acceleration vs time graph ?
In class we used 'coachlab II', but that little sucker deleted all the graphs when the device was disconnected and right now I have no access to that software.

Cheers
 

Attachments

  • 1.jpeg
    1.jpeg
    70.7 KB · Views: 511
Physics news on Phys.org
You can try Labview, Matlab, Origin, or even Excel. Since you already have the data the work is easy.
 
T=0,67s
initial displacement = 0,299m

a=-\omega2*x

\omega=\frac{2\pi}{T}=\frac{2\pi}{0,67}

Since initial displacement is not equal 0, would it be a good idea to calculate it from forumla (initial displacement - displ. at the moment) ?

Are these correct calculations of acceleration ?
 
Back
Top