Skip to main content

Mathematical and Numerical Examples

  • Chapter
  • First Online:
Introduction to Programming with Fortran
  • 118k 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, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 159.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

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

Check for updates. 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)

Publish with us

Policies and ethics