An Introduction to SAGE Programming: With Applications to SAGE Interacts for Numerical Methods / Edition 1

An Introduction to SAGE Programming: With Applications to SAGE Interacts for Numerical Methods / Edition 1

by Razvan A. Mezei
ISBN-10:
1119122783
ISBN-13:
9781119122784
Pub. Date:
12/29/2015
Publisher:
Wiley
ISBN-10:
1119122783
ISBN-13:
9781119122784
Pub. Date:
12/29/2015
Publisher:
Wiley
An Introduction to SAGE Programming: With Applications to SAGE Interacts for Numerical Methods / Edition 1

An Introduction to SAGE Programming: With Applications to SAGE Interacts for Numerical Methods / Edition 1

by Razvan A. Mezei
$83.95
Current price is , Original price is $83.95. You
$83.95 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE
    Check Availability at Nearby Stores

Overview

Features a simplified presentation of numerical methods by introducing and implementing SAGE programs

An Introduction to SAGE Programming: With Applications to SAGE Interacts for Numerical Methods emphasizes how to implement numerical methods using SAGE Math and SAGE Interacts and also addresses the fundamentals of computer programming, including if statements, loops, functions, and interacts. The book also provides a unique introduction to SAGE and its computer algebra system capabilities; discusses second and higher order equations and estimate limits; and determines derivatives, integrals, and summations. Providing critical resources for developing successful interactive SAGE numerical computations, the book is accessible without delving into the mathematical rigor of numerical methods.

The author illustrates the benefits of utilizing the SAGE language for calculus and the numerical analysis of various methods such as bisection methods, numerical integration, Taylor’s expansions, and Newton’s iterations. Providing an introduction to the terminology and concepts involved, An Introduction to SAGE Programming: With Applications to SAGE Interacts for Numerical Methods also features:

  • An introduction to computer programming using SAGE
  • Many practical examples throughout to illustrate the application of SAGE Interacts for various numerical methods
  • Discussions on how to use SAGE Interacts and SAGE Cloud in order to create mathematical demonstrations
  • Numerous homework problems and exercises that allow readers to practice their programming skillset
  • A companion website that includes related SAGE programming code and select solutions to the homework problems and exercises

An Introduction to SAGE Programming: With Applications to SAGE Interacts for Numerical Methods is an ideal reference for applied mathematicians who need to employ SAGE for the study of numerical methods and analysis. The book is also an appropriate supplemental textbook for upper-undergraduate and graduate-level courses in numerical methods.


Product Details

ISBN-13: 9781119122784
Publisher: Wiley
Publication date: 12/29/2015
Pages: 256
Product dimensions: 6.10(w) x 9.10(h) x 0.70(d)

About the Author

Razvan A. Mezei, PhD, is Assistant Professor in the Department of Mathematics and Computing Sciences at Lenoir-Rhyne University. A former software developer, Dr. Mezei's research interests include approximation theory, numerical analysis, inequalities, programming languages, data structures and algorithms, and free open source software.

Read an Excerpt

Click to read or download

Table of Contents

Preface xi

1 Introduction 1

1.1 What is Sage Math? 1

1.2 Various Flavors of Sage Math 2

1.2.1 Sage Math on Your Machine 2

1.2.2 Sage Cell 2

1.2.3 Sage Cloud 2

2 Using Sage Math as a Calculator 5

2.1 First Sage Math Examples 5

2.2 Computations 6

2.2.1 Basic Arithmetic Operators 6

2.2.2 Decimals Versus Exact Values 10

2.2.3 Constants 11

2.2.4 Breaking Long Lines of Code 12

2.2.5 Comments 13

2.2.6 Library Functions 14

2.2.7 Working with Strings 17

2.2.8 Solving Equations and Inequalities 19

2.2.9 Calculus Functions 21

2.2.10 Exercises 25

2.3 Graphs 28

2.3.1 2D Graphs 28

2.3.2 3D Graphs 50

2.3.3 Exercises 52

3 Introduction to Programming in Sage 55

3.1 Variables 56

3.1.1 Exercises 59

3.2 More on Operators 59

3.2.1 Exercises 61

3.3 Making Decisions 61

3.3.1 Boolean Expressions 61

3.3.2 If Statements 64

3.3.3 Exercises 71

3.4 Loops 73

3.4.1 For Loops 73

3.4.2 Strings 80

3.4.3 While Loops 82

3.4.4 Nested Loops 86

3.4.5 Lists 88

3.4.6 Exercises 93

3.5 Functions 96

3.5.1 Using Library Functions: Random, SciPy, NumPy 101

3.5.2 Exercises 101

3.6 Interacts 103

3.6.1 Exercises 118

3.7 Application to Data Security: Caesar's Cipher. Interacts, Strings, and Encryption 120

3.7.1 Exercises 122

3.8 Application to Business: Present Value of an Annuity. Amortization 122

3.8.1 Exercises 127

3.9 Application to Elementary Statistics: Mean, Median, Histograms, and Bar Charts 128

3.9.1 Exercises 135

4 Sage Interacts for Numerical Methods 137

4.1 Equations of Lines 137

4.1.1 Exercises 139

4.2 Tangent Lines and Plots 139

4.2.1 Exercises 142

4.3 Taylor Polynomials 143

4.3.1 Exercises 147

4.4 Riemann Sum and Definite Integrals 148

4.4.1 Exercises 153

4.5 Trapezoidal Rule for Numerical Integration. 153

4.5.1 Exercises 159

4.6 Bisection Algorithm for Solving Equations 160

4.6.1 Exercises 167

4.7 Newton-Raphson Algorithm for Solving Equations 167

4.7.1 Exercises 178

4.8 Polynomial Interpolation 179

4.8.1 Exercises 184

4.9 Linear Spline Interpolation 184

4.9.1 Exercises 188

4.10 Cubic Spline Interpolation 188

4.10.1 Exercises. 196

4.11 Sage for Solving Differential Equations 196

4.12 Numerical Methods for Ordinary Differential Equations 199

4.12.1 Exercises 205

4.13 Numerical Methods for Partial Differential Equations 205

4.13.1 Exercises 210

4.14 Scatter Plots - Line of Best Fit and More 211

4.14.1 Exercises 218

4.15 Matrices, Eigenvalues, and Eigenvectors 218

4.15.1 Exercises 224

4.16 Solving Matrix Equations 224

4.16.1 Exercises 226

References 227

Index 229

From the B&N Reads Blog

Customer Reviews