Message Boards Message Boards

0
|
16998 Views
|
4 Replies
|
4 Total Likes
View groups...
Share
Share this post:

Sum over two variables

Posted 11 years ago
How can I find The sumation Of:
2s+t
where: (s) is go from 1 to 10 ,,, And ( t) is go from  1 to 10 . And there is another condition {(s) dosn't equal to (t+1)}
I am looking eorward to recieve the soluation ..Thank you, 
POSTED BY: Ahmed Al-Ali
4 Replies
Thank you its work well
POSTED BY: Ahmed Al-Ali
Easy task with Wolfram|alpha - here is the LINK:

POSTED BY: Sam Carrettie
Wolfram Alpha speaks Mathematica so

sum Boole(s != t+1)*(2*s + t) from s = 1 to 10, t = 1 to 10

works
POSTED BY: Frank Kampas
Sum[2 s + t, {t, 1, 10}, {s, 1, 10}]
Sum[Boole[s !=  t + 1]*(2 s + t), {t, 1, 10}, {s, 1, 10}]
POSTED BY: Frank Kampas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract