2026-02-22 17:06:20 +00:00
|
|
|
[
|
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.
|
2026-02-23 19:02:13 +00:00
|
|
|
|
|
|
|
|
$$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"]
|
|
|
|
|
}
|
2026-02-22 17:06:20 +00:00
|
|
|
]
|
2026-02-24 19:28:01 +00:00
|
|
|
|