CS 4 Computer Science Bootcamp

CS 4 Computer Science Bootcamp
Winter 2019

Lab 3

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 (lect03.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:


This lab does not require a report. A demo to the TA is sufficient.