comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: Re: OT: definition of "significant figures"
Date: 29 Jul 2005 16:46:36 +0200
Date: 2005-07-29T16:46:36+02:00	[thread overview]
Message-ID: <m2ek9hvfeb.fsf@hugin.crs4.it> (raw)
In-Reply-To: wtadnWiKJtOxMnTfRVn-ug@comcast.com

tmoran@acm.org writes:

> Given a set of measurements x(i), I'd like to print their average to
> the "correct" number of significant figures.  eg
>   1.11, 1.12, 1.08 => "1.1",   1.11, 1.25, 1.35 => "1"
> I've got some adhocery that more or less does it, but is there a
> moderately standard, formal, definition?

The base 10 logarithm of the standard-deviation of your measurements.

Jacob (who as a physicist admits that he may make sign and
       factor-of-two errors)
-- 
�You have to blow things up to get anything useful.�
                                  -- Archchancellor Ridcully




  reply	other threads:[~2005-07-29 14:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-29  4:23 OT: definition of "significant figures" tmoran
2005-07-29 14:46 ` Jacob Sparre Andersen [this message]
2005-07-30 23:44   ` Dr. Adrian Wrigley
2005-07-31  7:02     ` tmoran
2005-08-01  7:31     ` Jacob Sparre Andersen
2005-07-31  8:36 ` Dmitry A. Kazakov
2005-07-31 19:08   ` tmoran
     [not found] <e3nqe19bqp99h20anetgc7m63ai8ol84nv@4ax.com>
2005-08-01  4:11 ` tmoran
2005-08-01  6:50 ` tmoran
2005-08-01 16:58   ` tmoran
2005-08-01 23:56     ` tmoran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox