Metadata-Version: 2.4
Name: aerospace-engineering-ai999x
Version: 1.0.3
Summary: Offline aerospace engineering solver: the standard atmosphere, airspeeds, compressible flow and shocks, nozzles and rocket engines, rocket performance and staging, aircraft performance, stability, propellers, wings, orbits and re-entry, with steps, LaTeX and honest refusals
Author: Ibnul Jaif Farabi
Maintainer: AI999X
License: Apache-2.0
Project-URL: Homepage, https://ai999x.com
Project-URL: Hugging Face, https://huggingface.co/AI999X/aerospace-engineering-ai999x
Project-URL: Funding, https://buymeacoffee.com/ibnuljaiffarabi
Keywords: aerospace engineering,aeronautics,astronautics,standard atmosphere,compressible flow,shock waves,rocket propulsion,aircraft performance,orbital mechanics,ai999x,offline,cpu,stem,education,step-by-step,latex,solver
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Education
Classifier: Development Status :: 5 - Production/Stable
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Requires-Dist: sympy>=1.12
Requires-Dist: mpmath>=1.3
Provides-Extra: search
Requires-Dist: onnxruntime>=1.17; extra == "search"
Requires-Dist: tokenizers>=0.15; extra == "search"
Requires-Dist: numpy>=1.24; extra == "search"
Provides-Extra: plot
Requires-Dist: matplotlib>=3.7; extra == "plot"
Provides-Extra: all
Requires-Dist: matplotlib>=3.7; extra == "all"
Requires-Dist: numpy>=1.24; extra == "all"
Requires-Dist: onnxruntime>=1.17; extra == "all"
Requires-Dist: tokenizers>=0.15; extra == "all"
Provides-Extra: reader
Requires-Dist: onnxruntime>=1.17; extra == "reader"
Requires-Dist: tokenizers>=0.15; extra == "reader"
Requires-Dist: numpy>=1.24; extra == "reader"
Dynamic: license-file

# aerospace-engineering-ai999x — offline, verified aerospace engineering solver with step-by-step answers

