Fuck it, 18
They see me trollin', they hatin'.
vo=14m/s
θ°=45 degrees
yo=0
find R
The motion of an object moving near the surface of the earth can be described using the equations:
(1): x = xo + vxo·t
(2): y = yo + vyo·t - 0.5·g·t2
The calculator solves these two simultaneous equations to obtain a description of the ballistic trajectory. The horizontal and vertical components of initial velocity are determined from:
vxo = vo·cos θ
vyo = vo·sin θ
Then the calculator computes the time to reach the maximum height by finding the time at which vertical velocity becomes zero:
vy = vyo - g·t
trise = vyo/g
Maximum height is obtained by substitution of this time into equation (2).
h = yo + vyo·t - 0.5·g·t2
Next, the time to fall from the maximum height is computed by solving equation (2) for an object dropped from the maximum height with zero initial velocity.
0 = h - 0.5·g·t2
tfall = √(2·h/g)
The total flight time of the projectile is then:
tflight = trise + tfall
From this, equation (1) gives the maximum range:
range = vxo·tflight
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GMU/S d++ s+: a--- C++++$ !U- P L--- E-- W+++$ N- !o+ K- w++++>$ O--- !M-- !V+ PS+++ PE Y- PGP+ t+ 5++ X R+++ tv++ b++++ DI D++ G+++ e h+ r+ y++
------END GEEK CODE BLOCK------