Consider the function f(x)=sin(2x)-1 and g(x)= 2 cos^2(x), both with domain [0,phi]. the line x = p intersects the graph of f in point A and the graph of g in point B. calculate the value of p for which the length of segment AB is maximal. Thank you please kindly answer this question