Thursday, May 29th
Today in class we will share solutions to the exercises in Section 5.1: Sets.
I'll start things off by sharing how we can use python to help us work with sets.
Investigate!
-
- (a) >>> len(range(3, 16))
- (b) >>> len(range(3, 201))
- (c) >>> len([2 * n + 1 for n in range(50)])
-
>>> A = {1, 2, 3, 4, 5} >>> B = {4, 5, 6, 7, 8, 9} >>> A | B {1, 2, 3, 4, 5, 6, 7, 8, 9} >>> len(A | B) 9 >>> A & B {4, 5} >>> len(A & B) 2
-
>>> A = {1, 2, 3, 4, 5} >>> B = {3, 4, 5, 6, 7} >>> A | B {1, 2, 3, 4, 5, 6, 7} >>> len(A | B) 7 >>> A & B {3, 4, 5} >>> len(A & B) 3
-
>>> from math import comb as c >>> c(10, 2) 45
Tuesday, May 27th
We will begin class with a quiz on Section 4.2: Rate of Growth.
You will then have class time to work on presentation of solutions to the exercises you chose last week, listed here for your convenience:
You will also get back previous quizzes and be provided solutions.
Period 1B
- Eleanor and Alex: Problem 1
- Noah and Donovan: Problem 2
- Toby and Gabriel: Problem 3
- Zach and Evan: Problem 4
- Fatima and Udval: Problem 5
- Nikita and Sean: Problem 6
- Conrad and Jake : Problem 7
- Alessandra and Dylan: Problem 8
- Udval and Luis: Problem 9
- Rockwell and Grant: Problem 10
Period 4B
- Blu: Problem 1
- Gabe: Problem 3
- Anupama: Problem 4
- Jack: Problem 5
- Abi: Problem 6
- Alex: Problem 8