Additional teaching example: قَرَأْتُ الْكِتَابَ نِصْفَهُ — I read half of the book.
قَرَأْتُ: past verb; -tu is subject.
الْكِتَابَ: accusative direct object and antecedent.
نِصْفَهُ: accusative part-for-whole badal; niṣf is mudāf and -hu genitive attached pronoun.
This additional example shows that the badal restricts the intended scope to a part of the book.