Computational Physics
eBook - ePub

Computational Physics

Fortran Version

Steven E. Koonin

  1. 656 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Computational Physics

Fortran Version

Steven E. Koonin

Book details
Book preview
Table of contents
Citations

About This Book

Computational Physics is designed to provide direct experience in the computer modeling of physical systems. Its scope includes the essential numerical techniques needed to "do physics" on a computer. Each of these is developed heuristically in the text, with the aid of simple mathematical illustrations. However, the real value of the book is in the eight Examples and Projects, where the reader is guided in applying these techniques to substantial problems in classical, quantum, or statistical mechanics. These problems have been chosen to enrich the standard physics curriculum at the advanced undergraduate or beginning graduate level. The book will also be useful to physicists, engineers, and chemists interested in computer modeling and numerical techniques. Although the user-friendly and fully documented programs are written in FORTRAN, a casual familiarity with any other high-level language, such as BASIC, PASCAL, or C, is sufficient. The codes in BASIC and FORTRAN are available on the web at http://www.computationalphysics.info. They are available in zip format, which can be expanded on UNIX, Window, and Mac systems with the proper software. The codes are suitable for use (with minor changes) on any machine with a FORTRAN-77 compatible compiler or BASIC compiler. The FORTRAN graphics codes are available as well. However, as they were originally written to run on the VAX, major modifications must be made to make them run on other machines.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Computational Physics an online PDF/ePUB?
Yes, you can access Computational Physics by Steven E. Koonin in PDF and/or ePUB format, as well as other popular books in Ciencias físicas & Física. We have over one million books available in our catalogue for you to explore.

Information

Publisher
CRC Press
Year
2018
ISBN
9780429973659
Edition
1
Subtopic
Física
Chapter 1
Basic Mathematical Operations
Three numerical operations — differentiation, quadrature, and the finding of roots — are central to most computer modeling of physical systems. Suppose that we have the ability to calculate the value of a function, f(x), at any value of the independent variable x. In differentiation, we seek one of the derivatives of f at a given value of x. Quadrature, roughly the inverse of differentiation, requires us to calculate the definite integral of f between two specified limits (we reserve the term “integration” for the process of solving ordinary differential equations, as discussed in Chapter 2), while in root finding we seek the values of x (there may be several) at which f vanishes.
If f is known analytically, it is almost always possible, with enough fortitude, to derive explicit formulas for the derivatives of f, and it is often possible to do so for its definite integral as well. However, it is often the case that an analytical method cannot be used, even though we can evaluate f(x) itself. This might be either because some very complicated numerical procedure is required to evaluate f and we have no suitable analytical formula upon which to apply the rules of differentiation and quadrature, or, even worse, because the way we can generate f provides us with its values at only a set of discrete abscissae. In these situations, we must employ approximate formulas expressing the derivatives and integral in terms of the values of f we can compute. Moreover, the roots of all but the simplest functions cannot be found analytically, and numerical methods are therefore essential.
This chapter deals with the computer realization of these three basic operations. The central technique is to approximate f by a simple function (such as first- or second-degree polynomial) upon which these operations can be performed easily. We will derive only the simplest and most commonly used formulas; fuller treatments can be found in many textbooks on numerical analysis.
Image
Figure 1.1 Values of f on an equally-spaced lattice. Dashed lines show the linear interpolation.
1.1 Numerical differentiation
Let us suppose that we are interested in the derivative at x = 0, f′(0). (The formulas we will derive can be generalized simply to arbitrary x by translation.) Let us also suppose that we know f on an equally-spaced lattice of x values,
fn=f(xn);xn=nh (n=0, ±1, ±2,),
and that our goal is to compute an approximate value of f′(0) in terms of the fn (see Figure 1.1).
We begin by using a Taylor series to expand f in the neighborhood of x = 0:
f(x)=f0+xf+x22!f+x33!f+,
(1.1)
where all derivatives are evaluated at x = 0. It is then simp...

Table of contents

  1. Cover
  2. Half Title
  3. Title Page
  4. Copyright Page
  5. Table of Contents
  6. Preface
  7. Preface to the FORTRAN Edition
  8. How to use this book
  9. Chapter 1: Basic Mathematical Operations
  10. Chapter 2: Ordinary Differential Equations
  11. Chapter 3: Boundary Value and Eigenvalue Problems
  12. Chapter 4: Special Functions and Gaussian Quadrature
  13. Chapter 5: Matrix Operations
  14. Chapter 6: Elliptic Partial Differential Equations
  15. Chapter 7: Parabolic Partial Differential Equations
  16. Chapter 8: Monte Carlo Methods
  17. Appendix A: How to use the programs
  18. Appendix B: Programs for the Examples
  19. Appendix C: Programs for the Projects
  20. Appendix D: Common Utility Codes
  21. Appendix E: Network File Transfer
  22. References
  23. Index
Citation styles for Computational Physics

APA 6 Citation

Koonin, S. (2018). Computational Physics (1st ed.). CRC Press. Retrieved from https://www.perlego.com/book/1597357/computational-physics-fortran-version-pdf (Original work published 2018)

Chicago Citation

Koonin, Steven. (2018) 2018. Computational Physics. 1st ed. CRC Press. https://www.perlego.com/book/1597357/computational-physics-fortran-version-pdf.

Harvard Citation

Koonin, S. (2018) Computational Physics. 1st edn. CRC Press. Available at: https://www.perlego.com/book/1597357/computational-physics-fortran-version-pdf (Accessed: 14 October 2022).

MLA 7 Citation

Koonin, Steven. Computational Physics. 1st ed. CRC Press, 2018. Web. 14 Oct. 2022.