Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

** Community Tip** - Your Friends List is a way to easily have access to the community members that you interact with the most!
X

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Dec 16, 2023
09:42 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Dec 16, 2023
09:42 AM

Odd summation without specific value

Hi

I want to plot this summation. I would like to do it as an 'odd summation', were I don't want it to process n=2. Is there an easy solution for this problem?

Solved! Go to Solution.

Labels:

ACCEPTED SOLUTION

Accepted Solutions

Dec 16, 2023
09:53 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Dec 16, 2023
09:53 AM

I would have interpreted "odd" so that the sums should run only over the odd numbers 1,3,5,... so n=2 would be no problem at all.

What do you mean by "plotting the sum"?

If your sum should run from 1 up to infinity (including the even numbers) I see two ways to avoid the case n=2:

1) use something like if(n=2, 0, <the expression you'd like to sum up>) in the sum

2) Let the sum run from 3 up to infinity and add the result you get for n=1

Nonetheless I would expect that n should only take od numbers as otherwise (-1)^((n+1)/2) = imaginary unit .

So maybe you are looking for something like this:

4 REPLIES 4

Dec 16, 2023
09:53 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Dec 16, 2023
09:53 AM

I would have interpreted "odd" so that the sums should run only over the odd numbers 1,3,5,... so n=2 would be no problem at all.

What do you mean by "plotting the sum"?

If your sum should run from 1 up to infinity (including the even numbers) I see two ways to avoid the case n=2:

1) use something like if(n=2, 0, <the expression you'd like to sum up>) in the sum

2) Let the sum run from 3 up to infinity and add the result you get for n=1

Nonetheless I would expect that n should only take od numbers as otherwise (-1)^((n+1)/2) = imaginary unit .

So maybe you are looking for something like this:

Dec 16, 2023
10:09 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Dec 16, 2023
10:09 AM

Hi Werner

Is there a way where I can make a summation of ONLY the odd numbers n=1,3,5,7..? That would solve my problem

I tried your second option (as I could not find a way to do the first option), but it would be nice if there was a more pretty way to do it? 🙂

Dec 16, 2023
10:46 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Dec 16, 2023
10:46 AM

@AL_10844378 wrote:

Hi Werner

Is there a way where I can make a summation of ONLY the odd numbers n=1,3,5,7..? That would solve my problem

Look at my example at the end of my previous answer.

k runs from 1 to inf and instead of n I use (2*k-1) which the are the odd numbers 1,3,5,...

Dec 16, 2023
08:05 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Dec 16, 2023
08:05 PM