Studies Of Complex Systems In Condensed Matter Physics And Economics