Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.3K Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:

The ''except'' Wolfram Alpha linguistic

Posted 5 years ago

I want to make the summation from k=0 to 9 of 1 without the value k=2 for example and obtain the result 9 instead of 10. Is there any way I can do that? I tried sum from k=0{2} to 9 of 1. I tried sum from k= (0) && (!=2) to 9 of 1. I tried sum from k=0, Except[2] to 9 of 1. Nothing seems to be working.

POSTED BY: Remi Dyotte
Posted 5 years ago

Try this Sum using Boole

Boole is a function that will equal 1 if the condition is True and equal 0 if the condition is False.

POSTED BY: Bill Nelson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard