public static Momentum operator -(Momentum momentum1, Impulse momentum2) { Momentum momentum = new Momentum(); momentum.Value = momentum1.Value - momentum2.Value; return(momentum); }
public static Momentum operator *(Mass mass, Speed speed) { Momentum momentum = new Momentum(); momentum.Value = mass.Value * speed.Value; return(momentum); }