Calculate the area, perimeter, and diagonal of a square
Calculate area (s²), perimeter (4s), and diagonal (s√2) of a square from its side length.