Doing math with Python : use programming to explore algebra, statistics, calculus, and more! /


by Amit Saha.
Bok Engelsk 2015 · Electronic books.
Omfang
1 online resource (265 p.)
Utgave
1st edition
Opplysninger
Description based upon print version of record.. - 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. - 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. - 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. - 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. - Solving a System of Linear Equations. - Doing Math with Python teaches you how to use Python as a tool to delve into math concepts.
Emner
Sjanger
Dewey
ISBN
1-4571-8999-2. - 1-59327-719-9

Bibliotek som har denne