Step 1:
\The projectile is fired at an upward angle is
.
The projectile is fired from the height is
.
The speed of projectile is
.

Find the speed of the projectile when it reaches the ground
.
The vertical velocity of the projectile is
.
Substitute
and
.

.
Apply formula:
.

.
and
.

.
The total height of the cliff is
.
.
The total energy of an isolated system remains constant irrespective of whatever internal changes may take place with energy disappearing in one form reappearing in another.
\Potential energy transferred=kinetic energy gained.
\




.