a stone is release from a catapult with a speed of 50m/s attain a height of 100m/s .Calculate the time of flight

so its average speed was 50m/s on the way up, so time= 2 seconds. (100/50)

I assume the height was 100m.

To calculate the time of flight, we can use the kinematic equation for vertical motion:

h = u*t + (1/2)*g*t^2

Where:
h = height reached by the stone (100m in this case)
u = initial velocity (50m/s in this case)
g = acceleration due to gravity (9.8m/s^2 on Earth)
t = time of flight (what we need to find)

Rearranging the equation, we get:

(1/2)*g*t^2 + u*t - h = 0

This is a quadratic equation in terms of t. We can solve it using the quadratic formula:

t = (-b ± √(b^2 - 4ac))/(2a)

In this case, the quadratic equation can be written as:

(1/2)*g*t^2 + (u)*t - h = 0

Comparing it to the standard quadratic equation form (ax^2 + bx + c = 0), we have:
a = (1/2)*g
b = (u)
c = -h

Substituting these values into the quadratic formula, we get:

t = (-(u) ± √((u)^2 - 4*(1/2)*g*(-h))) / (2*(1/2)*g)

Simplifying further, we have:

t = (-u ± √(u^2 + 2*g*h)) / g

Plugging in the given values, we get:

t = (-(50) ± √((50)^2 + 2*(9.8)*(100))) / (9.8)

Calculating this, we will get two possible solutions for t: one positive and one negative. Since time cannot be negative, we discard the negative solution.

Therefore, the time of flight is:

t = (-(50) + √((50)^2 + 2*(9.8)*(100))) / (9.8)

Now we can calculate this expression using a calculator to find the time of flight.

If vi in the y direction is 50 we can use different equations to find t

a=-9.8
v(yi)=50
I used this equation
v(y)=(vyi)+at
at the height of the trajectory y velocity is 0
0=50+-9.8t
solve for t, this is half the time in the air. so 2t=10.2sec