How to fill Table with with for sentence?

Posted 1 year ago
2496 Views
|
|
1 Total Likes
|
 So i have this code, and I have Fx and Fy as components of force vector and rx and ry as move vector (x,y components). I don't have any issue with Force vector, but i would like to fill rx and ry vector with this form of data for n components: rx1=l/2 * Sin [fi1], rx2=l * Sin [fi1] + l/2 * Sin [fi2] rx3=l * Sin [fi1] + l * Sin [fi2] + l/2 * Sin [fi3] and so on (I hope that pattern is recognizable, and for ry is the same only with cosines)To write this by hand would take me too much time, so I am trying to use for sentence, but I am assuming I would use at least two FOR sentences and I have no idea how to do that.You probably see where the problem is: each next element should have 1 element than the one before.Thanks for your help. Attachments:
 Can you adapt this `n=3; rx=Table[Sum[If[j