Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!

Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More! — page 7
Finding the Integrals of Functions 200 Probability Density Functions 201 What You Learned 205 Programming Challenges 205 1 Verify the Continuity of a Function at a Point 205 2 Implement the Gradient Descent 205 3 Area Between Two Curves 206 4 Finding the Length of a Curve 207 aFterworD 209 Things to Explore Next 209 Project Euler 210 Python Documentation 210 Books 210 Getting Help 211 Conclusion 211 a 213 soFtware installation Microsoft Windows 214 Updating SymPy 215 Installing matplotlib-venn 215 Starting the Python Shell 215 Linux 216 Updating SymPy 217 Installing matplotlib-venn 217 Starting the Python Shell 217 Mac OS X 217 Updating SymPy 220 Installing matplotlib-venn 220 Starting the Python Shell 220 b oVerView oF Python toPics 221 if __name__ __main__ 221 List Comprehensions 223 Dictionary Data Structure 224 Multiple Return Values 226 Exception Handling 228 Specifying Multiple Exception Types 228 The else Block 230 Reading Files in Python 230 Reading All the Lines at Once 232 Specifying the Filename as Input 232 Handling Errors When Reading Files 232 Reusing Code 235 inDex xii Contents in Detail 237