Double sum with odd number

I'm not sure how to calculate this sum. Anyone has an idea, please?
n = [1:2:1000];
gamma = 1;
ss = sum(sum((2./(n.*pi)).^6.*(3.*(1 - tanh(n.*pi./(2*gamma))./(n.*pi./(2*gamma)))) - (tanh(n.*pi./(2*gamma))).^2));

3 commentaires

Torsten
Torsten le 27 Juin 2023
What does the second "sum" symbol sum over ?
Loïc M.
Loïc M. le 27 Juin 2023
I don't know. Here is the complete equation
Torsten
Torsten le 27 Juin 2023
Modifié(e) : Torsten le 27 Juin 2023
From the equation, I don't know either. But you should try to find it out.

Connectez-vous pour commenter.

Réponses (1)

VBBV
VBBV le 27 Juin 2023
n = [1:2:1000];
gamma = 1;
ss = sum(sum((2./(n.*pi)).^6.*(3.*(1 - tanh(n.*pi./(2*gamma))./(n.*pi./(2*gamma))) - tanh(n.*pi./(2*gamma)).^2)))
ss = 0.0272

3 commentaires

VBBV
VBBV le 27 Juin 2023
The image shows odd values for n in outer summation, but does not tell anything about nature of inner summation. Can you tell more about it ? Does it mean both inner & outer summation are both odd values for n, or ?
Loïc M.
Loïc M. le 27 Juin 2023
I don't know. Here is the complete equation
VBBV
VBBV le 27 Juin 2023
Ok, it looks like its double sum over odd integer values for that term as you assumed it i.e.
n = [1:2:1000];

Connectez-vous pour commenter.

Catégories

Tags

Question posée :

le 27 Juin 2023

Commenté :

le 27 Juin 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by