Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Novice  
#1 Posted : 17 May 2016 21:15:15(UTC)
Novice


Rank: Member

Groups: Registered
Joined: 15/05/2016(UTC)
Posts: 22
Korea, Republic Of
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).Smath_Summation_Error.JPGMathcad15_out.JPG

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Ernesto  
#2 Posted : 17 May 2016 22:34:32(UTC)
Ernesto


Rank: Advanced Member

Groups: Registered
Joined: 03/02/2014(UTC)
Posts: 67
Nicaragua

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.

thanks 1 user thanked Ernesto for this useful post.
on 18/05/2016(UTC)
Offline Jean Giraud  
#3 Posted : 18 May 2016 05:45:38(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Define as a function of an argument and use eval(,)

Forum Sigma.gif
Offline Novice  
#4 Posted : 18 May 2016 07:32:05(UTC)
Novice


Rank: Member

Groups: Registered
Joined: 15/05/2016(UTC)
Posts: 22
Korea, Republic Of
Location: Daejeon

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Ernesto Go to Quoted Post
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.
Offline Novice  
#5 Posted : 18 May 2016 07:52:56(UTC)
Novice


Rank: Member

Groups: Registered
Joined: 15/05/2016(UTC)
Posts: 22
Korea, Republic Of
Location: Daejeon

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Define as a function of an argument and use eval(,)

Forum Sigma.gif


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).error01_b.JPG

Edited by user 18 May 2016 08:50:05(UTC)  | Reason: Not specified

Offline Jean Giraud  
#6 Posted : 18 May 2016 17:56:47(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
You forgot to index λ

Forum Sigma Index.gif
thanks 1 user thanked Jean Giraud for this useful post.
on 19/05/2016(UTC)
Offline Novice  
#7 Posted : 19 May 2016 00:58:15(UTC)
Novice


Rank: Member

Groups: Registered
Joined: 15/05/2016(UTC)
Posts: 22
Korea, Republic Of
Location: Daejeon

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
You forgot to index λ

Dear Jean,

Thank you very much for kind correction!
Your timely comments enlightened me in the darkness!!

Clap Clap
Users browsing this topic
Guest
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.