This is the equation i am trying to use. Please let me know if there is something wrong. I am able to verify pitch and roll variations correctly.roll= atan(accData.fy/accData.fz);pitch= atan(-accData.fx/accData.fz);cosRoll = cos(roll);sinRoll = sin(r...