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