First-Principles Studies On Physical And Chemical Properties Of Nanostructures