Finding of diagonal of the correct prism is often used as the intermediate stage at the solution of more difficult tasks. The general formula is easily removed by consideration of two rectangular triangles.
The parallelogram is a quadrangle which opposite sides are parallel. The straight lines connecting it opposite corners are called diagonals. Their length depends not only on lengths of the parties of a figure, but also on sizes of corners in tops of this polygon therefore without knowledge at least of one of corners it is possible to calculate lengths of diagonals only in exceptional cases. Those are special cases of a parallelogram - a square and a rectangle.