optimize_launch_angle
Compute the optimal launch angle for a rocket to maximize altitude or achieve a target range. Input rocket geometry and optimization objective to receive the best angle and predicted performance.
Instructions
Optimize rocket launch angle for maximum altitude or range.
Args: rocket_geometry: Rocket geometry parameters target_range_m: Optional target range in meters optimize_for: Optimization objective ('altitude' or 'range') angle_bounds_deg: Launch angle bounds in degrees
Returns: JSON string with optimization results including optimal angle and resulting performance metrics.
Raises: No exceptions are raised directly; errors are returned as formatted strings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rocket_geometry | Yes | ||
| target_range_m | No | ||
| optimize_for | No | altitude | |
| angle_bounds_deg | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |