Sorry don't look at this side much hehe. Isn't it nice having an economsit on tap.
Sunk cost is more of an accounting term, if I'm not mistaken, but in an economic sense a sunk cost doesn't directly affect your opportunity cost as you have already incurred it, and so your decision on what to do next doesn't take into account what you have already done; even if you are then trying to recoup the cost of the transaction you have just completed and turned into a sunk cost. I don't like sunk costs, so:
Looking at it in a game theory setting, the first round of the game is whether you purchase the books or not, so your opportunity cost is the money you spend on the books and the time involved in purchasing the books. The second round of the game is determined by whether you purchased the books or not; if you did, your opportunity cost of the next decision (which I'm assuming is something relating to selling the books back) becomes the time and effort of selling the books and the utility of having vs not having the books. If you can't sell them back for the same price you paid for them, and you know this upon initially purchasing the books, the opportunity cost of purchasing the books then includes the difference between what you will pay and what you expect to get in return.
So what I'm basically saying is if you don't want to learn, don't buy the books. See, economics is useful kids!