The result of ∑(p-i)cos(iθ) ?

Status
Not open for further replies.

Roshdy

Member level 3
Joined
Nov 23, 2005
Messages
57
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Location
Egypt
Activity points
1,738
solve this formula

Dear all
I need the result of this formula

∑(p-i)cos(iθ) ,

p is a constant, i is the index run from 1 to (p-1)
 

solve this formula

By MathCAD's equation solver (with rearrangement) ...

( (1-cos(pΘ))-p(1-cos(Θ)) ) / ( 2(1-cos(Θ)) )


I'll try to verify this later, but my guess is that it's correct

Added after 4 hours 47 minutes:

That solution (numerically) holds well for Theta > 0,
but has severe problems as Theta-->0.

I'm am out of town - I welcome another's help.

If nothing else, I will put actual analytical time into this when I can. (sadly, it just can't be today)
 

    Roshdy

    Points: 2
    Helpful Answer Positive Rating
solve this formula

I was wrong - the solution is correct -
the "discontinuity" I noticed is only when theta=0, which is undefined in the solution I provided.

L'Hopital shows this singular point as (p^2 - p) / 2,
which is the same as that of the summation.

My worries were unfounded,
( (1-cos(pΘ))-p(1-cos(Θ)) ) / ( 2(1-cos(Θ)) )
is the answer.

 

    Roshdy

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…