**[Install](https://pypi.org/project/aerospace-engineering-ai999x/)** · **[Capability guide](https://huggingface.co/AI999X/aerospace-engineering-ai999x/tree/main/docs)** · **[Evaluation](https://huggingface.co/AI999X/aerospace-engineering-ai999x/tree/main/evaluation)** · **[AI999X on Hugging Face](https://huggingface.co/AI999X)** · **[Website](https://ai999x.com)** · **[Support: Buy Me a Coffee](https://buymeacoffee.com/ibnuljaiffarabi)**

License: Apache-2.0 · Author: Ibnul Jaif Farabi (creator and engineer) · Organization: AI999X · Version 1.0.3

Field: **Engineering** · Tasks: Question Answering, Token Classification, Text Classification, Sentence Similarity, Feature Extraction

aerospace-engineering-ai999x is an offline, deterministic Python solver that answers aerospace engineering questions with verified results from 80 certified capabilities, gives 369 documented answers identically on Windows and Linux, and refuses rather than guesses when an answer cannot be verified.

**aerospace-engineering-ai999x** is a compact, deterministic aerospace engineering engine for Python. It reads a question in plain English (or a typed call), picks a certified aerospace engineering 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.

[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-support%20development-FFDD00?logo=buymeacoffee&logoColor=black)](https://buymeacoffee.com/ibnuljaiffarabi) ![License](https://img.shields.io/badge/license-Apache--2.0-blue) ![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue) ![Offline](https://img.shields.io/badge/runs-offline%20on%20CPU-green)

## Highlights

- **Verified, not generated.** Every answer is computed by a certified aerospace engineering 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 369 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:** the standard atmosphere, airspeeds, compressible flow and shocks, nozzles and rocket propulsion, rocket performance and staging, aircraft performance, static stability, propellers, wings and airfoils, orbits and re-entry.

## Model overview

| Property | Value |
|---|---|
| Package | `aerospace-engineering-ai999x` 1.0.3 (import `aerospace_engineering_ai999x`) |
| Type | Deterministic neuro-symbolic aerospace engineering engine (rule-based reading + certified symbolic capabilities) |
| Capabilities | 80 certified procedures |
| Knowledge pack | version 1.0.1 |
| Golden answers | 369 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

```bash
pip install aerospace-engineering-ai999x
```

```python
import aerospace_engineering_ai999x as aerospace_engineering

aerospace_engineering.ask("ISA properties: h = 35000 ft").show()
# -> SOLVED — T = 218.924, p = 23908.9, rho = 0.380455, a = 296.614  (aero_isa_properties)
aerospace_engineering.ask("Normal shock: M1 = 2").show()
# -> SOLVED — M2 = 0.57735, p2_p1 = 4.5, T2_T1 = 1.6875, rho2_rho1 = 2.66667  (aero_normal_shock)
aerospace_engineering.ask("True airspeed: CAS = 250 kt, hp = 30000 ft").show()
# -> SOLVED — TAS = 202.411, TAS_kt = 393.456, qc = 10498.2, M = 0.667517  (aero_true_airspeed_from_calibrated)
aerospace_engineering.ask("Breguet range: V = 230 m/s, c = 0.6 1/h, LD = 17, W0 = 2000 kN, W1 = 1500 kN").show()
# -> SOLVED — R = 6.74902e+06, R_km = 6749.02, t = 29343.6, t_h = 8.15099  (aero_breguet_range_jet)
aerospace_engineering.solve("aero_oblique_shock", M1=2, theta="10 deg").show()
# -> SOLVED — beta_deg = 39.3139, M2 = 1.64052, p2_p1 = 1.70658, T2_T1 = 1.17015  (aero_oblique_shock)
aerospace_engineering.ask("Who created you?").message
# -> aerospace-engineering-ai999x was created and engineered by Ibnul Jaif Farabi at AI999X.
```

Command line: `aerospace-engineering-ai999x "<question>"`, `aerospace-engineering-ai999x --capabilities`. The outputs above were produced by running this exact code on aerospace-engineering-ai999x 1.0.3.

## Find the right capability, and draw it

`aerospace_engineering.search()` finds which certified capability a question is about — across **every** AI999X model, so a question for another model points you to it. It runs **[ai999x-encoder](https://huggingface.co/AI999X/ai999x-encoder)**, AI999X's own capability encoder (4.7M parameters, a 4.9 MB ONNX model, offline; the root `model.safetensors` of this repository): `pip install "aerospace-engineering-ai999x[search]"`. `ask(question, suggest=True)` adds the same pointers to a question it does not answer; an answer itself never changes.

```python
import aerospace_engineering_ai999x as aerospace_engineering

aerospace_engineering.search("Solve x^2 - 5x + 6 = 0", k=2)
# -> Roots of a quadratic equation (math-foundations-ai999x, 0.63); Roots of a cubic equation (math-foundations-ai999x, 0.59)
```

## How every answer is verified

1. **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.
2. **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).
3. **Computing** — exact symbolic or high-precision numeric evaluation.
4. **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.

## Worked examples

Each question was put to `aerospace-engineering-ai999x`; the answer is the one it returned, with the steps it took.

**Standard atmosphere at an altitude** · _Standard atmosphere_

> ISA properties: h = 35000 ft

→ **T = 218.9241756 K, p = 23908.90662 Pa, rho = 0.380455436 kg/m^3, a = 296.6142276 m/s, mu = 1.434083685e-05 Pa*s, sigma = 0.3105760801, delta = 0.2359625622, theta = 0.7597576804, H = 10650.12683 m**

<details><summary>Steps</summary>

- Standard atmosphere at an altitude: h = 35000 ft → T = 218.9241756 K, p = 23908.90662 Pa, rho = 0.380455436 kg/m^3, a = 296.6142276 m/s, mu = 1.434083685e-05 Pa*s, sigma = 0.3105760801 kg/m^3, delta = 0.2359625622 kg/m^3, theta = 0.7597576804 kg/m^3, H = 10650.12683 m

</details>

**Normal shock relations** · _Compressible flow_

> Normal shock: M1 = 2

→ **M2 = 0.5773502692, p2_p1 = 4.5, T2_T1 = 1.6875, rho2_rho1 = 2.666666667, p02_p01 = 0.7208738615, p02_p1 = 5.640440813**

<details><summary>Steps</summary>

- Normal shock relations: M1 = 2 → M2 = 0.5773502692, p2_p1 = 4.5, T2_T1 = 1.6875, rho2_rho1 = 2.666666667, p02_p01 = 0.7208738615, p02_p1 = 5.640440813

</details>

**True airspeed from calibrated airspeed** · _Airspeeds_

> True airspeed: CAS = 250 kt, hp = 30000 ft

→ **TAS = 202.4112964 m/s, TAS_kt = 393.4560838, qc = 10498.2154 Pa, M = 0.6675168197**

<details><summary>Steps</summary>

- True airspeed from calibrated airspeed: CAS = 128.6111111 m/s, hp = 30000 ft → TAS = 202.4112964 m/s, TAS_kt = 393.4560838 m/s, qc = 10498.2154 Pa, M = 0.6675168197 m/s

</details>

**Breguet range of a jet aircraft** · _Aircraft performance_

> Breguet range: V = 230 m/s, c = 0.6 1/h, LD = 17, W0 = 2000 kN, W1 = 1500 kN

→ **R = 6749021.42 m, R_km = 6749.02142, t = 29343.57139 s, t_h = 8.150992053**

<details><summary>Steps</summary>

- Breguet range of a jet aircraft: V = 230 m/s, c = 1.699527022e-05 kg/(N*s), LD = 17, W0 = 2000 kN, W1 = 1500 kN → R = 6749021.42 m, R_km = 6749.02142 m, t = 29343.57139 s, t_h = 8.150992053 m

</details>

**Oblique shock from the deflection angle** · _Compressible flow_

`m.solve("aero_oblique_shock", M1=2, theta="10 deg")`

→ **beta_deg = 39.31393184, M2 = 1.640522229, p2_p1 = 1.706578604, T2_T1 = 1.170151284, rho2_rho1 = 1.458425613, p02_p01 = 0.9846440225, Mn1 = 1.267138036**

<details><summary>Steps</summary>

- Oblique shock from the deflection angle: M1 = 2, theta = 10 deg → beta_deg = 39.31393184, M2 = 1.640522229, p2_p1 = 1.706578604, T2_T1 = 1.170151284, rho2_rho1 = 1.458425613, p02_p01 = 0.9846440225, Mn1 = 1.267138036

</details>

**Critical Mach number of an airfoil** · _Aerodynamics_

> Critical Mach: Cp0 = -0.43, rule = prandtl-glauert

→ **M_cr = 0.7371059142, Cp_cr = -0.6363043586**

<details><summary>Steps</summary>

- Critical Mach number of an airfoil: Cp0 = -0.43, rule = prandtl-glauert → M_cr = 0.7371059142, Cp_cr = -0.6363043586

</details>

## Figures

Every point was computed by `aerospace-engineering-ai999x`.

**The standard atmosphere: temperature with altitude**

![The standard atmosphere: temperature with altitude — computed by aerospace-engineering-ai999x](https://huggingface.co/AI999X/aerospace-engineering-ai999x/resolve/main/figures/aero-isa-properties-profile.svg)

_Temperature of the International Standard Atmosphere from 0 to 47 km, 95 altitudes computed by the package (it covers the atmosphere to 47 km): 288.15 K at sea level, the tropospheric lapse to 216.774 K at 11 km (marked), the isothermal layer (coldest computed point 216.65 K at 11.5 km) and the warming stratosphere, 269.684 K at 47 km._

**Ground speed around the compass in a wind**

![Ground speed around the compass in a wind — computed by aerospace-engineering-ai999x](https://huggingface.co/AI999X/aerospace-engineering-ai999x/resolve/main/figures/aero-wind-triangle-polar.svg)

_Ground speed for every course (5° steps) of an aircraft flying 100 m/s through a 20 m/s wind from 300°, each solved by the package's wind triangle: slowest 80 m/s heading into the wind (course 300°), fastest 120 m/s with it (course 120°, marked); largest wind correction 11.537°._

**Drag polar and the best lift-to-drag ratio**

![Drag polar and the best lift-to-drag ratio — computed by aerospace-engineering-ai999x](https://huggingface.co/AI999X/aerospace-engineering-ai999x/resolve/main/figures/aero-drag-polar-optimum-scatter.svg)

_Drag polar C_D = C_D0 + C_Di for C_D0 = 0.02, aspect ratio 10 and Oswald factor 0.8: the induced drag at 41 speeds from the package (W = 10000 N, S = 16 m², sea level); the tangent from the origin touches at the best lift-to-drag point it computes — marked: C_D = 0.04, C_L = 0.708982, L/D = 17.7245._

**The normal-shock table**

![The normal-shock table — computed by aerospace-engineering-ai999x](https://huggingface.co/AI999X/aerospace-engineering-ai999x/resolve/main/figures/aero-normal-shock-heatmap.svg)

_The normal-shock table for air (γ = 1.4): for upstream Mach numbers M₁ = 1.5, 2, 3, 4, 5 (rows, top to bottom) the downstream Mach number and the pressure, density, temperature and stagnation-pressure ratios, every cell computed by the package and each column shaded by its own largest value; at M₁ = 2: M₂ = 0.57735, p₂/p₁ = 4.5, ρ₂/ρ₁ = 2.66667, T₂/T₁ = 1.6875, p₀₂/p₀₁ = 0.720874._

**Bi-elliptic burns against a Hohmann transfer**

![Bi-elliptic burns against a Hohmann transfer — computed by aerospace-engineering-ai999x](https://huggingface.co/AI999X/aerospace-engineering-ai999x/resolve/main/figures/aero-bielliptic-transfer-bars.svg)

_The three burns of bi-elliptic transfers from a circular orbit of r₁ = 12756.3 km to 15 r₁ around the Earth, stacked, for five intermediate apoapses, against the Hohmann transfer's 2.99743 km/s, all from the package; totals r_b = 17 r₁: 2.99791 km/s; r_b = 25 r₁: 2.9904 km/s; r_b = 35 r₁: 2.97848 km/s; r_b = 45 r₁: 2.96888 km/s; r_b = 60 r₁: 2.95846 km/s._

**Ballistic entry: speed with altitude**

![Ballistic entry: speed with altitude — computed by aerospace-engineering-ai999x](https://huggingface.co/AI999X/aerospace-engineering-ai999x/resolve/main/figures/aero-ballistic-entry-velocity-profile.svg)

_Speed against altitude of a ballistic entry (m = 1000 kg, C_D = 1, A = 1 m², entry speed 7 km/s, vertical), 91 altitudes computed by the package; marked: peak deceleration 127.649 g at h = 15.6746 km, V = 4.24571 km/s._

## Capabilities

80 certified procedures. A few of them:

- **Procedures:** Absolute ceiling of a jet aircraft; Ballistic coefficient; Best lift coefficients and lift-to-drag ratios of a drag polar; Bi-elliptic transfer between circular orbits; Breguet range of a jet aircraft; Breguet range of a propeller aircraft; Burnout height and apogee of a vertical rocket; Calibrated airspeed from true airspeed; Characteristic velocity c* of a rocket propellant; Choked mass flow through a nozzle throat; Circular orbit at an altitude above the Earth; Circular-orbit altitude for an orbital period; Coverage of a satellite at an altitude; Critical Mach number of an airfoil; Delta-v of a multistage rocket; Density altitude from pressure altitude and temperature; Elliptic wing by lifting-line theory; Endurance of a jet aircraft; Endurance of a propeller aircraft at constant altitude; Escape speed at an altitude above the Earth; Fanno flow (adiabatic duct flow with friction); Fuel a jet needs for a cruise range; Geopotential height from geometric altitude; Glide ratio, angle and range …

`aerospace_engineering_ai999x.templates()` lists every question form `ask()` reads; the capability guide (PDF, every example executed) is included in this repository.

## Out of scope

- Open-ended explanation, essay writing or tutoring dialogue: it is a solver, not a chatbot.
- Questions outside its certified aerospace engineering 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 (the standard atmosphere, airspeeds, compressible flow and shocks, nozzles and rocket propulsion, rocket performance and staging, aircraft performance, static stability, propellers, wings and airfoils, orbits and re-entry); anything else is refused with a reason.
- `ask()` reads documented question forms and common phrasings; unusual wording may be refused — use `solve()` 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

```bibtex
@software{aerospace_engineering_ai999x_1_0_3,
  title  = {aerospace-engineering-ai999x: an offline, verified aerospace engineering solver},
  author = {Farabi, Ibnul Jaif}, organization = {AI999X},
  year   = {2026}, version = {1.0.3},
  url    = {https://huggingface.co/AI999X/aerospace-engineering-ai999x}
}
```

## Contact

Questions, bug reports and requests: open a discussion on https://huggingface.co/AI999X/aerospace-engineering-ai999x/discussions or visit https://ai999x.com.

## Support the project

aerospace-engineering-ai999x is free and open source. If it helps you, you can support further development on [Buy Me a Coffee](https://buymeacoffee.com/ibnuljaiffarabi).

Created and engineered by **Ibnul Jaif Farabi** · **[AI999X](https://huggingface.co/AI999X)** · [ai999x.com](https://ai999x.com)
