Testing a power function. Section 1.7, page 24