A few( maybe 2) for loops could solve this problem.
Have a for loop, for variable " i" and "a". The equation is pretty forward,
unless you don't know what the sigma notation does.
What is the "X" variable represents? Is it the user's input ?
Reputation Points: 840
Solved Threads: 594
Senior Poster
Offline 3,864 posts
since Dec 2008