private static double GetPosition(double s, double a, TimeSpan t) { return s + 0.5 * a * Square(t.TotalSeconds); }