Details

An Introduction to SAGE Programming


An Introduction to SAGE Programming

With Applications to SAGE Interacts for Numerical Methods
1. Aufl.

von: Razvan A. Mezei

65,99 €

Verlag: Wiley
Format: EPUB
Veröffentl.: 18.12.2015
ISBN/EAN: 9781119122807
Sprache: englisch
Anzahl Seiten: 256

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

<p><b>Features a simplified presentation of numerical methods by introducing and implementing SAGE programs</b></p> <p><i>An Introduction to SAGE Programming: With Applications to SAGE Interacts for Numerical Methods </i>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.</p> <p>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, <i>An Introduction to SAGE Programming: With Applications to SAGE Interacts for Numerical Methods </i>also features:</p> <ul> <li>An introduction to computer programming using SAGE</li> <li>Many practical examples throughout to illustrate the application of SAGE Interacts for various numerical methods</li> <li>Discussions on how to use SAGE Interacts and SAGE Cloud in order to create mathematical demonstrations</li> <li>Numerous homework problems and exercises that allow readers to practice their programming skillset</li> <li>A companion website that includes related SAGE programming code and select solutions to the homework problems and exercises</li> </ul> <p><i>An Introduction to SAGE Programming: With Applications to SAGE Interacts for Numerical Methods </i>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.</p>
<p>Preface vii</p> <p><b>1. INTRODUCTION 1</b></p> <p>1.1 What is Sage Math? 1</p> <p>1.2 Various Flavors of Sage Math 1</p> <p>1.2.1 Sage Math on your Machine 1</p> <p>1.2.2 Sage Cell 2</p> <p>1.2.3 Sage Cloud 2</p> <p><b>2. USING SAGE MATH AS A CALCULATOR 5</b></p> <p>2.1 First Sage Math Examples 5</p> <p>2.2 Computations 6</p> <p>2.2.1 Basic Arithmetic Operators 6</p> <p>2.2.2 Decimals vs Exact Values 10</p> <p>2.2.3 Constants 11</p> <p>2.2.4 Breaking Long Lines of Code 12</p> <p>2.2.5 Comments 13</p> <p>2.2.6 Library Functions 14</p> <p>2.2.7 Working with Strings 17</p> <p>2.2.8 Solving equations and inequalities 19</p> <p>2.2.9 Calculus Functions 21</p> <p>2.2.10 Exercises 25</p> <p>2.3 Graphs 28</p> <p>2.3.1 2D Graphs 28</p> <p>2.3.2 3D Graphs 53</p> <p>2.3.3 Exercises 54</p> <p><b>3. INTRODUCTION TO PROGRAMMING IN SAGE 57</b></p> <p>3.1 Variables 58</p> <p>3.1.1 Exercises 61</p> <p>3.2 More on Operators 61</p> <p>3.2.1 Exercises 63</p> <p>3.3 Making Decisions 64</p> <p>3.3.1 Boolean Expressions 64</p> <p>3.3.2 If statements 66</p> <p>3.3.3 Exercises 73</p> <p>3.4 Loops 75</p> <p>3.4.1 For loops 75</p> <p>3.4.2 Strings 82</p> <p>3.4.3 While loops 84</p> <p>3.4.4 Nested loops 88</p> <p>3.4.5 Lists 91</p> <p>3.4.6 Exercises 96</p> <p>3.5 Functions 99</p> <p>3.5.1 Using library functions. Random, Scipy, Numpy 104</p> <p>3.5.2 Exercises 105</p> <p>3.6 Interacts 107</p> <p>3.6.1 Exercises 123</p> <p>3.7 Application to Data Security: Caesar’s Cipher. Interacts, strings, and encryption 125</p> <p>3.7.1 Exercises 127</p> <p>3.8 Application to Business: Present Value of an Annuity. Amortization127</p> <p>3.8.1 Exercises 133</p> <p>3.9 Application to Elementary Statistics. Mean, Median, Histograms, and Bar Charts. 134</p> <p>3.9.1 Exercises 142</p> <p><b>4. SAGE INTERACTS FOR NUMERICAL METHODS 143</b></p> <p>4.1 Equations of Lines 143</p> <p>4.1.1 Exercises 145</p> <p>4.2 Tangent Lines and Plots 145</p> <p>4.2.1 Exercises 149</p> <p>4.3 Taylor Polynomials 149</p> <p>4.3.1 Exercises 155</p> <p>4.4 Riemann Sum and De…nite Integrals 156</p> <p>4.4.1 Exercises 162</p> <p>4.5 Trapezoidal Rule for Numerical Integration 162</p> <p>4.5.1 Exercises 170</p> <p>4.6 Bisection Algorithm for Solving Equations 170</p> <p>4.6.1 Exercises 179</p> <p>4.7 Newton-Raphson Algorithm for Solving Equations 179</p> <p>4.7.1 Exercises 191</p> <p>4.8 Polynomial Interpolation 192</p> <p>4.8.1 Exercises 198</p> <p>4.9 Linear Spline Interpolation 198</p> <p>4.9.1 Exercises 202</p> <p>4.10 Cubic Spline Interpolation 203</p> <p>4.10.1 Exercises 212</p> <p>4.11 SAGE for solving Di¤erential Equations 212</p> <p>4.12 Numerical Methods for Ordinary Di¤erential Equations 215</p> <p>4.12.1 Exercises 221</p> <p>4.13 Numerical Methods for Partial Di¤erential Equations 222</p> <p>4.13.1 Exercises 227</p> <p>4.14 Scatter plots. Line of Best Fit and More 228</p> <p>4.14.1 Exercises 236</p> <p>4.15 Matrices, Eigenvalues, and Eigenvectors 236</p> <p>4.15.1 Exercises 243</p> <p>4.16 Solving Matrix Equations 243</p> <p>4.16.1 Exercises 245</p> <p>Bibliography 247</p> <p>Index 249</p>
<p>"I was pleased to see this book appear. I?m a great fan of the Sage project and its goal of ?Creating a viable free open source alternative to Magma, Maple, Mathematica and Matlab,? so any book that seems to further those goals is a welcome sight." (<b>Mathematical Association of America<b> 21st February 2017)</p>
<p><b>Razvan A. Mezei, PhD,</b> 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.</p>
<p><b>Features a simplified presentation of numerical methods by introducing and implementing SAGE programs</b></p> <p><i>An Introduction to SAGE Programming: With Applications to SAGE Interacts for Numerical Methods</i> 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.</p> <p>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, <i>An Introduction to SAGE Programming: With Applications to SAGE Interacts for Numerical Methods</i> features:</p> <ul> <li>An introduction to computer programming using SAGE</li> <li>Many practical examples throughout to illustrate the application of SAGE Interacts for various numerical methods</li> <li>Discussions on how to use SAGE Interacts and SAGE Cloud in order to create mathematical demonstrations</li> <li>Numerous homework problems and exercises that allow readers to practice their programming skillset</li> <li>A companion website that includes related SAGE programming code and select solutions to the homework problems and exercises</li> </ul> <p><i>An Introduction to SAGE Programming: With Applications to SAGE Interacts for Numerical Methods</i> 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.</p>

Diese Produkte könnten Sie auch interessieren:

DPSM for Modeling Engineering Problems
DPSM for Modeling Engineering Problems
von: Dominique Placko, Tribikram Kundu
PDF ebook
159,99 €
Mathematical Analysis
Mathematical Analysis
von: Bernd S. W. Schröder
PDF ebook
114,99 €