Doing math with Python use programming to explore algebra, statistics, calculus, and more!
Doing Math with Python teaches you how to use Python as a tool to delve into math concepts.
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
San Francisco, California :
No Starch Press
2015.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629588106719 |
Tabla de Contenidos:
- Brief Contents ; Contents in Detail ; Acknowledgments ; Introduction; Who Should Read This Book; What's in This Book?; Scripts, Solutions, and Hints; Chapter 1: Working with Numbers; Basic Mathematical Operations; Labels: Attaching Names to Numbers; Different Kinds of Numbers ; Working with Fractions; Complex Numbers; Getting User Input; Handling Exceptions and Invalid Input; Fractions and Complex Numbers as Input; Writing Programs That Do the Math for You; Calculating the Factors of an Integer; Generating Multiplication Tables; Converting Units of Measurement
- Finding the Roots of a Quadratic EquationWhat You Learned; Programming Challenges; Challenge 1: Even-Odd Vending Machine; Challenge 2: Enhanced Multiplication Table Generator; Challenge 3: Enhanced Unit Converter; Challenge 4: Fraction Calculator; Challenge 5: Give Exit Power to the User; Chapter 2: Visualizing Data with Graphs; Understanding the Cartesian Coordinate Plane; Working with Lists and Tuples; Iterating over a List or Tuple; Creating Graphs with Matplotlib; Marking Points on Your Graph; Graphing the Average Annual Temperature in New York City
- Finding the MedianFinding the Mode and Creating a Frequency Table; Finding the Most Common Elements; Finding the Mode; Creating a Frequency Table; Measuring the Dispersion; Finding the Range of a Set of Numbers; Finding the Variance and Standard Deviation; Calculating the Correlation Between Two Data Sets; Calculating the Correlation Coefficient; High School Grades and Performance on College Admission Tests; Scatter Plots; Reading Data from Files; Reading Data from a Text File; Reading Data from a CSV File; What You Learned; Programming Challenges
- Challenge 1: Better Correlation Coefficient-Finding ProgramChallenge 2: Statistics Calculator ; Challenge 3: Experiment with Other CSV Data; Challenge 4: Finding the Percentile; Challenge 5: Creating a Grouped Frequency Table; Chapter 4: Algebra and Symbolic Math with SymPy; Defining Symbols and Symbolic Operations; Working with Expressions; Factorizing and Expanding Expressions; Pretty Printing; Substituting in Values; Converting Strings to Mathematical Expressions; Solving Equations; Solving Quadratic Equations; Solving for One Variable in Terms of Others
- Solving a System of Linear Equations