Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
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 (15kb) downloaded 17 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,639 Location: Italy Was thanked: 1323 time(s) in 873 post(s)
|
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. Edited by user 15 June 2017 20:09:17(UTC)
| Reason: marked as SOLVED (not a bug) |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Thanks Davide, solves well now ! Any way to improve the approximation ?
Cheers ... Jean
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,639 Location: Italy Was thanked: 1323 time(s) in 873 post(s)
|
Originally Posted by: Jean Giraud 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 consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.