Primer P01 - Running Python Experiments · core
B80 · English · shared course identity
Mathematical Computing and Reproducible Experiments
One English route through the same 14 B80 units, 75 exercises, four laboratories, and four prerequisite routes used by the Indonesian course.
Download the offline English reader · English PDF · Open map data
Primer P01 - Running Python Experiments · core
Exercise 2 - imports, calls, and help
Primer P01 - Running Python Experiments · core
Exercise 3 - reading and fixing a traceback
Primer P01 - Running Python Experiments · core
Exercise 4 - computation, display, and scripts
Primer P01 - Running Python Experiments · core
Exercise 5 - clean kernels and hidden state
Control Flow, Collections, Functions, Modules, and Files · core
Exercise 1 - collections and slices
Control Flow, Collections, Functions, Modules, and Files · core
Exercise 2 - control flow before comprehensions
Control Flow, Collections, Functions, Modules, and Files · core
Exercise 3 - functions, scope, and errors
Control Flow, Collections, Functions, Modules, and Files · core
Exercise 4 - a learner module and red-green tests
Control Flow, Collections, Functions, Modules, and Files · core
Exercise 5 - text, CSV, JSON, and a manifest
Computation, Representation, and Proof · core
Exercise 1 - representation
Computation, Representation, and Proof · core
Exercise 2 - specifying tolerances
Computation, Representation, and Proof · core
Exercise 3 - the limits of an experiment
Computation, Representation, and Proof · core
Exercise 4 - a counterexample
Computation, Representation, and Proof · core
Exercise 5 - an experiment record
Objects, Values, and Functions · core
Exercise 1 - choosing representations
Objects, Values, and Functions · core
Exercise 2 - values and identity
Objects, Values, and Functions · core
Exercise 3 - a function contract
Objects, Values, and Functions · core
Exercise 4 - a dangerous alias
Objects, Values, and Functions · core
Exercise 5 - tests and proof
Arrays, Shapes, and Vectorization · core
Exercise 1 - shape and axis meanings
Arrays, Shapes, and Vectorization · core
Exercise 2 - vectorization and invariants
Arrays, Shapes, and Vectorization · core
Exercise 3 - a broadcasting contract
Arrays, Shapes, and Vectorization · core
Exercise 4 - tracing a view
Arrays, Shapes, and Vectorization · core
Exercise 5 - experiments are not general proofs
Visualization with Integrity · core
Exercise 1 - question and encoding
Visualization with Integrity · core
Exercise 2 - a truncated axis
Visualization with Integrity · core
Exercise 3 - the meaning of error bars
Visualization with Integrity · core
Exercise 4 - an accessible description
Visualization with Integrity · core
Exercise 5 - figures and proof
Visualization with Integrity · mastery
Mastery exercise - from data to plot to manifest
Exact and Symbolic Computation · core
Exercise 1 - expressions and values
Exact and Symbolic Computation · core
Exercise 2 - a missing assumption
Exact and Symbolic Computation · core
Exercise 3 - equivalence and domains
Exact and Symbolic Computation · core
Exercise 4 - factors, roots, and checks
Exact and Symbolic Computation · core
Exercise 5 - stable symbolic artifacts
Exact and Symbolic Computation · mastery
Sage exercise 1 - parents, coercion, and factors
Exact and Symbolic Computation · mastery
Sage exercise 2 - exact solutions and approximations
Floating-Point Numbers, Error, and Stability · core
Exercise 1 - `ulp` and the lost increment
Floating-Point Numbers, Error, and Stability · core
Exercise 2 - eliminating cancellation
Floating-Point Numbers, Error, and Stability · core
Exercise 3 - forward and backward error
Floating-Point Numbers, Error, and Stability · core
Exercise 4 - conditioning or algorithm?
Floating-Point Numbers, Error, and Stability · core
Exercise 5 - summation, tolerance, and limits on claims
Floating-Point Numbers, Error, and Stability · mastery
SciPy exercise - stability of `exprel`
Designing Experiments That Can Be Checked · core
Exercise 1 - variables and confounders
Designing Experiments That Can Be Checked · core
Exercise 2 - a seed is not a time machine
Designing Experiments That Can Be Checked · core
Exercise 3 - selection and holdout
Designing Experiments That Can Be Checked · core
Exercise 4 - effect size and stopping rules
Designing Experiments That Can Be Checked · core
Exercise 5 - negative results and limits of evidence
Testing and Validating Computations · core
Exercise 1 — choosing an assertion
Testing and Validating Computations · core
Exercise 2 — constructing an oracle
Testing and Validating Computations · core
Exercise 3 — metamorphic relations
Testing and Validating Computations · core
Exercise 4 — a boundary regression test
Testing and Validating Computations · core
Exercise 5 — the limits of testing evidence
Data, Configuration, and Provenance · core
Exercise 1 — raw data, derived data, and lineage
Data, Configuration, and Provenance · core
Exercise 2 — schemas and units
Data, Configuration, and Provenance · core
Exercise 3 — configuration and safe paths
Data, Configuration, and Provenance · core
Exercise 4 — rights and privacy
Data, Configuration, and Provenance · core
Exercise 5 — semantics, bytes, and hashes
Automation and Reproducible Workflows · core
Exercise 1 — task order
Automation and Reproducible Workflows · core
Exercise 2 — a cycle
Automation and Reproducible Workflows · core
Exercise 3 — timestamps
Automation and Reproducible Workflows · core
Exercise 4 — a write failure
Automation and Reproducible Workflows · core
Exercise 5 — a green workflow
Numerical Experiments and Their Prerequisites · core
Exercise 1 - bisection invariants
Numerical Experiments and Their Prerequisites · core
Exercise 2 - an iteration bound
Numerical Experiments and Their Prerequisites · mastery
SciPy exercise - two implementations for a root of a cubic
Numerical Experiments and Their Prerequisites · core
Exercise 3 - a quadrature check
Numerical Experiments and Their Prerequisites · core
Exercise 4 - a residual is not a solution error
Numerical Experiments and Their Prerequisites · core
Exercise 5 - an Euler experiment
A Verifiable Capstone Project · core
Exercise 1 - classifying claims
A Verifiable Capstone Project · core
Exercise 2 - an incomplete manifest
A Verifiable Capstone Project · core
Exercise 3 - an unsafe path
A Verifiable Capstone Project · core
Exercise 4 - nonidentical reproduction
A Verifiable Capstone Project · core