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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG, part of Springer Nature
About this chapter
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)