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 comentarios

Torsten
Torsten el 27 de Jun. de 2023
What does the second "sum" symbol sum over ?
Loïc M.
Loïc M. el 27 de Jun. de 2023
I don't know. Here is the complete equation
Torsten
Torsten el 27 de Jun. de 2023
Editada: Torsten el 27 de Jun. de 2023
From the equation, I don't know either. But you should try to find it out.

Iniciar sesión para comentar.

Respuestas (1)

VBBV
VBBV el 27 de Jun. de 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 comentarios

VBBV
VBBV el 27 de Jun. de 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. el 27 de Jun. de 2023
I don't know. Here is the complete equation
VBBV
VBBV el 27 de Jun. de 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];

Iniciar sesión para comentar.

Categorías

Etiquetas

Preguntada:

el 27 de Jun. de 2023

Comentada:

el 27 de Jun. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by