CS2 Computational Thinking for Scientists - Lab 04In this lab, we will experiment with iterative Python programs for computing sums and products. We will also illustrate 3 different methods for computing Pi. Refer to class notes (lect09.pdf) for details. Also, refer to this 1-page writeup: computingPi.pdf
Individual functions and programs for implementing general sum and products, and for computing Pi are found below:
The lab report (if required) is due 5pm, Friday Feb 6.