integrate from 0 to pi of |cos t| dt