Hello, How can I calculate the X Y Z flux density of the magnetometer sensor to
to get one number (aka absolute field strength)
I know that it must be in this layout:
sqrt(X*X+Y*Y+Z*Z)
but I cant
figure out how to calculate it.
Any help would be great.
No, I just edited your post because when you have an asterix (*) without spaces around it, the forum software removes the asterix. You can add three back tick marks ``` before and after a line to format it as code and ignore that rule.
Are you trying to figure out where the sqrt function is in Thunkable, or how to get the X, Y and Z values from the mobile device?
Great! I think you were using the pi (π) block which has an option for sqrt(2). That’s a static value… the square root of 2 is useful in math. But it doesn’t let you take the square root of other values.