Find the slant height of the square pyramid

The slant height of a square pyramid can be found using the Pythagorean Theorem.

Let's denote the slant height as "s", the height of the pyramid as "h", and the length of the base side as "a".

In a right triangle formed by the slant height, height, and half of the base side (since it is a right triangle), we can write the Pythagorean theorem as:

s^2 = h^2 + (0.5a)^2.

Therefore, the formula to find the slant height (s) of a square pyramid is:

s = sqrt(h^2 + (0.5a)^2).