integration accuracy

integration accuracy - Wrong numerical answer for simple integration of 1/ln(x) - Сообщения

#1 Опубликовано: 22.05.2017 18:28:13
Joey Ooi

Joey Ooi

0 сообщений из 4 понравились пользователям.

Группа: User


The integral of 1/(ln(x) with limits of x from 2 to 1000 does not agree with mathlab or maxima --
The numerical value of the following integration is off -- should be 176.56 and Smath gives 177.1
Any idea what could be the problem?
Thanks
Joey Ooi

#2 Опубликовано: 22.05.2017 18:50:40
Davide Carpi

Davide Carpi

1417 сообщений из 2873 понравились пользователям.

Группа: Moderator

Hello [userlink]Joey Ooi[/userlink],

You have to set a better accuracy in the global options (tools >> options >> calculation)

2017-05-22 23_48_28-SMath Studio - [Page1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Опубликовано: 22.05.2017 21:32:54
Joey Ooi

Joey Ooi

0 сообщений из 4 понравились пользователям.

Группа: User

Thank you for your quick and accurate response Davide.
It was very helpful indeed.
Best regards
Joey
#4 Опубликовано: 23.05.2017 07:53:55
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Any idea what could be the problem?



Smath Simpson iterative integrator is known to range from
exact [sometimes] to poor. Increasing accuracy is fine in
this example but will not converge in other instances like
in the Fourier Quantum double integral. You can rescue
your example using the attached Romberg.
Mathematica online integrator link added.

Jean

Integrate Mathematica.sm (9 КиБ) скачан 63 раз(а).



#5 Опубликовано: 23.05.2017 08:37:48
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... revisit same work sheet for the 7 decimals !

Jean

Integrate Mathematica.sm (10 КиБ) скачан 60 раз(а).
#6 Опубликовано: 23.05.2017 08:53:58
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... like this

Romberg Integrator.gif
#7 Опубликовано: 23.05.2017 14:32:33
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

How many numerical integrators have been imagined ?
1+1+1+... Even Mathcad aren't so easy to deal with.
This visit is worth the time spent.

Jean

Fourier Quantum CoC Model.sm (36 КиБ) скачан 56 раз(а).
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений