Finding final speed of an object
println(finalspeed(2,4,8)), final speed = 6.928203
after giving the displacement, initial velocity, and acceleration, this function will give you the object's final velocity
float finalspeed (float x, float Vo, float a)
##Parameters: float x = displacement float Vo = initial velocity float a = acceleration
##Returns: float
##Other notes: uses the equation (Vf)^2 = (Vi)^2 + 2ax