Ejemplo n.º 1
0
 public static Distance DistanceTravelledUnderConstantAcceleration(Velocity initialVelocity, Acceleration acceleration, TimeSpan time)
 {
     return(Velocity.DistanceTravelled(initialVelocity, time) +
            new Distance(0.5 * acceleration.MetresPerSecondPerSecond * Math.Pow(time.TotalSeconds, 2)));
 }
Ejemplo n.º 2
0
 public static Distance DistanceTravelled(Velocity velocity, TimeSpan time)
 {
     return(new Distance(velocity.MetresPerSecond * time.TotalSeconds));
 }