d4t_formulas/assets/formulas/materials_elasticity.d4rt

25 lines
581 B
Text
Raw Normal View History

[
2026-02-24 09:21:07 +00:00
// Hooke's Law
{
"name": "Hooke's Law",
"description": r"""
Force exerted by a spring is proportional to its displacement.
$$F = -kx$$
Where:
- $F$: Restoring force (Newtons)
- $k$: Spring constant (N/m)
- $x$: Displacement from equilibrium (meters)
2026-02-24 09:21:07 +00:00
The negative sign indicates the force opposes the displacement.""",
"input": [
{"name": "k", "unit": "newton per meter"},
{"name": "x", "unit": "meter"}
],
"output": {"name": "F", "unit": "newton"},
"d4rtCode": "F = -k * x;",
"tags": ["physics", "elasticity", "oscillations"]
}
]