Skip to main content
Back to top
Ctrl
+
K
CME 100 Python Workbook
Usage tips
Getting started
1. Saving your work
Your turn
2. Defining scalar variables
Your turn
3. Vector operations I
Your turn
4. Vector operations II
Your turn
5. Vector operations III
Your turn
6. Plots in 1D
Your turn
Programming
7. How to use a script
Your turn
8. If—elif—else statements
Your turn
9. For loops
Your turn
10. While loops
Your turn
11. Car motion example
Your turn
12. Electric circuit example
Your turn
13. Newton’s method example
Your turn
14. Surfaces in 3D
Your turn
15. Gradient
Your turn
16. Motion of a particle
Your turn
17. Level curves
Your turn
18. Finding minima of functions
Your turn
19. Fitting data
Your turn
20. Vectors of random numbers
Your turn
21. More random numbers
Your turn
22. Numerical integration
Your turn
23. Computing work done by a force along a path
Your turn
Linear algebra
24. Basic matrix operations
Your turn
25. Additional matrix operations
Your turn
Tutorials
T1: Fundamentals and plotting
T2: Control flow
T3: Matrices
T4: Matrix operations
T5: Optimization
T6: Integration
The tl;dr Python speedrun
Index