a) = (d1-d0)/(s 1/nx+1/ny)