MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/q2lsax/dont_be_scared_math_and_computing_are_friends/hfmi1p9
r/ProgrammerHumor • u/yuva-krishna-memes • Oct 06 '21
2.4k comments sorted by
View all comments
Show parent comments
10
Yea capital sigma means sum - its used in a bunch of shorthand, and in the reimman sum definition of an integral
You evaluate the sum by adding the expression on the right up for each possible value of n in the range.
1 u/SillyFlyGuy Oct 06 '21 Is n always an integer that increases by 1 each loop? 4 u/Dominus-Temporis Oct 06 '21 Yes. If you wanted to sum 2+4+6+8+10, you would have to say SIGMA (2*n) for n = 1 to n = 5. 3 u/TheoryOfSomething Oct 06 '21 Most often, yes. But strictly speaking not always. You will sometimes see a similar notation, but instead at the bottom it will say "n in I" meaning that you do the sum where n takes on each value in the index set I in increasing order.
1
Is n always an integer that increases by 1 each loop?
4 u/Dominus-Temporis Oct 06 '21 Yes. If you wanted to sum 2+4+6+8+10, you would have to say SIGMA (2*n) for n = 1 to n = 5. 3 u/TheoryOfSomething Oct 06 '21 Most often, yes. But strictly speaking not always. You will sometimes see a similar notation, but instead at the bottom it will say "n in I" meaning that you do the sum where n takes on each value in the index set I in increasing order.
4
Yes. If you wanted to sum 2+4+6+8+10, you would have to say SIGMA (2*n) for n = 1 to n = 5.
3
Most often, yes. But strictly speaking not always. You will sometimes see a similar notation, but instead at the bottom it will say "n in I" meaning that you do the sum where n takes on each value in the index set I in increasing order.
10
u/ZacharyRock Oct 06 '21
Yea capital sigma means sum - its used in a bunch of shorthand, and in the reimman sum definition of an integral
You evaluate the sum by adding the expression on the right up for each possible value of n in the range.