# Acceleration in Simple Harmonic Motion

Airpods Pro 2nd Generation

Apple's popular airpods pro. I haven't met a person with these that doesn't recommend them.

As an Amazon Associate I earn from qualifying purchases. Thank you!

**Formula:**`a = -(k/m) * x`

## Introduction to Acceleration in Simple Harmonic Motion Calculator

In simple harmonic motion (SHM), the acceleration of an object is directly proportional to its displacement from its equilibrium position and is directed towards that position. It is also inversely proportional to the mass of the object. Here, ** a** represents the acceleration,

**is the spring constant,**

*k***is the mass of the object, and**

*m***is the displacement.**

*x*## Parameter usage:

`mass`

= mass of the object in kg-
`springConstant`

= spring constant in N/m `displacement`

= displacement from the equilibrium position in meters

## Example valid values:

`mass`

= 0.5`springConstant`

= 200`displacement`

= 0.1

## Output:

`acceleration`

= acceleration of the object in m/s^2

## Data validation

The mass and spring constant must be greater than zero, and the displacement must be a number.

## Summary

This calculator determines the acceleration of an object in simple harmonic motion based on its mass, the spring constant, and its current displacement.

Tags: Physics, Simple Harmonic Motion, Acceleration, Spring Constant