Cargando…

Practical numerical C programming : finance, engineering, and physics applications /

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...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Joyce, Philip (Software engineer)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [United States] : Apress, 2020.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Intro
  • Table of Contents
  • About the Author
  • About the Technical Reviewer
  • Acknowledgments
  • Introduction
  • Chapter 1: Review of C
  • 1.1 Arithmetic
  • 1.2 Switches
  • 1.3 Arrays
  • 1.4 Strings
  • 1.5 Mathematical Functions
  • 1.6 User-Written Functions
  • 1.7 File Creation
  • 1.8 File Read
  • 1.9 File Create2
  • 1.10 File Read2
  • 1.11 Common Mathematical and Logical Symbols
  • Part I: Finance Applications
  • Chapter 2: Regression
  • 2.1 Capital Asset Pricing Model
  • 2.2 CAPM Illustration
  • Chapter 3: PMCC
  • 3.1 Theory
  • 3.2 Manual Calculation of PMCC
  • 3.3 PMCC Program
  • 3.4 Comparison of the Two Regression Lines
  • 3.5 Manual Calculation of the Two Regression Lines
  • 3.6 Program for the Two Regression Lines
  • Chapter 4: Stock Price Prediction
  • 4.1 Two Parts to Stock Price Changes
  • 4.2 Drift Part of Formula
  • 4.3 Simple Example with 5 Day's Prices
  • 4.4 Random Change Part of Formula
  • 4.5 Combining the Two Elements
  • Part II: Commercial Applications
  • Chapter 5: Supermarket Stock
  • 5.1 What We Are Simulating
  • 5.2 Updating the File
  • Chapter 6: Flight Information
  • 6.1 Airport Display Boards
  • 6.2 Create Flights File
  • 6.3 Update Display Boards
  • 6.3.1 Not-Rollup Mechanism
  • 6.3.2 Rollup Mechanism
  • Chapter 7: Power Plant Control
  • 7.1 Simulation
  • 7.2 Monitoring Safety Levels
  • Part III: Physics Applications
  • Chapter 8: Energy Transfer
  • 8.1 Potential and Kinetic Energy Simulation
  • 8.2 Convert Theory to Code
  • Chapter 9: Pendulum Simulation
  • 9.1 Pendulum Theory
  • 9.2 Euler Method
  • 9.3 Euler-Cromer Method
  • Chapter 10: Center of Mass
  • 10.1 Center of Mass Theory
  • 10.2 Circular Plate
  • 10.3 Other Shapes
  • Chapter 11: Brownian Motion
  • 11.1 Brownian Motion Theory
  • Chapter 12: Diffusion Lattice Model
  • 12.1 Vacancy Lattice Diffusion
  • Chapter 13: Chain Reaction
  • 13.1 Chain Reaction Theory
  • 13.2 Chain Reaction Program
  • Appendix: Answers to Problems
  • Index