CS 135/Additional Materials/Chapter 2

From Worcester State University Computer Science Department Wiki
< CS 135‎ | Additional Materials
Revision as of 17:31, 20 September 2016 by Finn McCool (Talk | contribs) (Section 2.2 What is PI?)

Jump to: navigation, search

Resources are grouped by sections of the chapter. When adding a new resource, please try to add it to the appropriate section.

Section 2.1 Objectives

Section 2.2 What is PI?

Pi. https://www.mathsisfun.com/numbers/pi.html 9/20/16 created in 2014 If you want more info on pi and how it works this webpage is easy to follow and read, and will give you a little better understanding of pi than the text book does. Finn McCool

Section 2.3 More about the math Module

Section 2.4 The Archimedes Approach

Section 2.4.1 The Python Implementation

Section 2.4.2 Developing a Function to Compute Pi

Section 2.5 Accumulator Approximations

Section 2.5.1 The Accumulator Pattern

Section 2.5.2 Summation of Terms: The Leibniz Formula

Section 2.5.3 Product of Terms: The Wallis Formula

Section 2.6 A Monte Carlo Simulation

Section 2.6.1 Boolean Expressions

Section 2.6.2 Compound Boolean Expressions and Logical Operators

Section 2.6.3 Selection Statements

Section 2.6.4 Completing the Implementation

Section 2.6.5 Adding Graphics

Section 2.7 Summary