-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
In the Jupyter workbook, the definition
def F(v, alpha, x2):
"Forward physics model"
return -(g/2)*((x2 / v * alpha.cos())**2) + (x2*(alpha.sin()/alpha.cos()))
is wrong. It should be (parentheses around v*cos(α) added):
def F(v, alpha, x2) -> Value:
"""
Forward physics model
"""
return -(g/2)*((x2 / (v * alpha.cos()))**2) + (x2*(alpha.sin()/alpha.cos()))
As is, the solver finds physically impossible solutions to the trajectory problem. The minimum required velocity to get to y2 is about 4.342 m/s.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels