Lectures on nonlinear physics