clc clear disp "Taylor Waller" function t = heightTime(h, v0, g) t1 = (v0 - sqrt(v0^2 - 2*g*h)) / g; t2 = (v0 + sqrt(v0^2 - 2*g*h)) / g; t = [t1, t2]; h = 100; v0 = 50; g = 9.81; t = heightTime(h, v0, g)
To embed this project on your website, copy the following code and paste it into your website's HTML: