Consider the functionf(x)=(1x)2x2, where x>0At what value of x does the function attain maximum value?