int root(2-2cos t) dt t from 0 to pi