what is constant acceleration code example
Example 1: what are constants
Constants are fixed values whose values cannot be changed during
the execution of program. We create constants in java using final keyword.
Ex : final int number = 10;
final String str = ”I love Java”;
Example 2: constant acceleration formulas
(1) v = v0 + at
(2) Δs = (1/2)(v+v0)t
(3) Δs = s0 + v0t + (1/2)a(t^2)
(4) v^2 = (v0)^2 + 2aΔs
Where...
Initial velocity = v0
Final velocity = v
Acceleration = a
Time = t
Initial position = s0
Final position = s
Displacement = Δs