classical-physics-ai999x — offline, verified classical physics solver with step-by-step answers
Install · Capability guide · Evaluation · AI999X on Hugging Face · Website · Support: Buy Me a Coffee
License: Apache-2.0 · Author: Ibnul Jaif Farabi (creator and engineer) · Organization: AI999X · Version 1.0.0
Field: Physical Sciences · Tasks: Question Answering, Token Classification, Text Classification, Sentence Similarity, Feature Extraction
classical-physics-ai999x is an offline, deterministic Python solver that answers classical physics questions with verified results from 196 certified capabilities, gives 1177 documented answers identically on Windows and Linux, and refuses rather than guesses when an answer cannot be verified.
classical-physics-ai999x is a compact, deterministic classical physics engine for Python. It reads a question in plain English (or a typed call), picks a certified classical physics capability, computes the answer exactly, checks it, and returns the result with its steps, units, LaTeX and assumptions — or an honest refusal that says what is missing. It runs fully offline on any CPU, needs no GPU, no API key and no internet, and is built to give zero wrong answers: when it is not sure, it refuses instead of guessing.
Highlights
- Verified, not generated. Every answer is computed by a certified classical physics capability and checked (substituted back, dimension-checked or compared with an independent computation) before it is returned.
- Zero wrong answers by design. Seven explicit outcomes — SOLVED, NEEDS_INPUT, AMBIGUOUS, INVALID_INPUT, OUT_OF_SCOPE, UNRECOGNIZED_FORMAT, INTERNAL_ERROR — never a silent guess. Every one of its 1177 documented answers is reproduced exactly on every tested platform.
- Plain-English questions and a guaranteed typed interface.
ask()reads documented question forms;solve(capability_id, **inputs)always solves a supported task with valid inputs. - Explains itself. Steps, formulas in LaTeX, units, assumptions and the model used, ready for notebooks, tutoring apps and homework checkers.
- Small and portable. Pure Python (sympy, mpmath); identical answers on Windows and Linux (Python 3.10, 3.11, 3.12, 3.13, 3.14).
- Coverage: kinematics, dynamics, energy, momentum, rotation, gravitation, oscillations, waves and sound, optics, thermodynamics, electricity and magnetism.
Model overview
| Property | Value |
|---|---|
| Package | classical-physics-ai999x 1.0.0 (import classical_physics_ai999x) |
| Type | Deterministic neuro-symbolic classical physics engine (rule-based reading + certified symbolic capabilities) |
| Capabilities | 46 certified derivations, 16 certified model_familys, 2 certified procedures, 132 certified relations |
| Knowledge pack | version 1.0.2 |
| Golden answers | 1177 documented answers, identical on every tested platform |
| Platforms tested | Windows (Python 3.13), Linux x86-64 (Python 3.10, 3.11, 3.12, 3.13, 3.14) |
| Runtime | CPU only, offline; no GPU, no network, no API key |
| License | Apache-2.0 |
| Creator / engineer | Ibnul Jaif Farabi |
| Organization | AI999X |
Quickstart
pip install classical-physics-ai999x
# or straight from this repository:
pip install https://huggingface.co/AI999X/classical-physics-ai999x/resolve/main/dist/classical_physics_ai999x-1.0.0-py3-none-any.whl
import classical_physics_ai999x as classical_physics
classical_physics.ask("A 3 kg object moves at 4 m/s. What is its kinetic energy?").show()
# -> SOLVED — 24 J (kinetic_energy)
classical_physics.ask("A 2 kg mass on a spring with a spring constant of 50 N/m has a damping coefficient of 4 kg/s. What is the damped angular frequency?").show()
# -> SOLVED — 4.89898 rad/s (damped_angular_frequency)
classical_physics.ask("A ball is kicked at 20 m/s at 30 degrees above the horizontal from level ground. How far does it travel horizontally?").show()
# -> SOLVED — 35.324 m (projectile)
classical_physics.ask("What is the escape speed from a planet of mass 5.972e24 kg and radius 6.371e6 m?").show()
# -> SOLVED — 11186 m/s (escape_speed)
classical_physics.solve("rocket_delta_v", ve="3000 m/s", m0="1000 kg", mf="400 kg").show()
# -> SOLVED — 2748.87 m/s (rocket_delta_v)
classical_physics.ask("Who created you?").message
# -> classical-physics-ai999x was created and engineered by Ibnul Jaif Farabi at AI999X.
Command line: classical-physics-ai999x "<question>", classical-physics-ai999x --capabilities. The outputs above were produced by running this exact code on classical-physics-ai999x 1.0.0.
How every answer is verified
- Reading — the question is turned into typed quantities (value, unit, kind, role) and one asked quantity; every stated number must be used or the question is refused.
- Planning — only certified capabilities may answer; a capability applies only under the conditions the wording states (for example a pendulum, a liquid at rest, boiling).
- Computing — exact symbolic or high-precision numeric evaluation.
- Checking — dimensions, substitution back into the defining equation, and agreement between independent readings; any disagreement becomes a refusal, never a number.
Capabilities are certified before they ship: each must reproduce hand-worked reference cases, reject a deliberately wrong variant (a control), and leave every benchmark answer unchanged.
Capabilities
46 certified derivations, 16 certified model_familys, 2 certified procedures, 132 certified relations. A few of them:
- Derivations: acceleration with friction level; angular acceleration from tangential; angular frequency period; average speed equal instantaneous; centripetal acceleration from period; derive absolute pressure depth; derive acceleration frictionless incline; derive centripetal acceleration omega; derive centripetal force; derive charge current; derive cyclotron radius; derive electric power; derive impulse; derive inductive reactance; derive lc resonance; derive long wire field; derive normal on level; derive ohm power current; derive ohm power voltage; derive orbital period; derive photon energy; derive photon energy wavelength; derive photon momentum; derive rl time constant …
- Model_familys: A gas between two states; Apparent weight in an elevator; Block on a surface pulled over a pulley; Collisions along a line; Doppler effect for sound; Ideal banking of a curve; Maximum speed on a flat curve; Mixing to thermal equilibrium; Motion in stages; Projectile motion; RC circuits; Radioactive decay; Recoil from rest; Rolling from a height; Series and parallel resistor and capacitor networks; Two masses over a pulley
- Procedures: Two resistors in series and in parallel; Velocity and displacement after constant acceleration
- Relations: Absolute pressure at a depth in a fluid; Acceleration down a frictionless incline; Acceleration of a body rolling without slipping down an incline; Acceleration of an Atwood machine with a massive pulley; Amplitude-resonance frequency of a driven damped oscillator; Angular frequency and frequency; Angular frequency of a damped oscillator; Angular momentum of a point mass on a circle; Angular momentum of a rotating body; Angular velocity and angle turned under constant angular acceleration; Angular velocity under constant angular acceleration; Average net force from a change of momentum; Average power; Body-frame precession rate of a torque-free symmetric body; Capacitance of parallel plates; Carnot (maximum) efficiency; Centripetal acceleration; Centripetal acceleration from angular velocity; Centripetal force; Charge carried by a steady current; Charge on a capacitor; Coefficient of performance of a heat pump; Coefficient of performance of a refrigerator; Component of the weight along an incline …
classical_physics_ai999x.templates() lists every question form ask() reads; the capability guide (PDF, every example executed) is included in this repository.
All 134 formulas
Show every formula, by topic
AC circuits
Reactance of a capacitor
Reactance of an inductor
Resonant frequency of an LC circuit
Rms current of a sinusoidal supply
Rms voltage of a sinusoidal supply
Capacitors
Capacitance of parallel plates
Charge on a capacitor
Energy stored in a capacitor
Circuits
Power from current and resistance
Power from voltage and resistance
Resistance of a uniform wire
Two resistors in series and in parallel
Circular
Angular frequency and frequency
Centripetal acceleration
Centripetal force
Period and frequency
Speed on a circle from angular speed
Collisions
Final velocity of the first body in a one-dimensional elastic collision
Final velocity of the second body in a one-dimensional elastic collision
Dynamics
Acceleration down a frictionless incline
Average net force from a change of momentum
Component of the weight along an incline
Impulse of a constant force
Linear momentum
Net force and acceleration
Net force with an opposing friction force
Normal force on a level surface
Normal force on an incline
Sliding friction
Tension in a rope holding a hanging body
Weight in a uniform gravitational field
Electricity
Charge carried by a steady current
Electric power
Voltage across an ohmic resistance
Electrostatics
Electric field of a point charge
Electric potential of a point charge
Force on a charge in an electric field
Potential difference in a uniform field
Energy
Average power
Energy stored in a linear spring
Force of a linear spring
Gravitational potential energy near the surface
Power of a force on a moving body
Speed of a body launched by a spring
Translational kinetic energy
Work by a constant force
Work-energy theorem
Fluids
Absolute pressure at a depth in a fluid
Flow rate as volume per time
Flow rate through a cross section
Mass density
Pressure of a column of fluid
Pressure of a force on an area
Gravitation
Gravitational acceleration at a distance from a mass
Period of a circular orbit
Speed in a circular orbit
Induction
Current dying away in an RL circuit
Emf of a rod moving through a magnetic field
Time constant of an RL circuit
Kinematics
Displacement from the mean of initial and final velocity
Displacement under constant acceleration
Maximum height of a vertical throw
Motion at constant velocity
Speed after a displacement under constant acceleration
Speed after falling from rest
Time to the top of a vertical throw
Velocity and displacement after constant acceleration
Velocity under constant acceleration
Magnetism
Magnetic field at the centre of a circular loop
Magnetic field inside a long solenoid
Magnetic field of a long straight wire
Magnetic force on a current-carrying wire
Magnetic force on a moving charge
Radius of a charged particle's circle in a magnetic field
Optics
Focal length of a spherical mirror
Index of refraction
Thin lens equation
Wavelength of light in a medium
Orbits
Escape speed
Orbital period from the semi-major axis (Kepler's third law)
Orbital speed on an elliptical orbit (vis-viva)
Oscillations
Amplitude-resonance frequency of a driven damped oscillator
Angular frequency of a damped oscillator
Damping ratio
Higher normal mode of a double pendulum
Higher normal-mode frequency of two coupled oscillators
Lower normal mode of a double pendulum
Maximum speed of a mass on a spring
Period of a mass on a spring
Period of a physical pendulum
Period of a simple pendulum
Quality factor of a damped oscillator
Steady-state amplitude of a driven damped oscillator
Quantum
De Broglie wavelength
Energy of a photon
Momentum of a photon
Photon energy from wavelength
RC circuits
Time constant of an RC circuit
Voltage of a charging capacitor
Voltage of a discharging capacitor
Relativity
Rest energy
Rigid body
Acceleration of a body rolling without slipping down an incline
Acceleration of an Atwood machine with a massive pulley
Body-frame precession rate of a torque-free symmetric body
Moment of inertia of a solid disk about its axis
Moment of inertia of a solid sphere
Moment of inertia of a thin rod about its center
Moment of inertia of a thin rod about one end
Moment of inertia of a thin spherical shell
Rotating frames
Off-axis equilibrium of a bead on a rotating hoop
Precession period of a Foucault pendulum
Rotation
Angular momentum of a point mass on a circle
Angular momentum of a rotating body
Angular velocity and angle turned under constant angular acceleration
Angular velocity under constant angular acceleration
Centripetal acceleration from angular velocity
Rotational kinetic energy
Tangential acceleration of a point on a rotating body
Torque of a force
Thermal
Carnot (maximum) efficiency
Coefficient of performance of a heat pump
Coefficient of performance of a refrigerator
Efficiency of a heat engine
Energy balance of a cyclic heat engine
Heat for a temperature change
Heat to boil or condense
Heat to melt or freeze
Ideal gas law
Linear thermal expansion
Thermal expansion of an area
Thermal expansion of volume
Variable mass
Velocity change of a rocket (Tsiolkovsky)
Waves
Intensity as power per area
Speed of a periodic wave
Out of scope
- Open-ended explanation, essay writing or tutoring dialogue: it is a solver, not a chatbot.
- Questions outside its certified classical physics capabilities, and any question whose stated numbers it cannot all use — it refuses with the reason instead.
- High-stakes engineering, medical or legal decisions without independent review.
Limitations
- It answers what its certified capabilities cover (kinematics, dynamics, energy, momentum, rotation, gravitation, oscillations, waves and sound, optics, thermodynamics, electricity and magnetism); anything else is refused with a reason.
ask()reads documented question forms and common phrasings; unusual wording may be refused — usesolve()for guaranteed results.- Results are as correct as the certified relations and their stated conditions; a certified relation is a checked model, not a claim about every physical situation.
Citation
@software{classical_physics_ai999x_1_0_0,
title = {classical-physics-ai999x: an offline, verified classical physics solver},
author = {Farabi, Ibnul Jaif}, organization = {AI999X},
year = {2026}, version = {1.0.0},
url = {https://huggingface.co/AI999X/classical-physics-ai999x}
}
Contact
Questions, bug reports and requests: open a discussion on https://huggingface.co/AI999X/classical-physics-ai999x/discussions or visit https://ai999x.com.
Support the project
classical-physics-ai999x is free and open source. If it helps you, you can support further development on Buy Me a Coffee.
Created and engineered by Ibnul Jaif Farabi · AI999X · ai999x.com
- Downloads last month
- -
Collections including AI999X/classical-physics-ai999x
Evaluation results
- identical on every platform on Golden answers (1177 documented questions, Windows + Linux Python 3.10-3.14)self-reported1.000