Hot answers tagged

3

Hint: If the array is called $a$ and $N = \text{len}(a)$, then the code expresses the formula $$\left(\prod_{i=0}^{N-1} a_i\right)^{1/N}$$ Or equivalently $$\sqrt[N]{\prod_{i=0}^{N-1} a_i}$$ Extended hint: The formula is known as the geometric mean of a series of values (i.e. the array). (Wikipedia)


1

I will show two calcultions. Example: w = (4.52 ± 0.02) cm, x = ( 2.0 ± 0.2) cm, y = (3.0 ± 0.6) cm. Find z = x + y - w and its uncertainty. z = x + y - w = 2.0 + 3.0 - 4.5 = 0.5 cm METHOD 1 Delta z = Delta x + Delta y + Delta w = 0.2 + 0.6 + 0.02 = 0.82 rounding to 0.8 cm So z = (0.5 ± 0.8) cm METHOD 2 Solution with standard deviations Delta z ...



Only top voted, non community-wiki answers of a minimum length are eligible