there is a frog inside a well 40 m deep. the frog jumps 3 m high and falls back 2m . in how many jumps will it come out of the well ? (answer is 38 ) how

In 37 jumps the frog goes up 37 meters. On the 38th jump it jumps 3 meters to the top. (He doesn't fall back since he's out of the well.

To solve this problem, we need to realize that the frog makes progress by jumping 3 meters up but also falls back 2 meters each time. Since the depth of the well is 40 meters, we can calculate the number of jumps required for the frog to come out.

Let's break it down step by step:
- Each jump covers a distance of 3 meters up and 2 meters back, so the frog makes a net gain of 3 - 2 = 1 meter per jump.
- The frog needs to cover a total distance of 40 meters to come out of the well.
- Since the frog makes a net gain of 1 meter per jump, it needs to make 40 jumps to cover the entire distance of 40 meters.

Therefore, the frog will come out of the well in 40 jumps.