Skip to main content

Mathematical and Numerical Examples

  • 116k Accesses

Abstract

The aims of this chapter are to look at several mathematical and numeric examples in Fortran.

  • Using linked lists for sparse matrix problems.

  • The solution of a system of ordinary differential equations using the Runge–Kutta–Merson method, with the use of a procedure as a parameter, and the use of work arrays.

  • The use of optional and keyword arguments

  • Diagonal extraction of a matrix.

  • The solution of a system of linear simultaneous equations using Gaussian Elimination

  • An elemental e**x function

  • Examples of the relative and absolute errors involved in subtraction with 32 and 64 bit precision

You look at science (or at least talk of it) as some sort of demoralising invention of man, something apart from real life, and which must be cautiously guarded and kept separate from everyday existence. But science and everyday life cannot and should not be separated. Science, for me, gives a partial explanation for life. In so far as it goes, it is based on fact, experience and experiment.

Rosalind Franklin.

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-3-319-75502-1_26
  • Chapter length: 31 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
eBook
USD   84.99
Price excludes VAT (USA)
  • ISBN: 978-3-319-75502-1
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   109.99
Price excludes VAT (USA)
Hardcover Book
USD   159.99
Price excludes VAT (USA)

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ian Chivers .

Rights and permissions

Reprints and Permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this chapter

Verify currency and authenticity via CrossMark

Cite this chapter

Chivers, I., Sleightholme, J. (2018). Mathematical and Numerical Examples. In: Introduction to Programming with Fortran. Springer, Cham. https://doi.org/10.1007/978-3-319-75502-1_26

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-75502-1_26

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-75501-4

  • Online ISBN: 978-3-319-75502-1

  • eBook Packages: Computer ScienceComputer Science (R0)