Skip to main content
21-Topaz II
June 9, 2016
Solved

What to do to avoid the numerical calculation error, shown in the example?

  • June 9, 2016
  • 1 reply
  • 1755 views

Numerical calculation limits.jpg

Best answer by -MFra-

Hi AD, in fact I just wanted to highlight what can happen when you do the numerical calculations. I do not expect an answer that solves the problem. So I finish the discussion attributing to me the correct answer.

Greetings

1 reply

12-Amethyst
June 13, 2016

Hi F.M. What to do? Can do this some things:

Use VPA (Variable Precision Arithmetic). For this is why any numerical software must to have some symbolic habilitates. Above image is from Maple 11, which also gives poor numerical answers. Inputs with a dot, like 0.001 tells to maple to do numerics. But if not, maple uses symbolics and give the exact answer (where can see from where the "surprise, surprise" came :-). VPA is that you can change Digits to any number.

Use another tactic, like Multi Precision Floating Point Computing. Original site is down. Here a copy for macros for handle this calculus without symoblics: Software per Calcolo Numerico

Best regards.

Alvaro.

vpa.gif

-MFra-21-Topaz IIAuthorAnswer
21-Topaz II
June 15, 2016

Hi AD, in fact I just wanted to highlight what can happen when you do the numerical calculations. I do not expect an answer that solves the problem. So I finish the discussion attributing to me the correct answer.

Greetings