plot x*[(1+sin(t)+cos(t))/2-x]=cos(t)/2, pi/4<t<=pi/2, x from 0.5 to 1