HF RL Explorer

Numerical Integration of Harmonic Oscillator Motion

Numerical Integration of Harmonic Oscillator Motion: a task in Nemotron Terminal easy clean-1K: rootless Apptainer release (Harbor dataset). You are tasked with implementing a simple numerical integration to simulate the motion of a harmonic oscillator. A harmonic oscillator follows Hooke's law: F…

The task

You are tasked with implementing a simple numerical integration to simulate the motion of a harmonic oscillator. A harmonic oscillator follows Hooke's law: F = -k*x, where F is the restoring force, k is the spring constant, and x is the displacement from equilibrium.

Part of laion/nemotron-terminal-easy-clean1k-rootless-apptainer.