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
Click For Summary
SUMMARY

The discussion focuses on plotting acceleration versus time (a(t)) for a Simple Harmonic Motion (SHM) experiment using collected data on time, displacement, and velocity. The user seeks software alternatives to 'CoachLab II' for automatic graph plotting after experiencing data loss. Recommended tools include LabVIEW, MATLAB, Origin, and Excel for calculating acceleration using the formula a = -ω²*x, where ω is derived from the period T = 0.67s. The user also questions the validity of calculating acceleration based on the difference between initial displacement and current displacement.

PREREQUISITES
  • Understanding of Simple Harmonic Motion (SHM)
  • Familiarity with graph plotting software such as MATLAB or LabVIEW
  • Knowledge of derivatives in relation to velocity and acceleration
  • Basic understanding of trigonometric functions and angular frequency
NEXT STEPS
  • Learn to use MATLAB for plotting graphs and performing numerical calculations
  • Explore LabVIEW for data acquisition and analysis in SHM experiments
  • Study the principles of derivatives to understand acceleration calculations
  • Investigate the use of Excel for data visualization and graphing techniques
USEFUL FOR

Students and educators in physics, researchers conducting experiments in Simple Harmonic Motion, and anyone interested in data analysis and visualization using software tools.

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: 532
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 ?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
8K
  • · Replies 49 ·
2
Replies
49
Views
4K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 2 ·
Replies
2
Views
16K