1

$$c=sqrt{(a2+b2)/2}$$