Authors:
- A pragmatic hands-on book on C programming with several applications
- Includes 10+ code-rich projects
- Appropriate for industry use as well as the classroom
Buy it now
Buying options
Tax calculation will be finalised at checkout
Other ways to access
This is a preview of subscription content, log in via an institution to check for access.
Table of contents (13 chapters)
-
Front Matter
-
Finance Applications
-
Front Matter
-
-
Commercial Applications
-
Front Matter
-
-
Physics Applications
-
Front Matter
-
-
Back Matter
About this book
Master the C code appropriate for numerical methods and computational modeling, including syntax, loops, subroutines, and files. Then, this hands-on book dives into financial applications using regression models, product moment correlation coefficients, and asset pricing.
Next, Practical Numerical C Programming covers applications for engineering/business such as supermarket stock reordering simulation as well as flight information boards at airports and controlling a power plant. Finally, the book concludes with some physics including building simulation models for energy and pendulum motion. Along the way, you’ll learn center-of-mass calculations, Brownian motion, and more.
After reading and using this book, you'll come away with pragmatic case studies of actual applications using C code at work. Source code is freely available and includes the latest C20 standard release.
What You Will Learn
- Apply regression techniques to find the pattern for depreciation of the value of cars over a period of years
- Work with the product moment correlation coefficient technique to illustrate the accuracy (or otherwise) of regression techniques
- Use the past stock values of an asset to predict what its future values may be using Monte Carlo methods
- Simulate the buying of supermarket stock by shoppers and check the remaining stock: if it is too low print a message to reorder the stock
- Create a file of arrivals for an airport and send data to the airport’s display boards to show the current situation for the incoming flights
- Simulate the patterns of particles moving in gases or solids
Who This Book Is For
Programmers and computational modelers with at least some prior experience with programming in C as well as programming in general.
Authors and Affiliations
-
Goostrey, UK
Philip Joyce
About the author
Bibliographic Information
Book Title: Practical Numerical C Programming
Book Subtitle: Finance, Engineering, and Physics Applications
Authors: Philip Joyce
DOI: https://doi.org/10.1007/978-1-4842-6128-6
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)
Copyright Information: Philip Joyce 2020
Softcover ISBN: 978-1-4842-6127-9Published: 28 August 2020
eBook ISBN: 978-1-4842-6128-6Published: 27 August 2020
Edition Number: 1
Number of Pages: XIII, 277
Number of Illustrations: 3 b/w illustrations, 67 illustrations in colour
Topics: Professional Computing, Programming Languages, Compilers, Interpreters, Theoretical, Mathematical and Computational Physics, Finance, general, Computational Science and Engineering, Programming Techniques