calculate_energy_physics
Calculate kinetic energy (½mv²), potential energy (mgh), mass-energy (E=mc²), or work (F·d) in joules, kilojoules, and kilowatt-hours.
Instructions
Calculate kinetic (½mv²), potential (mgh), mass-energy (E=mc²), or work (F·d). Returns: {energy_joules, energy_kj, energy_kwh}. See list_bundles for related 'science' calculators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Energy type | |
| mass_kg | No | Mass in kg | |
| velocity_ms | No | Velocity m/s (kinetic) | |
| height_m | No | Height m (potential) | |
| force_n | No | Force N (work) | |
| distance_m | No | Distance m (work) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools). | |
| formula | No | Human-readable formula or method used (e.g. "I=P·r·t", "Magnus formula"). | |
| source | No | Authoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21"). | |
| reference_url | No | Link to a calcul2 page documenting the calculation in detail. |