function tau = external_torque(t)
    if t <= 5
        tau = [3.00; 0.00; 0.00];
    elseif t <= 10
        tau = [-3.00; 0.00; 0.00];
    else
        tau = [0;0;0];
    end
end
