2 options
Doing math with Python : use programming to explore algebra, statistics, calculus, and more! / by Amit Saha.
- Format:
- Book
- Author/Creator:
- Saha, Amit, author.
- Language:
- English
- Subjects (All):
- Mathematics--Study and teaching--Data processing.
- Mathematics.
- Python (Computer program language).
- Computer programming.
- Physical Description:
- 1 online resource (265 p.)
- Edition:
- 1st edition
- Place of Publication:
- San Francisco, California : No Starch Press, 2015.
- Language Note:
- English
- System Details:
- text file
- Summary:
- Doing Math with Python teaches you how to use Python as a tool to delve into math concepts.
- Contents:
- 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
- Notes:
- Description based upon print version of record.
- Includes bibliographical references and index.
- Description based on print version record.
- Description based on publisher supplied metadata and other sources.
- ISBN:
- 9781457189999
- 1457189992
- 9781593277192
- 1593277199
- OCLC:
- 922580694
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.