A method for calculating the square root of the sum of two squared variables by a piecewise linear approximation is presented. Simplicity is obtained by restricting the number of 1s in the hard-wired coefficients and by using well suited intervals for the linear approximation. To obtain a small minimax error, a constant gain is introduced and optimised along with the coefficients.