SMath Studio Forum
»
SMath Studio
»
Questions
»
Error of a function with Summation
Rank: Member Groups: Registered
Joined: 15/05/2016(UTC) Posts: 22 Location: Daejeon Was thanked: 1 time(s) in 1 post(s)
|
Hi! I'm a novice for SMath. I'm porting a Mathcad 15 file to SMath. I found that the SMath function with Summation has some error. There are difference between the output of direct calculation and function output.(See attached pictures) Please, check it and help me. Best regards, Novice question01.sm (8kb) downloaded 25 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/02/2014(UTC) Posts: 67 Was thanked: 13 time(s) in 11 post(s)
|
Looks like a bug. If you right click DD(0), and change the optimization to symbolic, it gives the right answer.
|
1 user thanked Ernesto for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Define as a function of an argument and use eval(,)
|
|
|
|
Rank: Member Groups: Registered
Joined: 15/05/2016(UTC) Posts: 22 Location: Daejeon Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: Ernesto Looks like a bug. If you right click DD(0), and change the optimization to symbolic, it gives the right answer.
Thank you! Whenever I got'the error message, "Result is above max. allowed positive number", I'll try to change the option.
|
|
|
|
Rank: Member Groups: Registered
Joined: 15/05/2016(UTC) Posts: 22 Location: Daejeon Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: Jean Giraud Define as a function of an argument and use eval(,) Thank you Jean, it is great hint for me. I've tried to use 'eval' function for the output of summation function as like you. But I got another results.(See attached sample file) Would you mind check and help me? question01_b.sm (11kb) downloaded 19 time(s).Edited by user 18 May 2016 08:50:05(UTC)
| Reason: Not specified
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
You forgot to index λ
|
1 user thanked Jean Giraud for this useful post.
|
|
|
Rank: Member Groups: Registered
Joined: 15/05/2016(UTC) Posts: 22 Location: Daejeon Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: Jean Giraud You forgot to index λ Dear Jean, Thank you very much for kind correction! Your timely comments enlightened me in the darkness!!
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Error of a function with Summation
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.