acceleration calculator with force, and mass and friction