Linear systems theory and introductory algebraic geometry