A grasshopper leaps into the air from the edge of a cliff at a 47 degree angle. He reaches a maximum height 6.49 cm above the top of the cliff and travels a total horizontal distance of 1.02 m. How tall is the cliff and what is the initial speed of the grasshopper?

I've been at this and have not managed to figure it out exactly. I keep getting apparently wrong answers.

I tried looking at formulas and other similar questions answered with different values. When I try the same formulas with these numbers I get the wrong answer so I think I am doing it wrong. The final answer I got for the height of the cliff was 4.61m.

find the vertical launch velocity (v) ... m g h = 1/2 m v^2 ... v^2 = 2 g h

... v = √(2 * 9.81 * .0649) ... m/s

launch velocity (V) = v / sin(47º)

use the launch angle to find the horizontal velocity (h)
... h = V cos(47º)

use the total horizontal distance and the horizontal velocity
... to find the flight time

find the time to maximum height

flight time minus time to max height
... is the time to fall to the bottom of the cliff

fall height minus 6.49 cm is the cliff height

be aware of the units and significant figures

To solve this problem, we can use the equations of projectile motion. First, let's break down the given information:

Angle of inclination (θ) = 47 degrees
Maximum height (h) = 6.49 cm = 0.0649 m
Horizontal distance (d) = 1.02 m

Now, let's find the height of the cliff (H) and the initial speed of the grasshopper (v0).

1. Finding the height of the cliff (H):
At the maximum height of the grasshopper's trajectory, the vertical component of its velocity (vy) is zero. We can use the equation vy^2 = v0^2 * sin^2(θ) - 2 * g * h, where g is the acceleration due to gravity (-9.8 m/s^2).

Since vy = 0 at maximum height, the equation becomes 0 = v0^2 * sin^2(θ) - 2 * g * h. Rearranging the equation and solving for h gives us:
h = v0^2 * sin^2(θ) / (2 * g)

Substituting the given values:
0.0649 m = v0^2 * sin^2(47°) / (2 * 9.8 m/s^2)

Solving for v0^2:
v0^2 = (0.0649 m * 2 * 9.8 m/s^2) / sin^2(47°)
v0^2 = 4.382 m^2/s^2

Taking the square root:
v0 ≈ 2.093 m/s

2. Finding the height of the cliff (H):
To find the height of the cliff (H), we can use the equation H = h + d * tan(θ), where H is the cliff height and d is the horizontal distance.

Substituting the given values:
H = 0.0649 m + 1.02 m * tan(47°)
H ≈ 1.449 m

Therefore, the cliff is approximately 1.449 meters tall, and the initial speed of the grasshopper is approximately 2.093 m/s.