Calculation of the energy of binding of titanium and scandium complexes to the surface of carbon nanotubes