The way to work out the height is to determine the mid-point of the base with said lateral sides. Why the mid-point?
Imagine this pyramid was thin sheet metal and you folded it out so it was flat. Your shape would be a central triangle - with sides lengths you know, and three isoceles triangles off each side of the central triangle - with side lengths each 24".
Now what happens when these three outside triangles are folded over so that there points meet to form the apex of the pyramid? For each triangle, pivoting or rotating along its base line what path does the point of the the connected traingle traverse? Image the Sun was overhead and you tracked the shadow of the point of each traingle as you folded it in - one at a time.
Being isoceles (i.e. for the vertical triangles forming the sides of the pyramid each side is 24") - so the apex of the pyramid must lie along the interone intersection of three lines, where each line must bisect at 90 degrees - exactly dividing the three edges of known size of the central triangle.
Let me say that again. The apex of the pyramid, must be at at point above the central triangle where a line bisecting each of your 3 known edges at 90 degrees meets.
Hence this point can be found and its distance from each point of the central base calculated. You can also then calculate this points distance from the mid point of each side! So now you will have two right angled triangles with a common height - a simple equation to solve to find the common height!
Alternately you could work out the distance of the base's mid points (call it M) from its the corners call them A, B and C and solve
24^2 - AM^2 = height ^2
24^2 - BM^2 = height ^2
24^2 - CM^2 = height ^2
So this hints that to be consistent the distance AM = BM = CM so its the midpoint of your triangle with three known sides. Surely you can find that? Second hint if you draw a lines from A, B or C through M - must not they respectively exactly bisect sides BC, AC, and AB?
So M must be half the length of a line coming from point A to the midpoint of side BC.
If your still stuck - check your notes on Oblique triangles e.g.
http://www.clarku.edu/~djoyce/trig/oblique.html
Let AC = 25, BC = 50 and AB = 39. Now as 50 = 25 * 2, bisect BC to get a triangle with two sides equal to 25, and its hight will be your M!
39^2 = 50^2 + 25^2 - 2*25*50*Cos C.
This will give you an isoceles triangle with two sides equal to 25"and a known angle, so you can work out the base. The height = M^ = 25^2 - (1/2 * base)^2, and the base / 25 = sin (1/2 C)