Linear and Nonlinear Properties of Nanostructures