s = vt - 1/2 at^2
i need you guys to rearrange this for t
It's a relatively simple quadratic equation.
Just pull s on the member on the right.
-0.5a*t^2 + v*t - s = 0.
Look for the roots. If t is a time, choose the root > 0 and argue that a time is always positive so the other solution doesn't make sense.
>>8505173
> time is always positive
So the universe just came into existence this very moment? Wait, now I have an illusion of negative time where I started typing this post... weird.
>>8505224
>Look at how smart I am
Let's just assume OP was rigorous and t is actually a variable that stands for (tau - t0) where tau is the time in general and t0 the moment we started the experience
>>8505232
Want to code the graphic or get the roots ?
To get the roots it's fucking easy mate.
delta = v^2 - 4*(-0.5a)*(-s)
x1 = (-v + sqrt(delta)) / -a
x2 = (-v - sqrt(delta)) / -a
To get a graph, you're better using your Texas Instruments or something like geogebra rather than Python
>>8505173
Ask your AP instructor, cunt