Hi Tim,
On slide 35, I believe the -1 should be eliminated in the calculation of iend because the for loop terminates using a strictly less than comparison.
If you don't mind my mentioning a very minor nit, I would suggest a space after the closing paren (and before the pi) in the final summation on the last line of code. [Also on the previous slide and the next one.]
Slide 37's title has a typo: "Mulitple"
Slide 55, I believe the -1 should be eliminated in the calculation of iend.
And, on the same slide, I cannot resist suggesting a space after the closing paren (and before 'iend') on the very next line.
Thanks for making these slides available. I have found them quite valuable.
Regards,
Paul
Hi Tim,
On slide 35, I believe the
-1should be eliminated in the calculation ofiendbecause theforloop terminates using a strictly less than comparison.If you don't mind my mentioning a very minor nit, I would suggest a space after the closing paren (and before the
pi) in the final summation on the last line of code. [Also on the previous slide and the next one.]Slide 37's title has a typo: "Mulitple"
Slide 55, I believe the
-1should be eliminated in the calculation ofiend.And, on the same slide, I cannot resist suggesting a space after the closing paren (and before 'iend') on the very next line.
Thanks for making these slides available. I have found them quite valuable.
Regards,
Paul