Calculating force with given acceleration and mass