Skip to main content
  • Book
  • © 2020

Practical Numerical C Programming

Finance, Engineering, and Physics Applications

Apress

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

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

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)

  1. Front Matter

    Pages i-xiii
  2. Review of C

    • Philip Joyce
    Pages 1-32
  3. Finance Applications

    1. Front Matter

      Pages 33-33
    2. Regression

      • Philip Joyce
      Pages 35-48
    3. PMCC

      • Philip Joyce
      Pages 49-71
    4. Stock Price Prediction

      • Philip Joyce
      Pages 73-92
  4. Commercial Applications

    1. Front Matter

      Pages 93-93
    2. Supermarket Stock

      • Philip Joyce
      Pages 95-108
    3. Flight Information

      • Philip Joyce
      Pages 109-128
    4. Power Plant Control

      • Philip Joyce
      Pages 129-142
  5. Physics Applications

    1. Front Matter

      Pages 143-143
    2. Energy Transfer

      • Philip Joyce
      Pages 145-149
    3. Pendulum Simulation

      • Philip Joyce
      Pages 151-161
    4. Center of Mass

      • Philip Joyce
      Pages 163-178
    5. Brownian Motion

      • Philip Joyce
      Pages 179-184
    6. Diffusion Lattice Model

      • Philip Joyce
      Pages 185-196
    7. Chain Reaction

      • Philip Joyce
      Pages 197-206
  6. Back Matter

    Pages 207-277

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

Philip Joyce has 28 years experience as a software engineer – working on control of steel production, control of oil refineries, communications software (pre-Internet), office products (server software), and computer control of airports. Programming in Assembler, COBOL, Coral66, C, and C++. Mentor to new graduates in the company.  He also has a MSc in computational physics (including augmented matrix techniques and Monte Carlo techniques using Fortran) - Salford University 1996. Chartered scientist, chartered physicist, member of the Institute of Physics (member of the higher education group).

Bibliographic Information

Buy it now

Buying options

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

Tax calculation will be finalised at checkout

Other ways to access