Question: evaluating an infinite sum or an integral on the real number line

Hi All,

 

I'm new here and to Maple and this is my first post.

 

How do I get maple to evalaute the following expression:

 

sum(exp(-1/2*(((psi-theta) + 2*pi*n) / (sigma))^2), n=1..infinity);

 

psi and theta are angles, sigma is a constant - basically psi, theta and sigma are numbers. In fact the summation is where n is a member of Z (set of integers) but I will be happy with a solution for n= 1..infinity.

 

Also

 

in maple how do I integrate a function over the real number line? For example, I want to evaluate

Int(exp(-(1/2) * (x-c)^2/d^2), x=-infinity..infinity); 

How do I do this?

It appears that I get something incomprehensible when I try to evaluate the integral noted above. But, the known result of

int(exp(-x^2), x=-infinity..infinity);

 

readily results in sqrt(pi).

 

Thank you.

Please Wait...