Pendulum and Spring Oscillation Calculator
Enter pendulum length, amplitude and planet, plus a spring's mass, stiffness and amplitude, to get exact periods, frequencies, speeds and energies.
ทำงานในเบราว์เซอร์ของคุณ ไฟล์ไม่ออกจากอุปกรณ์ ดูวิธีตรวจสอบ
…
วิธีทำ
- 1Enter the length
Pivot to bob centre.
- 2Enter the amplitude
Release angle in degrees.
- 3Choose the planet
For gravity.
- 4Enter spring data
Mass, stiffness and amplitude.
- 5Read the periods
Exact, approximate and spring.
เกี่ยวกับเครื่องมือนี้
The textbook pendulum formula T = 2π√(L/g) is only exact for tiny swings. At larger amplitudes the period grows: by 1.7 % at 30° and 18 % at 90°. The exact period involves an elliptic integral, which can be computed quickly and precisely with the arithmetic-geometric mean (AGM). This calculator gives the exact period at any amplitude, the common series approximation for comparison, a table of the error against amplitude, and the matching results for a mass on a spring.
Who this is for
Physics students doing pendulum labs, teachers, clock enthusiasts and engineers working with vibrating systems.
Small-angle period
For small swings the restoring force is proportional to the angle and the motion is simple harmonic: T₀ = 2π√(L/g). A 1 m pendulum on Earth has T₀ = 2.006 s, close to the "seconds pendulum" of clocks.
The exact period
For amplitude θ₀ the exact period is T = T₀ / AGM(1, cos(θ₀/2)), where AGM is the arithmetic-geometric mean: repeatedly replace a and b by their average and their geometric mean until they agree. This converges in a few steps to full precision. The series T ≈ T₀ (1 + θ₀²/16 + 11θ₀⁴/3072) is shown for comparison; it is good up to about 60°.
Error of the small-angle formula
| Amplitude | Period increase | |---|---| | 10° | 0.19 % | | 30° | 1.74 % | | 60° | 7.32 % | | 90° | 18.0 % | | 150° | 76 % |
Other planets
Gravity changes the period: the same 1 m pendulum swings with a period of 4.9 s on the Moon.
Mass on a spring
A mass m on a spring of stiffness k oscillates with T = 2π√(m/k), independent of amplitude (for an ideal spring) and of gravity. Maximum speed is x₀√(k/m) and energy ½kx₀².
Physical pendulum
For a rigid body swinging about a pivot, use T = 2π√(I/(mgd)), with I the moment of inertia about the pivot and d the distance to the centre of mass. Enter the equivalent length L = I/(md) as the pendulum length.
Good practice
Measure the length from the pivot to the centre of the bob. Time 10 or 20 swings and divide, to reduce reaction-time error.
Clocks and Galileo
Galileo noticed that a pendulum's period hardly depends on amplitude for small swings, which made pendulum clocks possible. Because the small error grows with amplitude, clockmakers keep swings small and constant.
Worked example
A 1 m pendulum released at 30° on Earth has T₀ = 2.006 s but an exact period of 2.041 s, 1.74 % longer. Its speed at the bottom is 1.62 m/s. A 0.5 kg mass on a 20 N/m spring oscillates with a period of 0.993 s.
Limits
No friction or air drag; the string is massless. Not a clock-making specification.
ตัวอย่างพร้อมวิธีทำ
A 1 m pendulum at 30° has an exact period of 2.041 s instead of 2.006 s.
สรุปสั้น ๆ
- หมวดหมู่: คณิตศาสตร์และวิทยาศาสตร์
- ทำงานในเบราว์เซอร์ ไม่ต้องสมัคร ไม่ต้องอัปโหลด
- ข้อมูลที่คุณกรอกอยู่บนอุปกรณ์ของคุณ
- มีภาษาอังกฤษ
- ตรวจสอบเนื้อหาล่าสุด:
- แหล่งข้อมูลทางการ: Simple pendulum T₀ = 2π√(L/g) and the exact large-amplitude period T = T₀/AGM(1, cos θ₀/2) (Carvalhaes and Suppes 2008, American Journal of Physics 76, 1150); physical pendulum T = 2π√(I/(mgd)); spring-mass T = 2π√(m/k)
คำถามที่พบบ่อย
What is the period of a simple pendulum?
2π√(L/g) for small swings.
Does amplitude change the period?
Yes, it grows with amplitude: 1.7 % at 30°.
How is the exact period calculated?
With the arithmetic-geometric mean of 1 and cos(θ₀/2).
What is the period of a spring-mass system?
2π√(m/k).
Does gravity affect a spring's period?
No, only mass and stiffness.
Is my data stored?
No. Everything is calculated in your browser.
