A pendulum bob of mass m is suspended by a massless string and at rest when string is vertical. A constant horizontal force F = mg starts acting on it. The value of tension in string is T=mg[x√2−2] when string makes 45°with the vertical, then the value of x is