Question: How to simplify it?

Hi,

I am a newbie in Maple. I have the following code

with(LinearAlgebra):
w := (2*Pi)/14
v := Vector([1, sin(w*t), cos(w*t)])
simplify(sum(v . (Transpose(v)), t = k .. k + 13))

Even with some less advanced CAS I get that the result is a diagonal matrix with constant elements. However, I failed to properly tune the simplify command to get such a result. What I am doing wrong?

Please Wait...