Can't Solve Gamma(x)

Can't Solve Gamma(x) - Messaggi

#1 Pubblicato: 12/06/2017 12:04:43
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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,01 KiB) scaricato 1321 volta(e).
#2 Pubblicato: 12/06/2017 13:24:33
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 Pubblicato: 12/06/2017 13:47:03
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

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

Cheers ... Jean
#4 Pubblicato: 12/06/2017 14:54:45
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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
  • Nuovi post
  • Nessun nuovo post