plot of (theta / pi) - ((1-cos(theta)) / 2) from 0 to pi