You're probably better off trying to exchange them, second-hand bookshops tend to pay very little for books, but will be fair enough if you want to do an exchange. There's at least one secondhand bookstore on Camden St and there's a good one in Rathmines village too - don't know the names though, sorry.