Elementary and Intermediate Algebra: Concepts & Applications (6th Edition)

Avg = h/a where h is 13 hits and a is 24 at bats. $Avg=13\div24=0.541\overline6\approx0.542$