how to make coding for the resultant force by using adxl 335

i have a project to make calculate vibration by using adxl 335. the outcome displayed in the serial monitor are for x, y , and z. i want to display the resultant force from the sensor to be displayed as magnitude from the three axis. can some one help me to solve the problem???

any help will be great.. thank you..

The force is the mass times the acceleration, F = MA