Science students must deal with the errors inherent to all physical measurements and be conscious of the need to express them as a best estimate and a range of uncertainty. Errors are routinely classified as statistical or systematic. Although statistical errors are usually dealt with in the first years of science studies, the typical approaches are based on manually performing repetitive observations. Our work proposes a set of laboratory experiments to teach error and uncertainties based on data recorded with the sensors available in many mobile devices. The main aspects addressed are the physical meaning of the mean value and standard deviation and the interpretation of histograms and distributions. The normality of the fluctuations is analyzed qualitatively by comparing histograms with normal curves and quantitatively by comparing the number of observations in intervals to the number expected according to a normal distribution and also by performing a chi-squared test. We show that the distribution usually follows a normal distribution; however, when the sensor is placed on top of a loudspeaker playing a pure tone, significant differences with a normal distribution are observed. As applications to every day situations, we discuss the intensity of the fluctuations in different situations such as placing the device on a table or holding it with the hands in different ways. Other activities are focused on the smoothness of a road quantified in terms of the fluctuations registered by the accelerometer. The present proposal contributes to gaining a deep insight into modern technologies and statistical errors and, finally, motivating and encouraging engineering and science students.

1.
John R.
Taylor
,
An Introduction to Error Analysis: The Study of Uncertainties in Physical Measurements
, 2nd ed. (
University Science Books
,
Sausalito
,
1997
).
2.
Ifan G.
Hughes
and
Thomas P. A.
Hase
,
Measurements and Their Uncertainties: A Practical Guide to Modern Error Analysis
(
Oxford U. P
.,
Oxford
,
2010
).
3.
BIPM, IEC, IFCC, ILAC, ISO, IUPAC, IUPAP, and OIML,
Evaluation of Measurement Data—Guide to the Expression of Uncertainty in Measurement
(
International Organization for Standardization
,
Geneva
,
2008
).
4.
Barry N.
Taylor
,
J.
Peter
, and
M.
Douma
, “
The NIST reference on constants, units, and uncertainty
,” <https://nist.physics.nist.gov/cuu/>.
5.
American Association of Physics Teachers
, “
AAPT recommendations for the undergraduate physics laboratory curriculum
,” AAPT Resources, Report (
2014
), pp.
3
18
.
6.
I. M.
Meth
and
L.
Rosenthal
, “
An experimental approach to the teaching of the theory of measurement errors
,”
IEEE Trans. Educ.
9
,
142
148
(
1966
).
7.
E.
Mathieson
and
T. J.
Harris
, “
A student experiment on counting statistics
,”
Am. J. Phys.
38
,
1261
1262
(
1970
).
8.
P. C. B.
Fernando
, “
Experiment in elementary statistics
,”
Am. J. Phys.
44
,
460
463
(
1976
).
9.
Arvind
,
P. S.
Chandi
,
R. C.
Singh
,
D.
Indumathi
, and
R.
Shankar
, “
Random sampling of an alternating current source: A tool for teaching probabilistic observations
,”
Am. J. Phys.
72
,
76
82
(
2004
).
10.
Tadeusz
Wibig
and
Punsiri
Dam-O
, “
‘Hands-on statistics’–empirical introduction to measurement uncertainty
,”
Phys. Educ.
48
(
2
),
159
168
(
2013
).
11.
K. K.
Gan
, “
A simple demonstration of the central limit theorem by dropping balls onto a grid of pins
,”
Eur. J. Phys.
34
(
3
),
689
693
(
2013
).
12.
Martín
Monteiro
,
Cecilia
Cabeza
, and
Arturo C.
Martì
, “
Exploring phase space using smartphone acceleration and rotation sensors simultaneously
,”
Eur. J. Phys.
35
(
4
),
045013
(
2014
).
13.
Martín
Monteiro
,
Cecilia
Cabeza
, and
Arturo C.
Marti
, “
Acceleration measurements using smartphone sensors: Dealing with the equivalence principle
,”
Rev. Bras. Ens. Fis.
37
,
1303
(
2015
).
14.
Rebecca
Vieyra
and
Chrystian
Vieyra
, “
Physics toolbox suite
,” available at <https://www.vieyrasoftware.net> (accessed on November 11,
2020
).
15.
S.
Staacks
,
S.
Hutz
,
H.
Heinke
, and
C.
Stampfer
, “
Advanced tools for smartphone-based experiments: Phyphox
,”
Phys. Educ.
53
(
4
),
045009
(
2018
).
16.
P. M.
Harikrishnan
and
Varun P.
Gopi
, “
Vehicle vibration signal processing for road surface monitoring
,”
IEEE Sens. J.
16
,
5192
5197
(
2017
).
AAPT members receive access to the American Journal of Physics and The Physics Teacher as a member benefit. To learn more about this member benefit and becoming an AAPT member, visit the Joining AAPT page.