CS2 Computational Thinking for Scientists - Lab 04

CS2 Computational Thinking for Scientists - Lab 04

In 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:

Report: This lab does not require a report. Participation is necessary and sufficient.
The lab report (if required) is due 5pm, Friday Feb 6.