forces calculation