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

  • Context: Undergrad 
  • Thread starter Thread starter silt
  • Start date Start date
  • Tags Tags
    Program Shm
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
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: 547
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=-[tex]\omega[/tex]2*x

[tex]\omega[/tex]=[tex]\frac{2\pi}{T}[/tex]=[tex]\frac{2\pi}{0,67}[/tex]

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

Are these correct calculations of acceleration ?