This gives me a solution of 3sqrt28 053. The length of a diagonals is the distance between any pair of opposite vertices. Subtract 2 - w and y - Square the differences and then add the squares.
This library used for manipulating multidimensional array in a very efficient way.
Use the distance formula to determine the distance between the two points. In simple terms Euclidean distance is the shortest between the 2 points irrespective of the dimensions. In this article to find the Euclidean distance we will use the NumPy library. The side length of the square is the distance between any two adjacent vertices.