Exactly solvable problems in condensed matter and relativist