Question: simple program in MAPLE

Dear All,

Please can someone help me in writing the Maple program for the following, I am stuck :

theta(n):=((beta*a)/(Pi))*(A1(n)+A2(n)

with

A1(n)=(sin((n+1)*beta/2))/((n+1)*beta/2)

A2(n)=1 for n=1

A1(n)=(sin((n+1)*beta/2))/((n+1)*beta/2)

A2(n) = (sin((n-1)*beta/2))/((n-1)*(beta/2))           for n is not equal to 1

note pls: n= 1, 3, 5,....

Thanks in advance

A.Q

Soton

Please Wait...