Hi,
You could indeed do an analysis that way. Actually that kind of thing is
also done when measuring something and one has to know the error in the
measurement. Taking in account the accuracy of measuring equipment and the
kind of operation you (multiplying, addition etc) you can the tell what the
error range is (like I measured 5V +/- 0.5V.
It is a lot of work though.
Regards, Ron AF Greve
http://www.InformationSuperHighway.eu
"Peng Yu" <> wrote in message
news:79a1bfec-580f-4b2d-9223-...
> On Sep 13, 4:48 pm, "Ron AF Greve" <ron@localhost> wrote:
>> Hi,
>>
>> Consider a machine where the smallest number that can be represented is
>> 0.0001
>>
>> Lets asume I have the following calculation (lets assume the 0.00005
>> would
>> be the result of some calculaton).
>> 0.0001 -0.00005 - 0.00005
>> Now it is obvious that this should result in zero. However the last two
>> results would be zero since the machine can only have up to four digits
>> behind the dot. So what should be zero is actually 0.0001 so a correct
>> value
>> for a multiplier for epsilon would be 0.0002. Reasoning 0.0001 < 0.0002
>> therefore it is zero?
>>
>> Consider then the following
>>
>> The same formula only we also divide by 0.0001 afterwards
>> ( 0.0001 -0.00005 - 0.00005 ) / 0.0001 = 1 However the one actually
>> should
>> be a zero therefore our first conclusion was incorrect. A correct
>> multiplier
>> for epsilon should be 10001
>>
>> Of course one could go on, epsilons multiplier could be anything.
>>
>> Conclusion there is not a correct multiplier for epsilon. There can be
>> one
>> per formula but that is probably not very practical.
>
> I see. Then the problem is how to derive it for a particular formula.
>
> Probably, I need to write down the formula and take the derivatives of
> all its arguments, check how much errors there could be for each
> arguments. Then I would end up with a bound of the rounding error
> (epsilon is equivalent to it). Right?
>
> Thanks,
> Peng