A radio receiver adds two gain factors, so its total gain is g(x)=2sinx+2cosx, where x is the phase angle in radians. The total gain is defined for every real x and repeats every 2π radians. It never falls below a certain least value. What is the least value of g, to three decimal places?