Effects of atmospheric drag in swing-by trajectory