A stone is thrown upward to just reach the top of a palm tree that is 3.0 meters tall, calculate the initial speed that is required. (B) How long does it take to just reach the top?

(A) v^2 = 2gs

now, with that v,
(B) v-gt = 0