Skip to Main Content
Introduction to Computational Modeling Using C and Open-Source Tools
book

Introduction to Computational Modeling Using C and Open-Source Tools

by Jose M. Garrido
November 2013
Intermediate to advanced content levelIntermediate to advanced
461 pages
12h 1m
English
CRC Press
Content preview from Introduction to Computational Modeling Using C and Open-Source Tools
188 Introduction to Computational Modeling
purity of the water is adequate for human consumption. Assume that when the water
has less than 0.6 parts per gallon of impurities, it is adequate for human consumption.
In this problem, the data given is the contents of impurities in parts per gallon of
water. The initial data is 405 parts per gallon of impurities and the growth factor is
0.35.
The C program shown below declares the data lists (arrays) of the sequence s
with the data of the contents of impurities in parts per gallon of water The output
data produced by executing the program and GnuPlot is used to plot the graphs. The
program is stored in file: watertr.c. When the program executes, the following
output listing is produced.
Program to compute ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computer Fundamentals and Programming in C (RMK)

Computer Fundamentals and Programming in C (RMK)

Anita Goel, Ajay Mittal

Publisher Resources

ISBN: 9781482216783