Replace "thru" with "through" everywhere.

thru is informal.  IMO, not appropriate for a textbook.