Given the values
vals = {380, 421, 430, 515, 498};
here are two ways to force Mathematica to do arithmetic on these values that produces results expressed in your computer's native floating point numbers.
Pi vals 1.*^-6
and
Pi vals 10^-6 // N
The first one works because Mathematica has an evaluation rule that in effect says: if any number in a computation is a machine floating point number, coerce the results into machine floats.
The second one does the whole computation with exact numbers (those that you show in the Solve
output you posted) and then passes the list of exact results to the numerical evaluation function N
, which coerces the exact numbers in the list into machine floats. N
can do some other things, but this is the most common way it is used. You can also write this in two other ways
N[Pi vals 10^-6]
and
N @ Pi vals 10^-6
That is, N
can be written as a standard function, a pre-fixe operator, or a post-fix operator.
Note that there is no need to use Solve
or Map
to make this simple numeric computation across a list of values. Almost all the numeric functions in Mathematica have a attribute called Listable
that makes them automatically map across the elements of a list.
N[]
.${}$ $\endgroup$Solve
in the first place. Its not ever clear what you are intending. $\endgroup$