A Sample Computation
Consider the problem of summing a sequence of numbers, x1, x2 , x3 , ..., xn: S xi
Standard solution:
The solution specifies a specific order for the summation, which is not essential
sum = 0;
for (i=0;i<n;i++){
sum = sum + X[i];
};
Previous slide
Next slide
Back to first slide
View graphic version