The sum of two numbers is their value added together. This operation is called additive summation or addition. There are many ways of writing sums, including:
- Addition (\displaystyle{ 2+4+6 = 12 })
- Summation (\displaystyle{ \sum_{k=1}^3 k = 1+2+3=6 })
- Code:
- Sum = 0
- For I = M to N
- Sum = Sum + X(I)
- Next I (in Visual BASIC)
view more...