Do you have any examples where writing the expression for the number may lead to floating point erros, while using scientific notation does not?
For example, I always give some examples where scientific notation is useful in engineering, such as specifying the young modulus of steel and the diameter of a bar:
E = 210e9; % Pa
d = 10e-3; % m
Some studentes, however, do not understand correctly the E notation, so many of them declare the variables as:
E = 210*10^9; % Pa
d = 10*10^-3; % m
Although I try to talk about how the E notation is easier to read, faster to type etc., some students still specify variables to big or to small by multiplying it to 10 raised to n power.
I also try to explain that declaring the variables as such involves evaluating the power and multiplication, that may lead to floating point error arithmetics.
Do you know any examples where declaring the variables as such, instead of using the E notation, would lead to an erroneous declaration in the variables?