[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AQA0VB6VEQXSVHH7DYA3NP":3,"skill-same:01M7AQA0VB6VEQXSVHH7DYA3NP":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7AQA0VB6VEQXSVHH7DYA3NP","mech-orbits-frames-analytical-mechanics-and-simulation",null,"Use when the problem outgrows elementary methods: central forces and orbits, non-inertial frames with centrifugal and Coriolis terms, Lagrangian and Hamiltonian formulations and when they are worth the setup cost, fluids and continuous media in brief, chaos and the practical limits of prediction, and numerical integration including the methods, why symplectic integrators matter for long simulations, and the practicalities.","the-vibey-project\u002Fvibey","the-vibey-project","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F329298758?v=4","01M7AJHGZ9722CTJ4JNQZVRH0Q","the vibey project","01M7AJHGZVMG2K7TGXQ6XFHVG3",5,"MIT","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fnewtonian-mechanics\u002Fskills\u002Fmech-orbits-frames-analytical-mechanics-and-simulation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: mech-orbits-frames-analytical-mechanics-and-simulation\ndescription: \"Use when the problem outgrows elementary methods: central forces and orbits, non-inertial frames with centrifugal and Coriolis terms, Lagrangian and Hamiltonian formulations and when they are worth the setup cost, fluids and continuous media in brief, chaos and the practical limits of prediction, and numerical integration including the methods, why symplectic integrators matter for long simulations, and the practicalities.\"\n---\n\n# Newtonian Mechanics: Orbits, Non-Inertial Frames, Lagrangian and Hamiltonian Mechanics, Chaos, and Integration\n\n> **Part 4 of 5** of the *Newtonian Mechanics* reference (plugin `newtonian-mechanics`), covering §9–§14. Sibling skills: `mech-kinematics-newtons-laws-and-forces` (§0–§3), `mech-energy-momentum-and-collisions` (§4–§5), `mech-rotation-rigid-bodies-and-oscillations` (§6–§8), `mech-reference` (§15–§19). Section numbers are shared across the set; a reference written as §N → `skill` points into that sibling skill.\n>\n> **Currency:** Settled since 1687 — Newton's Principia, Euler's rigid-body work in the 1750s, Lagrange 1788, Hamilton 1833. Nothing here has changed or will.\n\n> **Scope.** Complements a fundamental-physics reference, which covers relativity, quantum\n> mechanics and where classical mechanics breaks down. ⚠️ **This is the classical theory\n> done properly**, including §14 on numerical integration — the part that matters if\n> you're simulating any of it.\n>\n> **⚠️ GOTCHA** boxes mark genuine misconceptions, including several that survive a\n> physics degree.\n>\n> **The three ideas that reorganize everything once you see them:**\n> 1. **⚠️ Force causes acceleration, not velocity.** This one sentence is the entire\n>    content of the Aristotle-to-Newton revolution, and **the misconception it replaced is\n>    the single most robust error in physics education** (§2.2 → `mech-kinematics-newtons-laws-and-forces`).\n> 2. **⚠️ The conservation laws are not consequences of `F = ma` — they're deeper than\n>    it.** Momentum conservation follows from spatial translation symmetry, energy from\n>    time-translation symmetry, angular momentum from rotational symmetry (Noether, 1918).\n>    **They survive into relativity and quantum mechanics; `F = ma` does not** (§4.5 → `mech-energy-momentum-and-collisions`).\n> 3. **⚠️ Newtonian mechanics is deterministic but not predictable.** Determinism is a\n>    property of the equations; predictability is a property of your knowledge. **Chaos\n>    separates them, and the separation is not a defect of your instruments** (§13).\n\n---\n\n## §9. Central Forces and Orbits\n\n**Any central force conserves angular momentum** ⟹ ⚠️ **motion is confined to a plane, and\nKepler's second law (equal areas in equal times) follows immediately** — it's angular\nmomentum conservation, nothing more.\n\n**Kepler's laws**, derived from `F = GMm\u002Fr²`:\n1. Ellipses with the Sun at a focus.\n2. Equal areas in equal times (⚠️ **= angular momentum conservation**).\n3. `T² ∝ a³`.\n\n**Orbital energy**: `E = −GMm\u002F2a`. ⚠️ **The sign is the physics: bound orbits have negative\ntotal energy.** `E = 0` is parabolic escape, `E > 0` hyperbolic.\n**Escape velocity** `v_esc = √(2GM\u002Fr)` = `√2 ×` circular orbital velocity.\n\n**⚠️ The `1\u002Fr²` law is special in two ways worth knowing**: it produces **closed orbits**\n(Bertrand's theorem — ⚠️ **only `1\u002Fr²` and the harmonic `r` potential do**), and it admits\nthe extra conserved **Laplace-Runge-Lenz vector**, which is why the orbit's orientation\ndoesn't drift. ⚠️ **Mercury's perihelion precession is the observed failure of this, and\nit's a general-relativity effect.**\n\n---\n\n## §10. Non-Inertial Frames\n\n**⚠️ `F = ma` is false in an accelerating frame.** You can rescue it by adding **fictitious\n(inertial) forces** — real in their effects within that frame, absent in an inertial one.\n```\nLinear acceleration:  F_fict = −ma_frame\nCentrifugal:          F = mω²r  (outward)\nCoriolis:             F = −2m(ω × v)   ⚠️ acts only on bodies MOVING in the frame\nEuler:                from angular acceleration of the frame\n```\n**⚠️ The Coriolis force is the interesting one.** It deflects moving objects — **right in\nthe northern hemisphere, left in the southern** — and it governs **cyclone rotation, ocean\ngyres, and long-range ballistics.**\n\n> **⚠️ GOTCHA — Coriolis does not determine which way your bathtub drains.** ⚠️ **The\n> effect at that scale is many orders of magnitude smaller than residual water motion,\n> basin asymmetry, and how you pulled the plug.** **It's a genuine effect and a bogus\n> example**, and the bogus version is very widely repeated.\n\n**⚠️ The Earth is a rotating frame**, so strictly it's non-inertial: measured `g` varies\nwith latitude (⚠️ **centrifugal reduction at the equator plus the equatorial bulge**), and\na **Foucault pendulum** visibly demonstrates the rotation.\n\n---\n\n## §11. Lagrangian and Hamiltonian Mechanics\n\n**⚠️ Not new physics — a reformulation that is vastly more powerful for anything with\nconstraints.**\n\n**Lagrangian** `L = T − V`, with the **Euler-Lagrange equations**:\n```\nd\u002Fdt (∂L\u002F∂q̇ᵢ) − ∂L\u002F∂qᵢ = 0\n```\n**⚠️ Why this is transformative:**\n- **Constraint forces disappear.** ⚠️ **You never compute the normal force or the rod\n  tension unless you want it** — choose generalized coordinates that already satisfy the\n  constraints.\n- **It's coordinate-independent.** Polar, spherical, whatever fits the problem.\n- **It's scalar.** ⚠️ **No vector bookkeeping, no free-body diagrams.**\n- **Symmetries become manifest**: ⚠️ **if `L` doesn't depend on a coordinate, its conjugate\n  momentum is conserved — Noether's theorem falls out mechanically** (§4.5 → `mech-energy-momentum-and-collisions`).\n\n**Hamiltonian** `H = Σp q̇ − L` — usually the total energy — with\n```\nq̇ = ∂H\u002F∂p        ṗ = −∂H\u002F∂q\n```\n**⚠️ First-order equations in phase space**, and the natural bridge to statistical\nmechanics and quantum mechanics. **⚠️ Liouville's theorem — phase space volume is\nconserved — is the property that §14's symplectic integrators are built to respect.**\n\n**Principle of least action**: the actual path extremizes `S = ∫L dt`.\n⚠️ **This is arguably the deepest formulation of classical mechanics**, and it generalizes\ndirectly to field theory and quantum mechanics (Feynman's path integral).\n\n---\n\n## §12. Fluids and Continuous Media — briefly\n\n**Statics**: `P = ρgh`, **Pascal's principle**, **Archimedes** (⚠️ **buoyant force =\nweight of displaced fluid**).\n**Dynamics**: continuity `A₁v₁ = A₂v₂`; **Bernoulli** `P + ½ρv² + ρgh = const` —\n⚠️ **valid only along a streamline, for steady, incompressible, inviscid flow, and it is\nroutinely misapplied.** ⚠️ **The popular \"equal transit time\" explanation of aeroplane\nlift is wrong** — see a signal-processing or aerodynamics reference for circulation and\nthe actual account.\n\n**Reynolds number** `Re = ρvL\u002Fμ` — ⚠️ **the ratio of inertial to viscous forces, and the\nsingle most important dimensionless group in fluid mechanics**; it decides laminar vs\nturbulent and determines which drag law in §3.4 → `mech-kinematics-newtons-laws-and-forces` applies.\n**⚠️ Navier-Stokes has no general existence-and-smoothness proof** — it's a Millennium\nPrize problem, and turbulence remains the outstanding unsolved problem of classical\nphysics.\n\n---\n\n## §13. Chaos and the Limits of Prediction\n\n**⚠️ Newtonian mechanics is deterministic. It is not predictable. These are different\nclaims and conflating them is a real error.**\n\n**Sensitive dependence on initial conditions**: nearby trajectories diverge exponentially,\nat a rate set by the **Lyapunov exponent**. ⚠️ **Since you never know initial conditions\nexactly, prediction has a horizon** — and **improving your measurements buys you only\nlogarithmic improvement in that horizon.** **Ten times better data gets you a modest\nconstant more time, not ten times more.**\n\n**⚠️ Chaos requires nonlinearity and at least three dimensions in a continuous autonomous\nsystem.** Examples: the **double pendulum** (⚠️ **the canonical demonstration, and\ngenuinely chaotic despite being a two-body problem**), the **three-body problem**\n(⚠️ **no general closed-form solution — Poincaré, 1890, and this is where chaos was\ndiscovered**), driven oscillators, and weather.\n\n**⚠️ KAM theory** — the useful counterweight: **under small perturbations, many quasi-\nperiodic orbits survive rather than dissolving into chaos.** **The solar system is not\nobviously stable and not obviously chaotic; its long-term behaviour is a live research\nquestion.**\n\n---\n\n## §14. Numerical Integration\n\n**⚠️ The section that matters if you simulate any of this, and the failure mode is\nspecific and non-obvious.**\n\n### 14.1 The methods\n```\nExplicit (forward) Euler    x += v·dt ; v += a·dt\n  ⚠️ First order. SYSTEMATICALLY GAINS ENERGY in oscillatory systems. Orbits spiral out.\nImplicit (backward) Euler\n  ⚠️ Stable, but systematically LOSES energy. Orbits spiral in, springs die.\nSemi-implicit (symplectic) Euler   v += a·dt ; x += v·dt    ⚠️ NOTE THE ORDER\n  ⚠️ Same cost as explicit Euler, and it CONSERVES ENERGY on average. Nearly free win.\nVelocity Verlet             second order, symplectic, time-reversible\n  ⚠️ The standard for molecular dynamics and orbital mechanics\nLeapfrog                    equivalent to Verlet, staggered\nRK4                         ⚠️ Fourth order, very accurate per step, NOT symplectic —\n                            energy drifts slowly over long runs\n```\n\n> **⚠️ GOTCHA — the most important numerical fact in classical simulation.** ⚠️ **Explicit\n> Euler and semi-implicit Euler differ by the order of two lines of code, and that\n> difference determines whether your simulation is stable over long times.**\n> ```\n> Explicit:       x_new = x + v*dt;  v_new = v + a(x)*dt      ⚠️ energy grows\n> Semi-implicit:  v_new = v + a(x)*dt;  x_new = x + v_new*dt  ⚠️ energy bounded\n> ```\n> **Same operations, same cost, one uses the updated velocity.** ⚠️ **This is why game\n> physics engines and orbital simulators use semi-implicit Euler or Verlet, and it is why\n> a naive planet simulation spirals into the sun or off to infinity.**\n\n### 14.2 Why symplectic matters\n**⚠️ Symplectic integrators preserve the phase-space structure that §11's Hamiltonian\nformulation describes** — Liouville's theorem. **They don't conserve energy exactly, but\nthe error oscillates within a bound rather than accumulating.**\n⚠️ **The counterintuitive consequence**: **for long-duration simulation, a second-order\nsymplectic method (Verlet) beats fourth-order RK4**, because RK4's superior per-step\naccuracy doesn't stop its energy from drifting monotonically. **Order of accuracy is the\nwrong figure of merit for long integrations.**\n\n### 14.3 Practical\n**Timestep**: ⚠️ **must resolve the fastest timescale in the system** — the stiffest\nspring, the closest orbital approach. **Adaptive stepping** for systems with wide dynamic\nrange (⚠️ **near-collision in gravitational N-body**).\n**⚠️ Stiff systems** — where timescales differ by orders of magnitude — force impractically\nsmall steps for explicit methods; **implicit methods are the answer despite their cost.**\n**Constraints**: ⚠️ **stiff penalty springs are the naive approach and they make the system\nstiff. Lagrange multipliers or projection methods (SHAKE\u002FRATTLE) are the right ones.**\n**Collision handling**: discrete detection **misses fast-moving thin objects (tunnelling)**\n— ⚠️ **continuous collision detection or swept volumes.**\n**⚠️ Always monitor a conserved quantity** — energy, momentum, angular momentum — **as a\ncorrectness check. If it drifts, your integrator or timestep is wrong, and it's the\ncheapest diagnostic you have.**\n","# Newtonian Mechanics: Orbits, Non-Inertial Frames, Lagrangian and Hamiltonian Mechanics, Chaos, and Integration\n\n> **Part 4 of 5** of the *Newtonian Mechanics* reference (plugin `newtonian-mechanics`), covering §9–§14. Sibling skills: `mech-kinematics-newtons-laws-and-forces` (§0–§3), `mech-energy-momentum-and-collisions` (§4–§5), `mech-rotation-rigid-bodies-and-oscillations` (§6–§8), `mech-reference` (§15–§19). Section numbers are shared across the set; a reference written as §N → `skill` points into that sibling skill.\n>\n> **Currency:** Settled since 1687 — Newton's Principia, Euler's rigid-body work in the 1750s, Lagrange 1788, Hamilton 1833. Nothing here has changed or will.\n\n> **Scope.** Complements a fundamental-physics reference, which covers relativity, quantum\n> mechanics and where classical mechanics breaks down. ⚠️ **This is the classical theory\n> done properly**, including §14 on numerical integration — the part that matters if\n> you're simulating any of it.\n>\n> **⚠️ GOTCHA** boxes mark genuine misconceptions, including several that survive a\n> physics degree.\n>\n> **The three ideas that reorganize everything once you see them:**\n> 1. **⚠️ Force causes acceleration, not velocity.** This one sentence is the entire\n>    content of the Aristotle-to-Newton revolution, and **the misconception it replaced is\n>    the single most robust error in physics education** (§2.2 → `mech-kinematics-newtons-laws-and-forces`).\n> 2. **⚠️ The conservation laws are not consequences of `F = ma` — they're deeper than\n>    it.** Momentum conservation follows from spatial translation symmetry, energy from\n>    time-translation symmetry, angular momentum from rotational symmetry (Noether, 1918).\n>    **They survive into relativity and quantum mechanics; `F = ma` does not** (§4.5 → `mech-energy-momentum-and-collisions`).\n> 3. **⚠️ Newtonian mechanics is deterministic but not predictable.** Determinism is a\n>    property of the equations; predictability is a property of your knowledge. **Chaos\n>    separates them, and the separation is not a defect of your instruments** (§13).\n\n---\n\n## §9. Central Forces and Orbits\n\n**Any central force conserves angular momentum** ⟹ ⚠️ **motion is confined to a plane, and\nKepler's second law (equal areas in equal times) follows immediately** — it's angular\nmomentum conservation, nothing more.\n\n**Kepler's laws**, derived from `F = GMm\u002Fr²`:\n1. Ellipses with the Sun at a focus.\n2. Equal areas in equal times (⚠️ **= angular momentum conservation**).\n3. `T² ∝ a³`.\n\n**Orbital energy**: `E = −GMm\u002F2a`. ⚠️ **The sign is the physics: bound orbits have negative\ntotal energy.** `E = 0` is parabolic escape, `E > 0` hyperbolic.\n**Escape velocity** `v_esc = √(2GM\u002Fr)` = `√2 ×` circular orbital velocity.\n\n**⚠️ The `1\u002Fr²` law is special in two ways worth knowing**: it produces **closed orbits**\n(Bertrand's theorem — ⚠️ **only `1\u002Fr²` and the harmonic `r` potential do**), and it admits\nthe extra conserved **Laplace-Runge-Lenz vector**, which is why the orbit's orientation\ndoesn't drift. ⚠️ **Mercury's perihelion precession is the observed failure of this, and\nit's a general-relativity effect.**\n\n---\n\n## §10. Non-Inertial Frames\n\n**⚠️ `F = ma` is false in an accelerating frame.** You can rescue it by adding **fictitious\n(inertial) forces** — real in their effects within that frame, absent in an inertial one.\n```\nLinear acceleration:  F_fict = −ma_frame\nCentrifugal:          F = mω²r  (outward)\nCoriolis:             F = −2m(ω × v)   ⚠️ acts only on bodies MOVING in the frame\nEuler:                from angular acceleration of the frame\n```\n**⚠️ The Coriolis force is the interesting one.** It deflects moving objects — **right in\nthe northern hemisphere, left in the southern** — and it governs **cyclone rotation, ocean\ngyres, and long-range ballistics.**\n\n> **⚠️ GOTCHA — Coriolis does not determine which way your bathtub drains.** ⚠️ **The\n> effect at that scale is many orders of magnitude smaller than residual water motion,\n> basin asymmetry, and how you pulled the plug.** **It's a genuine effect and a bogus\n> example**, and the bogus version is very widely repeated.\n\n**⚠️ The Earth is a rotating frame**, so strictly it's non-inertial: measured `g` varies\nwith latitude (⚠️ **centrifugal reduction at the equator plus the equatorial bulge**), and\na **Foucault pendulum** visibly demonstrates the rotation.\n\n---\n\n## §11. Lagrangian and Hamiltonian Mechanics\n\n**⚠️ Not new physics — a reformulation that is vastly more powerful for anything with\nconstraints.**\n\n**Lagrangian** `L = T − V`, with the **Euler-Lagrange equations**:\n```\nd\u002Fdt (∂L\u002F∂q̇ᵢ) − ∂L\u002F∂qᵢ = 0\n```\n**⚠️ Why this is transformative:**\n- **Constraint forces disappear.** ⚠️ **You never compute the normal force or the rod\n  tension unless you want it** — choose generalized coordinates that already satisfy the\n  constraints.\n- **It's coordinate-independent.** Polar, spherical, whatever fits the problem.\n- **It's scalar.** ⚠️ **No vector bookkeeping, no free-body diagrams.**\n- **Symmetries become manifest**: ⚠️ **if `L` doesn't depend on a coordinate, its conjugate\n  momentum is conserved — Noether's theorem falls out mechanically** (§4.5 → `mech-energy-momentum-and-collisions`).\n\n**Hamiltonian** `H = Σp q̇ − L` — usually the total energy — with\n```\nq̇ = ∂H\u002F∂p        ṗ = −∂H\u002F∂q\n```\n**⚠️ First-order equations in phase space**, and the natural bridge to statistical\nmechanics and quantum mechanics. **⚠️ Liouville's theorem — phase space volume is\nconserved — is the property that §14's symplectic integrators are built to respect.**\n\n**Principle of least action**: the actual path extremizes `S = ∫L dt`.\n⚠️ **This is arguably the deepest formulation of classical mechanics**, and it generalizes\ndirectly to field theory and quantum mechanics (Feynman's path integral).\n\n---\n\n## §12. Fluids and Continuous Media — briefly\n\n**Statics**: `P = ρgh`, **Pascal's principle**, **Archimedes** (⚠️ **buoyant force =\nweight of displaced fluid**).\n**Dynamics**: continuity `A₁v₁ = A₂v₂`; **Bernoulli** `P + ½ρv² + ρgh = const` —\n⚠️ **valid only along a streamline, for steady, incompressible, inviscid flow, and it is\nroutinely misapplied.** ⚠️ **The popular \"equal transit time\" explanation of aeroplane\nlift is wrong** — see a signal-processing or aerodynamics reference for circulation and\nthe actual account.\n\n**Reynolds number** `Re = ρvL\u002Fμ` — ⚠️ **the ratio of inertial to viscous forces, and the\nsingle most important dimensionless group in fluid mechanics**; it decides laminar vs\nturbulent and determines which drag law in §3.4 → `mech-kinematics-newtons-laws-and-forces` applies.\n**⚠️ Navier-Stokes has no general existence-and-smoothness proof** — it's a Millennium\nPrize problem, and turbulence remains the outstanding unsolved problem of classical\nphysics.\n\n---\n\n## §13. Chaos and the Limits of Prediction\n\n**⚠️ Newtonian mechanics is deterministic. It is not predictable. These are different\nclaims and conflating them is a real error.**\n\n**Sensitive dependence on initial conditions**: nearby trajectories diverge exponentially,\nat a rate set by the **Lyapunov exponent**. ⚠️ **Since you never know initial conditions\nexactly, prediction has a horizon** — and **improving your measurements buys you only\nlogarithmic improvement in that horizon.** **Ten times better data gets you a modest\nconstant more time, not ten times more.**\n\n**⚠️ Chaos requires nonlinearity and at least three dimensions in a continuous autonomous\nsystem.** Examples: the **double pendulum** (⚠️ **the canonical demonstration, and\ngenuinely chaotic despite being a two-body problem**), the **three-body problem**\n(⚠️ **no general closed-form solution — Poincaré, 1890, and this is where chaos was\ndiscovered**), driven oscillators, and weather.\n\n**⚠️ KAM theory** — the useful counterweight: **under small perturbations, many quasi-\nperiodic orbits survive rather than dissolving into chaos.** **The solar system is not\nobviously stable and not obviously chaotic; its long-term behaviour is a live research\nquestion.**\n\n---\n\n## §14. Numerical Integration\n\n**⚠️ The section that matters if you simulate any of this, and the failure mode is\nspecific and non-obvious.**\n\n### 14.1 The methods\n```\nExplicit (forward) Euler    x += v·dt ; v += a·dt\n  ⚠️ First order. SYSTEMATICALLY GAINS ENERGY in oscillatory systems. Orbits spiral out.\nImplicit (backward) Euler\n  ⚠️ Stable, but systematically LOSES energy. Orbits spiral in, springs die.\nSemi-implicit (symplectic) Euler   v += a·dt ; x += v·dt    ⚠️ NOTE THE ORDER\n  ⚠️ Same cost as explicit Euler, and it CONSERVES ENERGY on average. Nearly free win.\nVelocity Verlet             second order, symplectic, time-reversible\n  ⚠️ The standard for molecular dynamics and orbital mechanics\nLeapfrog                    equivalent to Verlet, staggered\nRK4                         ⚠️ Fourth order, very accurate per step, NOT symplectic —\n                            energy drifts slowly over long runs\n```\n\n> **⚠️ GOTCHA — the most important numerical fact in classical simulation.** ⚠️ **Explicit\n> Euler and semi-implicit Euler differ by the order of two lines of code, and that\n> difference determines whether your simulation is stable over long times.**\n> ```\n> Explicit:       x_new = x + v*dt;  v_new = v + a(x)*dt      ⚠️ energy grows\n> Semi-implicit:  v_new = v + a(x)*dt;  x_new = x + v_new*dt  ⚠️ energy bounded\n> ```\n> **Same operations, same cost, one uses the updated velocity.** ⚠️ **This is why game\n> physics engines and orbital simulators use semi-implicit Euler or Verlet, and it is why\n> a naive planet simulation spirals into the sun or off to infinity.**\n\n### 14.2 Why symplectic matters\n**⚠️ Symplectic integrators preserve the phase-space structure that §11's Hamiltonian\nformulation describes** — Liouville's theorem. **They don't conserve energy exactly, but\nthe error oscillates within a bound rather than accumulating.**\n⚠️ **The counterintuitive consequence**: **for long-duration simulation, a second-order\nsymplectic method (Verlet) beats fourth-order RK4**, because RK4's superior per-step\naccuracy doesn't stop its energy from drifting monotonically. **Order of accuracy is the\nwrong figure of merit for long integrations.**\n\n### 14.3 Practical\n**Timestep**: ⚠️ **must resolve the fastest timescale in the system** — the stiffest\nspring, the closest orbital approach. **Adaptive stepping** for systems with wide dynamic\nrange (⚠️ **near-collision in gravitational N-body**).\n**⚠️ Stiff systems** — where timescales differ by orders of magnitude — force impractically\nsmall steps for explicit methods; **implicit methods are the answer despite their cost.**\n**Constraints**: ⚠️ **stiff penalty springs are the naive approach and they make the system\nstiff. Lagrange multipliers or projection methods (SHAKE\u002FRATTLE) are the right ones.**\n**Collision handling**: discrete detection **misses fast-moving thin objects (tunnelling)**\n— ⚠️ **continuous collision detection or swept volumes.**\n**⚠️ Always monitor a conserved quantity** — energy, momentum, angular momentum — **as a\ncorrectness check. If it drifts, your integrator or timestep is wrong, and it's the\ncheapest diagnostic you have.**\n",{"name":5,"description":7},"develop","ae32736a1aabddabca5d2c96d665aa0ebc7d8700","src\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fnewtonian-mechanics\u002Fskills\u002Fmech-orbits-frames-analytical-mechanics-and-simulation",3,"https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey","https:\u002F\u002Fthe-vibey-project.github.io\u002Fvibey\u002F","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project","https:\u002F\u002Fvibewithadam.matthewsteinberger.com","freedom for software engineers","2026-11-15 05:47:42",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add the-vibey-project\u002Fvibey --skill mech-orbits-frames-analytical-mechanics-and-simulation",{"tool":40,"command":41},"bunx","bunx skills add the-vibey-project\u002Fvibey --skill mech-orbits-frames-analytical-mechanics-and-simulation",{"tool":43,"command":44},"pnpm","pnpm dlx skills add the-vibey-project\u002Fvibey --skill mech-orbits-frames-analytical-mechanics-and-simulation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fnewtonian-mechanics\u002Fskills\u002Fmech-orbits-frames-analytical-mechanics-and-simulation\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7AT1FQJAE1FQYAMDTF490Y4","white-paper-writing","Use when writing white papers, technical reports, policy documents, thought leadership pieces, or any long-form authoritative document. Triggers on requests to write, structure, outline, or review white papers, technical reports, position papers, policy briefs, or evidence-driven arguments. Also use for B2B content marketing strategy, technical documentation requiring authority, academic-style reports, or any document that must educate while persuading. Use when someone asks \"how should I structure this\" for a long-form document.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fwhite-paper-writing\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7AT16BJRJJKK2MASXRZS76G","prose-technical-mechanics","Use when editing or writing prose at a technical\u002Fmechanical level: choosing between Anglo-Saxon and Latinate diction, placing information in topic vs stress positions, writing periodic vs cumulative sentences, handling sentence rhythm, punctuation as logic, transitions, paragraph structure, or phonesthetics. Use when someone wants to understand WHY prose works or doesn't, not just surface-level style advice. Triggers on word choice, sentence structure, emphasis, rhythm, diction, or any deep writing mechanics question.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fprose-technical-mechanics\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7AT0W9HT0ZZ9Y287NW99MR3","prose-mechanics","Use when writing, editing, or analyzing prose style; when trying to avoid generic AI-sounding writing; when applying specific prose styles such as journalistic, academic, narrative, KJV biblical, Hemingway plain, Latinate\u002FJamesian, Orwellian, Augustan, Victorian, Early Modern (Bacon, Browne, Milton), or free indirect discourse; or when coaching someone on writing voice and mechanics. Triggers on any request to improve, analyze, or write in a specific prose style, to fix \"AI-sounding\" writing, to make prose more vivid or concrete, to vary sentence rhythm, or to understand how a particular writer achieves their effects.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fprose-mechanics\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7AT0KR635JX66X2X6F3E2CP","narrative-structure","Use when structuring stories, pitches, presentations, white papers, or any persuasive narrative; analyzing the hero's journey in fiction or non-fiction; applying StoryBrand for business communication; designing narrative arcs for thought leadership; or understanding Vogler, Snyder, Propp, or Campbell frameworks. Triggers on any narrative structure, storytelling, pitch structure, StoryBrand, hero's journey, three-act structure, Freytag, Save the Cat, narrative arc, or \"how should I structure this story\u002Fpitch\u002Fpresentation\" request.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fnarrative-structure\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7AT0AKGW09NKKZDYBT8VRDE","legal-brief-writing","Use when writing legal briefs, motions, or any court filing; when analyzing judicial cognition and persuasion; when applying elite brief-writing techniques from Roberts, Clement, Kagan, Garner; or when structuring legal arguments for maximum persuasion. Also use for autistic\u002Fneurodivergent advocates who need to understand how their natural communication style maps to elite legal advocacy. Triggers on any legal writing, brief drafting, motion preparation, or legal argument structuring request.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Flegal-brief-writing\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7AT00VWPS4Q8B5VEMXX9NQT","journal-publishability-criteria","Use whenever a research paper, article or preprint is being written, revised, reviewed or published, and specifically before every publication of docs\u002Fpaper.md. Covers what legitimate journals actually gate on, in order of gating — the editor's desk screen (scope, novelty, package problems), what reviewers judge (methodological soundness, claims the evidence can carry, statistical and qualitative reporting), EQUATOR reporting guidelines, the ICMJE authorship criteria, COPE's view of text recycling, the near-universal generative-AI policy (no AI author, disclosure, author responsibility), TOP 2025 transparency standards, how to verify a journal is legitimate, submitting without an institution, and a pre-submission checklist. Triggers on requests to evaluate, review, prepare or submit a paper, to judge publishability, to write a declarations or data-availability section, to disclose AI use, or to check a journal.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fjournal-publishability-criteria\u002FSKILL.md",[],[]]