Problem with summation 2

Problem with summation 2 - Messages

#1 Posted: 1/10/2011 10:47:49 PM
Guest

Guest

0 likes in 52 posts.

Group: User

problem lies in the parsing of t[1,2] * t[2,1] while being used inside sum and also product functions.

It's fine if either term has both indices the same, but if both have different indices, it squares the first term.

Hence, in the example, 8*8 = 64 leading to the error in the output of the sum.


Result is ok if you use determinant(t) instead of specifying individual terms.
#2 Posted: 1/11/2011 6:33:37 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello,

It seems you are right (I check that out) but I think this is definitely a bug. The summation operator should not work this way.
Here is another example:
[MATH=eng]t←mat(1,2,1,0,2,2)[/MATH]
[MATH=eng]el(t,1,1)/{el(t,1,2)*el(t,2,1)}=0.5[/MATH]
[MATH=eng]sum((el(t,1,1)/{el(t,1,2)*el(t,2,1)}),n,1,1)=0.25[/MATH]
Andrey should clarify this behavior as soon as he can.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 1/12/2011 12:20:55 PM
PaoloM

PaoloM

0 likes in 5 posts.

Group: User

I am also experiencing problems with the summation (function in the summation)




#4 Posted: 1/12/2011 1:46:50 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello,
Wrote

I am also experiencing problems with the summation (function in the summation)


What did you mean by that? Could you explain please.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#5 Posted: 1/13/2011 4:47:37 AM
PaoloM

PaoloM

0 likes in 5 posts.

Group: User

Hi Radovan,

Thanks for your help. I am a Mathcad user. I am trying to see if it is possible to swap on SMathStudio.
Yesterday I made a test with a simple Mathcad file.
Please give me your mail address and I will send you both Mathcad and SMathStudio files.

Thks, bye
#6 Posted: 1/13/2011 5:04:07 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello,
Wrote

Hi Radovan,Please give me your mail address and I will send you both Mathcad and SMathStudio files.


You can see the e-mail in my profile.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
  • New Posts New Posts
  • No New Posts No New Posts