Melnikov functions of arbitrary order for piecewise smooth differential systems in Rn and applications | Publicación