File size: 1,132 Bytes
4e50d59
7b2a8b8
 
 
 
4e50d59
7b2a8b8
4e50d59
 
 
 
7b2a8b8
 
 
d963411
7b2a8b8
 
 
 
 
 
 
 
 
 
 
 
 
 
bc376b6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
title: Projectile Motion  Deterministic + One-Sentence LLM
emoji: 🎯
colorFrom: purple
colorTo: green
sdk: gradio
sdk_version: "4.44.0"
app_file: app.py
pinned: false
---

# Projectile Motion — Deterministic Calculator + One-Sentence Explanation

A **first-principles projectile motion** calculator (no air resistance) that returns:
- All **inputs** with units: `v0` [m/s], `theta` [deg], `y0` [m], `g` [m/s^2], and **ball weight** [kg]
- **Derived results**: `t_apex` [s], `max height` [m], `time of flight` [s], `range` [m], `impact speed` [m/s]
- A **one-sentence, LLM-generated explanation** grounded strictly in the computed values.

## Scope & Assumptions
- Constant gravity `g`
- Flat landing surface at `y = 0`
- Neglects air resistance

## UI
- Sliders for inputs with validation ranges
- Two panels: (i) **All values (inputs + derived)**; (ii) **One-sentence explanation**
- ≥3 representative examples

## Notes
Educational demo; not for safety-critical use. The explainer uses a template-like prompt and the structured JSON only (no made-up numbers). Notebook and interface creation was assisted using GenAI