Edit: Addressing your edit, the capital gains calculation is literally what the comment (by usaar333) before me asked about:
> I'm not even sure how they calculate capital gain. If I do maintenance on my house, are the authors viewing that as raising the basis?
Edit: Addressing your edit, the capital gains calculation is literally what the comment (by usaar333) before me asked about:
> I'm not even sure how they calculate capital gain. If I do maintenance on my house, are the authors viewing that as raising the basis?