Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,12 +1,30 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Projectile Motion — Deterministic + One-Sentence LLM
|
| 3 |
+
emoji: 🎯
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: "4.44.0"
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Projectile Motion — Deterministic Calculator + One-Sentence Explanation
|
| 13 |
+
|
| 14 |
+
A **first-principles projectile motion** calculator (no air resistance) that returns:
|
| 15 |
+
- All **inputs** with units: `v₀` [m/s], `θ` [deg], `y₀` [m], `g` [m/s²], and **ball weight** [kg]
|
| 16 |
+
- **Derived results**: `t_apex` [s], `max height` [m], `time of flight` [s], `range` [m], `impact speed` [m/s]
|
| 17 |
+
- A **one-sentence, LLM-generated explanation** grounded strictly in the computed values.
|
| 18 |
+
|
| 19 |
+
## Scope & Assumptions
|
| 20 |
+
- Constant gravity `g`
|
| 21 |
+
- Flat landing surface at `y = 0`
|
| 22 |
+
- Neglects air resistance
|
| 23 |
+
|
| 24 |
+
## UI
|
| 25 |
+
- Sliders for inputs with validation ranges
|
| 26 |
+
- Two panels: (i) **All values (inputs + derived)**; (ii) **One-sentence explanation**
|
| 27 |
+
- ≥3 representative examples
|
| 28 |
+
|
| 29 |
+
## Notes
|
| 30 |
+
Educational demo; not for safety-critical use. The explainer uses a template-like prompt and the structured JSON only (no made-up numbers).
|