What is the formula to solve for the slant height of the psy triangles in a rectangular pyramid print the formula

The formula to solve for the slant height of the triangular faces in a rectangular pyramid is:

\[ \text{Slant height} = \sqrt{(\frac{1}{2} \times \text{base length})^2 + \text{height}^2} \]