<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV>Hi,</DIV><DIV> </DIV><DIV>-->a=(0.5*44100)/343<BR> a =</DIV><DIV> 64.285714</DIV><DIV>-->b=(a/44100)*343<BR> b =</DIV><DIV> 0.5</DIV><DIV>-->b-0.5<BR> ans =</DIV><DIV> 1.110D-16</DIV><DIV> </DIV><DIV>Result isn't exact and it's weird if we expect "perfection" from computers.</DIV><DIV> </DIV><DIV>From a "mathematical" point of view, yes, it's weird.</DIV><DIV>From a more "technical" point of view ( my point of view), you have to deals with precision when you do some measurements</DIV><DIV>on parts, so the only question i ask is : do i have enought precision in my computation to manage these results.</DIV><DIV> </DIV><DIV>if you manage "sounds" ( 44100 ?!!), do you need a perfect "mathematical" result ?</DIV><DIV> </DIV><DIV>Rounding error isn't a Scilab particularity.</DIV><DIV>All compu
sion"</DIV><DIV> </DIV><DIV>when i deals with stress and strain, i don't need to have more than 1d-3 of precision on results</DIV><DIV>so computation on 1d-8 data is sufficient for me, FEA software deals with that precision ( sometimes less)</DIV><DIV> </DIV><DIV>It's a great concept to teach to student, a base in numerical analysis.</DIV><DIV>"Don't expect perfection from codes."</DIV><DIV> </DIV><DIV>You can do computation on great clusters, on supercomputer, on your home computer.</DIV><DIV>these machines don't forget data, unlike YOU</DIV><DIV>these machines can compute faster than YOU</DIV><DIV>these machine have more memory than YOU</DIV><DIV>but </DIV><DIV>YOU feed the machine with data</DIV><DIV>YOU feed the machine with code</DIV><DIV>YOU know that perfection doesn't exist ( except me of course ;-))</DIV><DIV>YOU know that you can make mistakes</DIV><DIV>the machine don't know that.</DIV><DIV> </DIV><DIV>Then lesson is : Be Smart.</DIV><DIV>Smar
>Smart in your "data feeding"</DIV><DIV>Smart in your needs</DIV><DIV> </DIV><DIV>The machine can't be smart for you.</DIV><DIV>So on some reports, we should stamp " Best viewed with a brain"</DIV><DIV> </DIV><DIV>regards,<BR>----------------------------------------------------------------------<BR>Michel<BR></DIV><DIV> </DIV><DIV>PS : Easy to say, i have to confess that i'm not the last to complain about computer.</DIV><DIV>Please Santa give me a better computer.</DIV><DIV>i don't need a better brain, i'm perfect ;-)) </DIV></FONT>