I have equations of motion for a projectile with air resistance: where q = [x; y]
m \ddot{q_1} = -k \dot{q_1}
m \ddot{q_2} = -k \dot{q_2} - mg
I need to convert it into state space form, with the state X = [q; \dot{q}]. I'm told state-space form is a first order vector ODE: \dot{X} = [\dot{q}...