s 522 Adjusted net cost
The amount of the adjusted net cost in relation to a dwelling-house is— where— S is the starting expenditure attributable to the dwelling-house, P is the amount of any proceeds from the balancing event, I is the number of days in the relevant period of ownership on which the dwelling-house was a qualifying dwelling-house, and R is the number of days in the whole of the relevant period of ownership.