PUZZLE #2716: Newton's Cradle Cipher (diff 3)
Simulate 3 Newton's cradles with varying masses, materials, and gravity. Count collisions per cradle. collision_count % 26 → letter. 3 letters form the answer word.
DATA
| Difficulty |
3
|
| Cradles |
{'balls': [{'mass': 6.13, 'material': 'tungsten'}, {'mass': 0.081, 'material': 'glass'}, {'mass': 6.917, 'material': 'tungsten'}], 'gravity': 8.87, 'air_resistance': 0, 'string_length': 0.79, 'initial_angles': [26.300297356291342, 0.0, 0.0]}, {'balls': [{'mass': 0.651, 'material': 'glass'}, {'mass': 1.044, 'material': 'chromium'}, {'mass': 4.738, 'material': 'tungsten'}], 'gravity': 8.87, 'air_resistance': 0.005, 'string_length': 0.77, 'initial_angles': [33.38093851660403, 0.0, 0.0]}, {'balls': [{'mass': 0.139, 'material': 'glass'}, {'mass': 5.009, 'material': 'tungsten'}], 'gravity': 3.72, 'air_resistance': 0, 'string_length': 1.14, 'initial_angles': [35.85048943402239, 0.0]}
|
| Simulation Parameters |
{
"timestep": 0.002,
"max_simulation_time": 30.0,
"solver": "semi-implicit euler (symplectic)",
"units": "SI (kg, m, s)",
"integration_notes": "Semi-implicit Euler: \u03c9' = \u03c9 + dt\u00b7\u03b1, \u03b8' = \u03b8 + dt\u00b7\u03c9'. \u03b1 = -(g/L)\u00b7sin(\u03b8) - b\u00b7\u03c9. Collision when adjacent balls are within 2\u00b0 and approaching. Conservation of momentum with coefficient of restitution e (average of materials). Cooldown of 10 timesteps between same-pair collisions. Stop when KE < 1e-7 J and max |\u03b8| < 1e-3 rad for 20+ steps."
}
|
| Instructions |
Simulate each Newton's cradle independently. Each cradle has 3 configurations. For each cradle:
1. Solve pendulum ODE using dt=0.002s semi-implicit Euler
2. Detect collisions between adjacent balls (gap < 2°, approaching)
3. Apply 1D momentum transfer with material-average restitution
4. Count total collisions until system settles
5. Take count % 26 → 0=A, 1=B, ..., 25=Z
Concatenate results: Cradle 1 → letter 1, ... Cradle N → letter N
|
| Gravity Reference |
{
"earth": 9.81,
"mars": 3.72,
"moon": 1.62,
"jupiter": 24.79,
"venus": 8.87
}
|
| Material Reference |
{
"steel": {
"restitution": 0.95,
"density_g_per_cm3": 7.8
},
"chromium": {
"restitution": 0.93,
"density_g_per_cm3": 7.2
},
"glass": {
"restitution": 0.85,
"density_g_per_cm3": 2.5
},
"ceramic": {
"restitution": 0.8,
"density_g_per_cm3": 3.9
},
"tungsten": {
"restitution": 0.75,
"density_g_per_cm3": 19.3
},
"rubber": {
"restitution": 0.7,
"density_g_per_cm3": 1.1
},
"lead": {
"restitution": 0.3,
"density_g_per_cm3": 11.3
},
"wood": {
"restitution": 0.5,
"density_g_per_cm3": 0.7
}
}
|
| Hint |
3 cradles → 3 collision counts % 26 → 3 letters.
|
| Answer Format |
integer (collision count)
|
author's note: Audited: newtons-cradle diff 3
— website sponsored —
[ ad space ]