Can't Solve Gamma(x)

Can't Solve Gamma(x) - Сообщения

#1 Опубликовано: 12.06.2017 12:04:43
Jean Giraud

Jean Giraud

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

Группа: User

Can't understand the error message.
What's the mystic behind Smath Gamma(x) ?
Code looks inadequate for user.

Jean


Maths Gamma(x) Unsolvable.sm (14 КиБ) скачан 38 раз(а).
#2 Опубликовано: 12.06.2017 13:24:33
Davide Carpi

Davide Carpi

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

Группа: Moderator

Hello Jean,

there's no mystic, Gamma() in SMath Studio is an approximated function, defined for not-null positive values. In your X(4) you have to initialize u[1] with a small value to not hurt the first iteration in the loop.

2017-06-12 18_21_29-SMath Studio - [Maths%20Gamma(x)%20Unsolvable.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Опубликовано: 12.06.2017 13:47:03
Jean Giraud

Jean Giraud

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

Группа: User

Thanks Davide, solves well now !
Any way to improve the approximation ?

Cheers ... Jean
#4 Опубликовано: 12.06.2017 14:54:45
Davide Carpi

Davide Carpi

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

Группа: Moderator

Wrote

Any way to improve the approximation ?



Yep, by changing the algorithm

I found this interesting (just a fast search over big G).



If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений