Measuring angle on platform over long periods of time

Would this work: Imagine you install the 6050 with z axis vertical, y axis across the beam and x axis fore/aft. You then take a straight average of the x, y & z values over the long period. Use pythagoras on the x & y averages to work out the magnitude of the vector in the horzontal plane. Then use trigonometry to calculate the angle to the vertical using the result and the z average.