Finding position of simple pendulum?

Click For Summary
SUMMARY

This discussion focuses on modeling the position of a simple pendulum over time, incorporating parameters such as string length, gravitational acceleration, mass, and initial angle. The key equation derived is φ(t) = (A + Bt)e^(-√(g/l)t), where √(g/l) represents the damping parameter. The discussion emphasizes the importance of integrating the motion equations and setting initial conditions to solve for constants A and B. Additionally, it highlights the impact of resistive forces, such as air resistance, on the pendulum's motion.

PREREQUISITES
  • Understanding of Newton's second law of motion
  • Basic knowledge of differential equations
  • Familiarity with oscillatory motion and damping
  • Experience with programming for simulations
NEXT STEPS
  • Research numerical integration techniques for solving differential equations
  • Explore the effects of damping on oscillatory systems
  • Learn about the mathematical modeling of pendulum systems
  • Investigate programming libraries for simulating physical systems
USEFUL FOR

Physics enthusiasts, programmers developing simulations, and anyone interested in the dynamics of oscillatory motion will benefit from this discussion.

DevonV
Messages
4
Reaction score
0
I'm trying to write a program to model a simple pendulum, and I'm having some trouble seeing how I would solve for the position w.r.t. time.

I would ultimately like to be able to specify a length of string, acceleration due to gravity, mass (though I know it has no effect on the period) and angle it's pulled back.

Any help would be great, thanks!

PS: I don't think this qualifies as homework because I'm doing it for fun, but I'm very sorry if I'm wrong!:smile:
 
Physics news on Phys.org
I'm assuming you are using a pendulum with a dampening force such as air resistance. If not you will be able to exclude the resistive force parameters from this adaptation of Newtons second law, allowing your pendulum to follow free oscillation. the angle in this case is equal to phi and anything following after the symbol [tex]\cdot[/tex] is meant to be the time derivative of that variable.
Force=m(L [tex]\cdot[/tex] [tex]\cdot[/tex][tex]\phi[/tex])=restoring force+resistive force
=-mgsin([tex]\phi[/tex])-2m[tex]\sqrt{g/l}[/tex](L [tex]\cdot\phi[/tex]) [note: the rsistive force in this case is a obscure example. you will need to create your own depending on what you would like your program to do.

from here you will integrate solving for your angle as a function of time.
[tex]\phi[/tex](t)=(A+Bt)e^(-[tex]\sqrt{g/l}[/tex]t)

[note: the value [tex]\sqrt{g/l}[/tex] is considered your dampening parameter which i defined in this case. if you chose to exclude a dampening force or use a different dampening scenario this will not be similar]

to solve for A and B you need to use the first equation and the previous in combination and also set initial parameters. hope this helped!
 

Similar threads

  • · Replies 36 ·
2
Replies
36
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 11 ·
Replies
11
Views
6K