0% found this document useful (0 votes)
5 views

Introduction to Elementary Computational Modeling Essential Concepts Principles and Problem Solving 1st Edition Jose Garrido (Author) - Download the ebook now to start reading without waiting

The document promotes the book 'Introduction to Elementary Computational Modeling' by Jose Garrido, which focuses on fundamental concepts and problem-solving in computational modeling. It includes various resources and links to download the book and other related textbooks. The content emphasizes analytical skills, algorithm design, and implementation using programming concepts.

Uploaded by

gantynapali
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Introduction to Elementary Computational Modeling Essential Concepts Principles and Problem Solving 1st Edition Jose Garrido (Author) - Download the ebook now to start reading without waiting

The document promotes the book 'Introduction to Elementary Computational Modeling' by Jose Garrido, which focuses on fundamental concepts and problem-solving in computational modeling. It includes various resources and links to download the book and other related textbooks. The content emphasizes analytical skills, algorithm design, and implementation using programming concepts.

Uploaded by

gantynapali
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 47

Visit ebookfinal.

com to download the full version and


explore more ebooks or textbooks

Introduction to Elementary Computational Modeling


Essential Concepts Principles and Problem Solving
1st Edition Jose Garrido (Author)

_____ Click the link below to download _____


https://ebookfinal.com/download/introduction-to-elementary-
computational-modeling-essential-concepts-principles-and-
problem-solving-1st-edition-jose-garrido-author/

Explore and download more ebooks or textbook at ebookfinal.com


Here are some recommended products that we believe you will be
interested in. You can click the link to download.

Introduction to Computer Science Using Python A


Computational Problem Solving Focus 1st Edition Charles
Dierbach
https://ebookfinal.com/download/introduction-to-computer-science-
using-python-a-computational-problem-solving-focus-1st-edition-
charles-dierbach/

Java An Introduction to Problem Solving and Programming


7th Edition Walter Savitch

https://ebookfinal.com/download/java-an-introduction-to-problem-
solving-and-programming-7th-edition-walter-savitch/

Cases on Information Technology Entrepreneurship Jose A.


Medina-Garrido

https://ebookfinal.com/download/cases-on-information-technology-
entrepreneurship-jose-a-medina-garrido/

Puzzles Paradoxes and Problem Solving An Introduction to


Mathematical Thinking 1st Edition Marilyn A. Reba

https://ebookfinal.com/download/puzzles-paradoxes-and-problem-solving-
an-introduction-to-mathematical-thinking-1st-edition-marilyn-a-reba/
An Elementary Introduction To Stochastic Interest Rate
Modeling 2nd Edition Edition Nicolas Privault

https://ebookfinal.com/download/an-elementary-introduction-to-
stochastic-interest-rate-modeling-2nd-edition-edition-nicolas-
privault/

An Introduction to Statistical Problem Solving in


Geography Third Edition J. Chapman Mcgrew Jr.

https://ebookfinal.com/download/an-introduction-to-statistical-
problem-solving-in-geography-third-edition-j-chapman-mcgrew-jr/

Giant Molecules Essential Materials for Everyday Living


and Problem Solving 2nd Edition Charles E. Carraher Jr.

https://ebookfinal.com/download/giant-molecules-essential-materials-
for-everyday-living-and-problem-solving-2nd-edition-charles-e-
carraher-jr/

Mathematics in Action An Introduction to Algebraic


Graphical and Numerical Problem Solving 4th Edition
Consortium For Foundation Mathematics
https://ebookfinal.com/download/mathematics-in-action-an-introduction-
to-algebraic-graphical-and-numerical-problem-solving-4th-edition-
consortium-for-foundation-mathematics/

Group Problem Solving Patrick R. Laughlin

https://ebookfinal.com/download/group-problem-solving-patrick-r-
laughlin/
Introduction to Elementary Computational Modeling
Essential Concepts Principles and Problem Solving 1st
Edition Jose Garrido (Author) Digital Instant Download
Author(s): Jose Garrido (Author)
ISBN(s): 9781466538641, 1439867399
Edition: 1
File Details: PDF, 3.13 MB
Year: 2011
Language: english
Mathematical Modeling

Chapman & Hall/CRC Chapman & Hall/CRC

Introduction to Elementary Computational Modeling


Computational Science Series Computational Science Series

With an emphasis on problem solving, this book introduces the basic principles
and fundamental concepts of computational modeling. It emphasizes reasoning
and conceptualizing problems, elementary mathematical modeling, and the
implementation using computing concepts and principles. Examples are included
that demonstrate the computation and visualization of the implemented models.

Features
• Emphasizes analytical skill development and problem solving rather than
programming language syntax
• Discusses the design of algorithmic solutions to problems using standard
flowcharts and pseudo-code
• Provides the foundations of computational modeling and programming
concepts that will facilitate a smooth transition to object-oriented modeling
and programming
• Includes summaries, examples, and problems in every chapter
• Explains modularity and abstraction to help deal with large and complex
models

The author provides case studies, along with an overview of computational models
and their development. The first part of the text presents the basic concepts of
models and techniques for designing and implementing problem solutions. It
applies standard pseudo-code constructs and flowcharts for designing models.
The second part covers model implementation with basic programming constructs
using MATLAB®, Octave, and FreeMat.

Aimed at beginning students in computer science, mathematics, statistics, and


engineering, Introduction to Elementary Computational Modeling: Essential
Concepts, Principles, and Problem Solving focuses on fundamentals, helping
the next generation of scientists and engineers hone their problem-solving skills.
Garrido

K13027

K13027_Cover.indd 1 9/23/11 9:55 AM


Introduction to Elementary
Computational Modeling
Essential Concepts, Principles,
and Problem Solving

K13027_FM.indd 1 9/26/11 12:58 PM


Chapman & Hall/CRC
Computational Science Series

SERIES EDITOR
Horst Simon
Deputy Director
Lawrence Berkeley National Laboratory
Berkeley, California, U.S.A.

AIMS AND SCOPE


This series aims to capture new developments and applications in the field of computational science through the
publication of a broad range of textbooks, reference works, and handbooks. Books in this series will provide introduc-
tory as well as advanced material on mathematical, statistical, and computational methods and techniques, and will
present researchers with the latest theories and experimentation. The scope of the series includes, but is not limited
to, titles in the areas of scientific computing, parallel and distributed computing, high performance computing, grid
computing, cluster computing, heterogeneous computing, quantum computing, and their applications in scientific
disciplines such as astrophysics, aeronautics, biology, chemistry, climate modeling, combustion, cosmology, earth-
quake prediction, imaging, materials, neuroscience, oil exploration, and weather forecasting.

PUBLISHED TITLES
PETASCALE COMPUTING: ALGORITHMS AND APPLICATIONS
Edited by David A. Bader

PROCESS ALGEBRA FOR PARALLEL AND DISTRIBUTED PROCESSING


Edited by Michael Alexander and William Gardner

GRID COMPUTING: TECHNIQUES AND APPLICATIONS


Barry Wilkinson

INTRODUCTION TO CONCURRENCY IN PROGRAMMING LANGUAGES


Matthew J. Sottile, Timothy G. Mattson, and Craig E Rasmussen

INTRODUCTION TO SCHEDULING
Yves Robert and Frédéric Vivien

SCIENTIFIC DATA MANAGEMENT: CHALLENGES, TECHNOLOGY, AND DEPLOYMENT


Edited by Arie Shoshani and Doron Rotem

INTRODUCTION TO THE SIMULATION OF DYNAMICS USING SIMULINK®


Michael A. Gray

INTRODUCTION TO HIGH PERFORMANCE COMPUTING FOR SCIENTISTS


AND ENGINEERS, Georg Hager and Gerhard Wellein

PERFORMANCE TUNING OF SCIENTIFIC APPLICATIONS, Edited by David Bailey,


Robert Lucas, and Samuel Williams

HIGH PERFORMANCE COMPUTING: PROGRAMMING AND APPLICATIONS


John Levesque with Gene Wagenbreth

PEER-TO-PEER COMPUTING: APPLICATIONS, ARCHITECTURE, PROTOCOLS, AND CHALLENGES


Yu-Kwong Ricky Kwok

FUNDAMENTALS OF MULTICORE SOFTWARE DEVELOPMENT


Victor Pankratius, Ali-Reza Adl-Tabatabai, and Walter Tichy

INTRODUCTION TO ELEMENTARY COMPUTATIONAL MODELING: ESSENTIAL CONCEPTS,


PRINCIPLES, AND PROBLEM SOLVING
José M. Garrido

K13027_FM.indd 2 9/26/11 12:58 PM


Introduction to Elementary
Computational Modeling
Essential Concepts, Principles,
and Problem Solving

José M. Garrido
Kennesaw State University
Georgia, USA

K13027_FM.indd 3 9/26/11 12:58 PM


MATLAB® is a trademark of The MathWorks, Inc. and is used with permission. The MathWorks does
not warrant the accuracy of the text or exercises in this book. This book’s use or discussion of MAT-
LAB® software or related products does not constitute endorsement or sponsorship by The MathWorks
of a particular pedagogical approach or particular use of the MATLAB® software.

CRC Press
Taylor & Francis Group
6000 Broken Sound Parkway NW, Suite 300
Boca Raton, FL 33487-2742
© 2012 by Taylor & Francis Group, LLC
CRC Press is an imprint of Taylor & Francis Group, an Informa business

No claim to original U.S. Government works


Version Date: 20111012

International Standard Book Number-13: 978-1-4665-0634-3 (eBook - PDF)

This book contains information obtained from authentic and highly regarded sources. Reasonable
efforts have been made to publish reliable data and information, but the author and publisher cannot
assume responsibility for the validity of all materials or the consequences of their use. The authors and
publishers have attempted to trace the copyright holders of all material reproduced in this publication
and apologize to copyright holders if permission to publish in this form has not been obtained. If any
copyright material has not been acknowledged please write and let us know so we may rectify in any
future reprint.

Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced,
transmitted, or utilized in any form by any electronic, mechanical, or other means, now known or
hereafter invented, including photocopying, microfilming, and recording, or in any information stor-
age or retrieval system, without written permission from the publishers.

For permission to photocopy or use material electronically from this work, please access www.copy-
right.com (http://www.copyright.com/) or contact the Copyright Clearance Center, Inc. (CCC), 222
Rosewood Drive, Danvers, MA 01923, 978-750-8400. CCC is a not-for-profit organization that pro-
vides licenses and registration for a variety of users. For organizations that have been granted a pho-
tocopy license by the CCC, a separate system of payment has been arranged.

Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are
used only for identification and explanation without intent to infringe.
Visit the Taylor & Francis Web site at
http://www.taylorandfrancis.com
and the CRC Press Web site at
http://www.crcpress.com
Contents

List of Figures xv

List of Tables xix

Preface xxi

About the Author xxv

I Understanding Problem Solving 1


1 Understanding Word Problems 3
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Nouns and Verbs . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Problem Decomposition . . . . . . . . . . . . . . . . . . . . 6
1.4 The Language of Computational Problems . . . . . . . . . . 8
1.4.1 Terms for Computed Values . . . . . . . . . . . . . . 8
1.4.2 Implied Phrases . . . . . . . . . . . . . . . . . . . . . 9
1.4.3 Units of Measure . . . . . . . . . . . . . . . . . . . . 9
1.4.4 Conditions . . . . . . . . . . . . . . . . . . . . . . . 11
1.4.5 Repetition . . . . . . . . . . . . . . . . . . . . . . . . 13
1.5 Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.6 Problems with Many Numbers . . . . . . . . . . . . . . . . . 15
1.6.1 Working with Patterns . . . . . . . . . . . . . . . . . 16
1.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

2 Problem Solving and Computing 21


2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.2 Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.3 Data Definitions . . . . . . . . . . . . . . . . . . . . . . . . 22
2.3.1 Name of Data Items . . . . . . . . . . . . . . . . . . 22
2.3.2 Data Types . . . . . . . . . . . . . . . . . . . . . . . 23
2.3.3 Data Declarations . . . . . . . . . . . . . . . . . . . . 24
2.4 Programming Languages . . . . . . . . . . . . . . . . . . . . 24

v
vi

2.4.1 High-Level Programming Languages . . . . . . . . . 24


2.4.2 Interpreters . . . . . . . . . . . . . . . . . . . . . . . 25
2.4.3 Compilers . . . . . . . . . . . . . . . . . . . . . . . . 25
2.4.4 Compiling and Execution of Java Programs . . . . . . 25
2.4.5 Compiling and Executing C++ Programs . . . . . . . 26
R
2.5 Interpretation of Commands with MATLAB and Octave . . 27
2.6 Computer Problem Solving . . . . . . . . . . . . . . . . . . 28
2.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

3 MATLAB and Octave Programming 33


3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.2 The MATLAB and Octave Prompt . . . . . . . . . . . . . . . 33
3.3 Variables and Constants . . . . . . . . . . . . . . . . . . . . 35
3.4 Assignment Statements . . . . . . . . . . . . . . . . . . . . . 35
3.5 Simple Mathematical Expressions . . . . . . . . . . . . . . . 36
3.6 Scientific Notation . . . . . . . . . . . . . . . . . . . . . . . 37
3.7 Built-In Mathematical Functions . . . . . . . . . . . . . . . . 37
3.8 Internal Documentation . . . . . . . . . . . . . . . . . . . . 38
3.9 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

II Computational Models 41
4 Introduction to Computational Models 43
4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
4.2 Preliminary Concepts . . . . . . . . . . . . . . . . . . . . . . 43
4.3 A Simple Problem: Temperature Conversion . . . . . . . . . 46
4.3.1 Initial Problem Statement . . . . . . . . . . . . . . . 46
4.3.2 Analysis and Conceptual Model . . . . . . . . . . . . 46
4.3.3 The Mathematical Model . . . . . . . . . . . . . . . . 47
4.4 Using MATLAB and Octave . . . . . . . . . . . . . . . . . . 48
4.4.1 Basic MATLAB and Octave Commands . . . . . . . . 48
4.4.2 The Computational Model . . . . . . . . . . . . . . . 48
4.4.3 Using Data Lists with MATLAB and Octave . . . . . 50
4.4.4 Implementation of Model with Data Lists . . . . . . . 53
4.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
vii

5 Computational Models and Simulation 57


5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
5.2 Categories of Computational Models . . . . . . . . . . . . . 57
5.3 Development of Computational Models . . . . . . . . . . . . 59
5.4 Simulation: Basic Concepts . . . . . . . . . . . . . . . . . . 61
5.4.1 Simulation Models . . . . . . . . . . . . . . . . . . . 62
5.4.2 Simulation Results . . . . . . . . . . . . . . . . . . . 64
5.5 Modular Decomposition . . . . . . . . . . . . . . . . . . . . 64
5.6 Average and Instantaneous Rate of Change . . . . . . . . . . 65
5.7 Area under a Curve . . . . . . . . . . . . . . . . . . . . . . . 67
5.8 The Free-Falling Object . . . . . . . . . . . . . . . . . . . . 68
5.8.1 Initial Problem Statement . . . . . . . . . . . . . . . 69
5.8.2 Analysis and Conceptual Model . . . . . . . . . . . . 69
5.8.2.1 Assumptions . . . . . . . . . . . . . . . . . 70
5.8.2.2 Basic Definitions . . . . . . . . . . . . . . 70
5.8.3 The Mathematical Model . . . . . . . . . . . . . . . . 70
5.8.4 The Computational Model . . . . . . . . . . . . . . . 71
5.8.4.1 Simple Implementation . . . . . . . . . . . 71
5.8.4.2 Implementation with Arrays . . . . . . . . . 75
5.8.4.3 Computing the Rates of Change . . . . . . . 78
5.9 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

6 Algorithms and Design Structures 83


6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
6.2 Problem Solving . . . . . . . . . . . . . . . . . . . . . . . . 83
6.3 Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
6.4 Describing Data . . . . . . . . . . . . . . . . . . . . . . . . 84
6.5 Notations for Describing Algorithms . . . . . . . . . . . . . 85
6.5.1 Flowcharts . . . . . . . . . . . . . . . . . . . . . . . 85
6.5.2 Pseudo-Code . . . . . . . . . . . . . . . . . . . . . . 86
6.6 Algorithmic Structures . . . . . . . . . . . . . . . . . . . . . 87
6.6.1 Sequence . . . . . . . . . . . . . . . . . . . . . . . . 88
6.6.2 Selection . . . . . . . . . . . . . . . . . . . . . . . . 88
6.6.3 Repetition . . . . . . . . . . . . . . . . . . . . . . . . 88
6.7 Implementation of Algorithms . . . . . . . . . . . . . . . . . 90
6.7.1 Programming Languages . . . . . . . . . . . . . . . . 91
6.7.2 Assignment and Arithmetic Expressions . . . . . . . . 92
6.7.3 Simple Numeric Computations . . . . . . . . . . . . . 92
6.7.4 Simple Input/Output . . . . . . . . . . . . . . . . . . 93
6.8 Computing Area and Circumference . . . . . . . . . . . . . . 95
6.8.1 Specification . . . . . . . . . . . . . . . . . . . . . . 95
viii

6.8.2 Algorithm with the Mathematical Model . . . . . . . 95


6.9 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97

7 Selection 99
7.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
7.2 Selection Structure . . . . . . . . . . . . . . . . . . . . . . . 99
7.2.1 General Concepts of the Selection Structure . . . . . 99
7.2.2 Selection with Pseudo-Code . . . . . . . . . . . . . . 100
7.2.3 Selection with MATLAB and Octave . . . . . . . . . 101
7.2.4 Conditional Expressions . . . . . . . . . . . . . . . . 101
7.2.5 Example with Selection . . . . . . . . . . . . . . . . 102
7.3 Complex Numbers with MATLAB and Octave . . . . . . . . 104
7.4 A Computational Model with Selection . . . . . . . . . . . . 106
7.4.1 Analysis and Mathematical Model . . . . . . . . . . . 106
7.4.2 Algorithm for General Solution . . . . . . . . . . . . 106
7.4.3 Detailed Algorithm . . . . . . . . . . . . . . . . . . . 107
7.5 Multilevel Selection . . . . . . . . . . . . . . . . . . . . . . 109
7.5.1 General Multipath Selection . . . . . . . . . . . . . . 110
7.5.2 The Case Structure . . . . . . . . . . . . . . . . . . . 111
7.6 Complex Conditions . . . . . . . . . . . . . . . . . . . . . . 113
7.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115

8 Repetition 117
8.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
8.2 Repetition with While Construct . . . . . . . . . . . . . . . . 117
8.2.1 While-Loop Flowchart . . . . . . . . . . . . . . . . . 118
8.2.2 The While Structure in Pseudo-Code . . . . . . . . . 118
8.2.3 While-Loop with MATLAB and Octave . . . . . . . . 119
8.2.4 Loop Counter . . . . . . . . . . . . . . . . . . . . . . 119
8.2.5 Accumulator Variables . . . . . . . . . . . . . . . . . 120
8.2.6 Summation of Input Numbers . . . . . . . . . . . . . 121
8.3 Repeat-Until Construct . . . . . . . . . . . . . . . . . . . . . 122
8.4 For Loop Structure . . . . . . . . . . . . . . . . . . . . . . . 124
8.4.1 The Summation Problem with a For Loop . . . . . . . 125
8.4.2 The Factorial Problem . . . . . . . . . . . . . . . . . 126
8.4.2.1 Mathematical Specification of Factorial . . . 126
8.4.2.2 Computing Factorial . . . . . . . . . . . . . 126
8.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
ix

Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128

9 Data Lists 131


9.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
9.2 Creating an Array . . . . . . . . . . . . . . . . . . . . . . . 132
9.2.1 Creating Arrays in Pseudo-Code . . . . . . . . . . . . 132
9.2.2 Creating Arrays in MATLAB and Octave . . . . . . . 133
9.3 Operations on Arrays . . . . . . . . . . . . . . . . . . . . . . 135
9.3.1 Array Elements in Pseudo-Code . . . . . . . . . . . . 136
9.3.2 Using Array Elements with MATLAB and Octave . . 136
9.3.3 Arithmetic Operations on Vectors . . . . . . . . . . . 137
9.4 Multidimensional Arrays . . . . . . . . . . . . . . . . . . . . 138
9.4.1 Multidimensional Arrays with Pseudo-Code . . . . . . 138
9.4.2 Multidimensional Arrays with MATLAB and Octave . 139
9.5 Applications Using Arrays . . . . . . . . . . . . . . . . . . . 141
9.5.1 Problems with Simple Array Manipulation . . . . . . 141
9.5.1.1 The Average Value in an Array . . . . . . . 141
9.5.1.2 Maximum Value in an Array . . . . . . . . 143
9.5.2 Searching . . . . . . . . . . . . . . . . . . . . . . . . 145
9.5.2.1 Linear Search . . . . . . . . . . . . . . . . 145
9.5.2.2 Binary Search . . . . . . . . . . . . . . . . 147
9.6 Average and Instantaneous Rate of Change . . . . . . . . . . 150
9.6.1 Average Rate of Change . . . . . . . . . . . . . . . . 150
9.6.2 Instantaneous Rate of Change . . . . . . . . . . . . . 151
9.6.3 Computing the Rates of Change . . . . . . . . . . . . 152
9.7 Area under a Curve . . . . . . . . . . . . . . . . . . . . . . . 156
9.8 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160

10 Modules 163
10.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
10.2 Modular Design . . . . . . . . . . . . . . . . . . . . . . . . 163
10.3 MATLAB and Octave Script Files . . . . . . . . . . . . . . . 165
10.4 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
10.4.1 Function Definition . . . . . . . . . . . . . . . . . . . 166
10.4.2 Function Definition in MATLAB and Octave . . . . . 167
10.4.3 Simple Function Calls . . . . . . . . . . . . . . . . . 168
10.4.4 Functions with Parameters . . . . . . . . . . . . . . . 169
10.4.5 Function Calls with Data . . . . . . . . . . . . . . . . 170
10.4.6 Functions with Return Data . . . . . . . . . . . . . . 171
10.5 Documenting MATLAB and Octave Functions . . . . . . . . 172
10.6 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
x

Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173


Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174

11 Mathematical Models: Basic Concepts 175


11.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
11.2 From the Real-World to the Abstract World . . . . . . . . . . 175
11.3 Discrete and Continuous Models . . . . . . . . . . . . . . . . 177
11.4 Difference Equations and Data Lists . . . . . . . . . . . . . . 177
11.5 Functional Equations . . . . . . . . . . . . . . . . . . . . . . 180
11.6 Validating a Model . . . . . . . . . . . . . . . . . . . . . . . 181
11.7 Models with Arithmetic Growth . . . . . . . . . . . . . . . . 181
11.8 Using MATLAB and Octave to Implement the Model . . . . . 182
11.8.1 MATLAB and Octave Implementation . . . . . . . . . 182
11.8.2 Producing the Charts of the Model . . . . . . . . . . . 183
11.9 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186

12 Models with Quadratic Growth 187


12.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
12.2 Quadratic Growth . . . . . . . . . . . . . . . . . . . . . . . 187
12.3 Differences of the Data . . . . . . . . . . . . . . . . . . . . . 188
12.4 Difference Equations . . . . . . . . . . . . . . . . . . . . . . 191
12.5 Functional Equations . . . . . . . . . . . . . . . . . . . . . . 192
12.6 Models with Quadratic Growth . . . . . . . . . . . . . . . . 193
12.6.1 Simple Quadratic Growth Models . . . . . . . . . . . 193
12.6.2 Models with Sums of Arithmetic Growth . . . . . . . 194
12.7 Solution and Graphs of Quadratic Equations . . . . . . . . . 196
12.8 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198

13 Models with Polynomial Functions 201


13.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
13.2 General Forms of Polynomial Functions . . . . . . . . . . . . 201
13.3 Evaluation and Graphs of Polynomial Functions . . . . . . . 202
13.3.1 Evaluating Polynomial Functions . . . . . . . . . . . 202
13.3.2 Generating Graphs of Polynomial Functions . . . . . . 205
13.4 Solution to Polynomial Equations . . . . . . . . . . . . . . . 206
13.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
xi

14 Data Estimation and Empirical Modeling 211


14.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
14.2 Interpolation . . . . . . . . . . . . . . . . . . . . . . . . . . 211
14.2.1 Linear Interpolation . . . . . . . . . . . . . . . . . . 212
14.2.2 Nonlinear Interpolation . . . . . . . . . . . . . . . . . 215
14.3 Curve Fitting . . . . . . . . . . . . . . . . . . . . . . . . . . 218
14.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221

15 Models with Geometric Growth 225


15.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
15.2 Basic Concepts of Geometric Growth . . . . . . . . . . . . . 225
15.2.1 Geometric Growth with Increasing Data . . . . . . . . 226
15.2.2 Geometric Growth with Decreasing Data . . . . . . . 226
15.2.3 Geometric Growth: Case Study 1 . . . . . . . . . . . 227
15.2.4 Geometric Growth: Case Study 2 . . . . . . . . . . . 230
15.3 Functional Equations in Geometric Growth . . . . . . . . . . 232
15.4 Properties of Exponential Functions . . . . . . . . . . . . . . 233
15.4.1 Exponentiation . . . . . . . . . . . . . . . . . . . . . 233
15.4.2 Logarithms . . . . . . . . . . . . . . . . . . . . . . . 233
15.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236

16 Vectors and Matrices 239


16.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
16.2 Vectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
16.3 Simple Vector Operations . . . . . . . . . . . . . . . . . . . 240
16.3.1 Arithmetic Operations . . . . . . . . . . . . . . . . . 241
16.3.2 Applying Vector Functions . . . . . . . . . . . . . . . 243
16.4 Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
16.4.1 Arithmetic Operations . . . . . . . . . . . . . . . . . 246
16.4.2 Function Application . . . . . . . . . . . . . . . . . . 247
16.5 Array Indexing . . . . . . . . . . . . . . . . . . . . . . . . . 247
16.6 Plotting Vectors . . . . . . . . . . . . . . . . . . . . . . . . . 249
16.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
xii

17 Text Data 253


17.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
17.2 String Vectors . . . . . . . . . . . . . . . . . . . . . . . . . . 253
17.2.1 String Operations . . . . . . . . . . . . . . . . . . . . 253
17.2.2 String Functions . . . . . . . . . . . . . . . . . . . . 254
17.3 String Matrices . . . . . . . . . . . . . . . . . . . . . . . . . 257
17.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258

18 Advanced Data Structures 259


18.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
18.2 Cell Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
18.3 Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
18.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268

Appendix A MATLAB and GNU Octave Software 271


A.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
A.2 The MATLAB Components . . . . . . . . . . . . . . . . . . 271
A.3 The Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . 272
A.4 Starting MATLAB . . . . . . . . . . . . . . . . . . . . . . . 274
A.5 Exiting MATLAB . . . . . . . . . . . . . . . . . . . . . . . 274
A.6 The Command Window . . . . . . . . . . . . . . . . . . . . 275
A.7 Current User Folder . . . . . . . . . . . . . . . . . . . . . . 275
A.8 The Startup Folder . . . . . . . . . . . . . . . . . . . . . . . 276
A.9 Using Command Files (Scripts) . . . . . . . . . . . . . . . . 276
A.10 MATLAB Functions . . . . . . . . . . . . . . . . . . . . . . 280
A.11 GNU Octave . . . . . . . . . . . . . . . . . . . . . . . . . . 285

Appendix B Computer Systems 289


B.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
B.2 Computer Systems . . . . . . . . . . . . . . . . . . . . . . . 289
B.2.1 Hardware Components . . . . . . . . . . . . . . . . . 290
B.2.1.1 Processors . . . . . . . . . . . . . . . . . . 290
B.2.1.2 Main Memory . . . . . . . . . . . . . . . . 291
B.2.1.3 Storage Devices . . . . . . . . . . . . . . . 291
B.2.1.4 Input Devices . . . . . . . . . . . . . . . . 292
B.2.1.5 Output Devices . . . . . . . . . . . . . . . 292
B.2.1.6 Bus . . . . . . . . . . . . . . . . . . . . . 292
B.2.2 Computer Networks . . . . . . . . . . . . . . . . . . 292
B.2.3 Software Components . . . . . . . . . . . . . . . . . 293
xiii

B.3 Operating Systems . . . . . . . . . . . . . . . . . . . . . . . 294


B.3.1 Operating System User Interfaces . . . . . . . . . . . 294
B.3.2 Contemporary Operating Systems . . . . . . . . . . . 295
B.3.2.1 Unix . . . . . . . . . . . . . . . . . . . . . 295
B.3.2.2 Microsoft Windows . . . . . . . . . . . . . 296
B.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296

Bibliography 297

Index 299
This page intentionally left blank
List of Figures

1.1 Identifying nouns and verbs. . . . . . . . . . . . . . . . . . . 4


1.2 Area of rectangle. . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Formula from nouns and verbs. . . . . . . . . . . . . . . . . . 5
1.4 Heating water. . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.5 Multiple steps problem. . . . . . . . . . . . . . . . . . . . . . 7
1.6 Diagram of counting example. . . . . . . . . . . . . . . . . . 7
1.7 Diagram with average. . . . . . . . . . . . . . . . . . . . . . 8
1.8 Validating conditions. . . . . . . . . . . . . . . . . . . . . . . 11
1.9 Simple data validation. . . . . . . . . . . . . . . . . . . . . . 12
1.10 Multiple conditions. . . . . . . . . . . . . . . . . . . . . . . . 12
1.11 OR used with one value. . . . . . . . . . . . . . . . . . . . . 13
1.12 OR used with multiple values. . . . . . . . . . . . . . . . . . 13

2.1 General structure of a program. . . . . . . . . . . . . . . . . . 22


2.2 Compiling a Java source program. . . . . . . . . . . . . . . . 26
2.3 Executing a Java program. . . . . . . . . . . . . . . . . . . . 26
2.4 Compiling a C++ program. . . . . . . . . . . . . . . . . . . . 27
2.5 Linking a C++ program. . . . . . . . . . . . . . . . . . . . . 27
2.6 MATLAB/Octave interpreter. . . . . . . . . . . . . . . . . . . 28
2.7 The waterfall model. . . . . . . . . . . . . . . . . . . . . . . 29

3.1 MATLAB/Octave interpreter. . . . . . . . . . . . . . . . . . . 33


3.2 Simple commands in an Octave window. . . . . . . . . . . . . 34

4.1 Computational science as an integration of several disciplines. 45


4.2 Simple commands in an Octave window. . . . . . . . . . . . . 49
4.3 Plot of the temperature conversion. . . . . . . . . . . . . . . . 54

5.1 Discrete changes of number of cars in the queue. . . . . . . . 58


5.2 Development of computational models. . . . . . . . . . . . . 59
5.3 Model development and abstract levels. . . . . . . . . . . . . 61
5.4 High-level view of a simulation model. . . . . . . . . . . . . . 63
5.5 The slope of a line. . . . . . . . . . . . . . . . . . . . . . . . 65
5.6 The slope of a secant. . . . . . . . . . . . . . . . . . . . . . . 66

xv
xvi

5.7 The slope of a tangent. . . . . . . . . . . . . . . . . . . . . . 67


5.8 The area under a curve. . . . . . . . . . . . . . . . . . . . . . 69
5.9 Computing the height of the falling object in Octave. . . . . . 73
5.10 Plot of the values of height with time. . . . . . . . . . . . . . 77
5.11 Plot of the values of velocity with time. . . . . . . . . . . . . 79

6.1 Transformation applied to the input data. . . . . . . . . . . . . 84


6.2 Simple flowchart symbols. . . . . . . . . . . . . . . . . . . . 86
6.3 A simple flowchart example. . . . . . . . . . . . . . . . . . . 87
6.4 A flowchart with a sequence. . . . . . . . . . . . . . . . . . . 88
6.5 Selection structure in flowchart form. . . . . . . . . . . . . . . 89
6.6 An example of the selection structure. . . . . . . . . . . . . . 89
6.7 While loop of the repetition structure. . . . . . . . . . . . . . 90
6.8 Repeat-until loop of the repetition structure. . . . . . . . . . . 91
6.9 Flowchart data input/output symbol. . . . . . . . . . . . . . . 94

7.1 Flowchart of the selection structure. . . . . . . . . . . . . . . 100


7.2 Example of selection structure. . . . . . . . . . . . . . . . . . 103
7.3 Complex number P in the complex plane. . . . . . . . . . . . 104
7.4 High-level flowchart for the quadratic equation. . . . . . . . . 107
7.5 Solving the quadratic equation in Octave. . . . . . . . . . . . 109

8.1 A flowchart with a while-loop . . . . . . . . . . . . . . . . . 118


8.2 A flowchart with a repeat-until structure . . . . . . . . . . . . 123

9.1 A simple array. . . . . . . . . . . . . . . . . . . . . . . . . . 131


9.2 A simple two-dimensional array. . . . . . . . . . . . . . . . . 132
9.3 The slope of a line. . . . . . . . . . . . . . . . . . . . . . . . 151
9.4 The slope of a secant. . . . . . . . . . . . . . . . . . . . . . . 152
9.5 The slope of a tangent. . . . . . . . . . . . . . . . . . . . . . 153
9.6 The velocity of the free-falling object. . . . . . . . . . . . . . 154
9.7 Bar chart of the velocity of the free-falling object. . . . . . . . 155
9.8 The area under a curve. . . . . . . . . . . . . . . . . . . . . . 157

10.1 Modular structure of a computational model. . . . . . . . . . . 164


10.2 Module communication and interface. . . . . . . . . . . . . . 164
10.3 A simple function call. . . . . . . . . . . . . . . . . . . . . . 168

11.1 Real-world to abstract-world mapping. . . . . . . . . . . . . . 176


11.2 Discrete model. . . . . . . . . . . . . . . . . . . . . . . . . . 178
11.3 Continuous model. . . . . . . . . . . . . . . . . . . . . . . . 178
11.4 Monthly price of electric energy. . . . . . . . . . . . . . . . . 184
11.5 Monthly price given and calculated of electric energy. . . . . . 185
xvii

12.1 Number of patients for 1995–2002. . . . . . . . . . . . . . . . 188


12.2 Original data. . . . . . . . . . . . . . . . . . . . . . . . . . . 189
12.3 Original data and differences. . . . . . . . . . . . . . . . . . . 190
12.4 Number of links to connect n computers. . . . . . . . . . . . . 195
12.5 Graph of a quadratic equation. . . . . . . . . . . . . . . . . . 197

13.1 Graph of the equation y = 2x3 − 3x2 − 36x + 14. . . . . . . . . 205


13.2 Graph of the equation y = 3x5 − 2. . . . . . . . . . . . . . . . 206
13.3 Graph of equation y = 23x4 − 17x3 − 14x2 + 3x + 3. . . . . . . 207

14.1 Graph of linear interpolation of an intermediate data point. . . 212


14.2 Graph of linear interpolation of multiple intermediate data
points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
14.3 Graph of given data points. . . . . . . . . . . . . . . . . . . . 216
14.4 Graph of given and estimated data points. . . . . . . . . . . . 217
14.5 Graph of fitted linear polynomial. . . . . . . . . . . . . . . . 219
14.6 Regression of linear polynomial. . . . . . . . . . . . . . . . . 220
14.7 Regression of a polynomial of degree 3. . . . . . . . . . . . . 221

15.1 Data with geometric growth. . . . . . . . . . . . . . . . . . . 226


15.2 Data decreasing with geometric growth. . . . . . . . . . . . . 227
15.3 Population of a small town for 1995–2003. . . . . . . . . . . . 229
15.4 Impurities in water (parts/gallon). . . . . . . . . . . . . . . . 231
15.5 A typical exponential function, 95.25 · 1.6 t . . . . . . . . . . . 234
15.6 Natural logarithm. . . . . . . . . . . . . . . . . . . . . . . . . 235

16.1 A simple plot. . . . . . . . . . . . . . . . . . . . . . . . . . . 250

18.1 A simple cell array. . . . . . . . . . . . . . . . . . . . . . . . 261

A.1 MATLAB desktop. . . . . . . . . . . . . . . . . . . . . . . . 273


A.2 MATLAB Command Window. . . . . . . . . . . . . . . . . . 275
A.3 MATLAB Current Folder. . . . . . . . . . . . . . . . . . . . 276
A.4 MATLAB Editor. . . . . . . . . . . . . . . . . . . . . . . . . 277
A.5 MATLAB Current Folder. . . . . . . . . . . . . . . . . . . . 277
A.6 The Octave window. . . . . . . . . . . . . . . . . . . . . . . 286
A.7 Octave help documentation on plot. . . . . . . . . . . . . . . 287
A.8 Octave documentation manual. . . . . . . . . . . . . . . . . . 287

B.1 Basic hardware structure of a computer system. . . . . . . . . 291


B.2 Basic structure of a network. . . . . . . . . . . . . . . . . . . 293
This page intentionally left blank
List of Tables

4.1 Celsius and Fahrenheit temperatures. . . . . . . . . . . . . . . 50

5.1 Values of height and vertical velocity. . . . . . . . . . . . . . 74


5.2 Values of the rates of change of height and vertical velocity of
the free-falling object. . . . . . . . . . . . . . . . . . . . . . . 80

11.1 Average price of electricity (cents per kW-h) in 2010. . . . . . 180

12.1 Number of patients for years 1995–2002. . . . . . . . . . . . 187


12.2 Number of cable installations for years 1995–2002. . . . . . . 195

15.1 Population of a small town during 1995–2003 (in thousands). . 227

xix
Discovering Diverse Content Through
Random Scribd Documents
464 Diosma ovata Oval-leaved G. Shrub. May.
Diosma H.
Straddling-leaved G.
465 Protea divaricata Shrub. July.
Protea H.
G.
466 Goodenia tenella Slender Goodenia Shrub. June.
H.
Lythrum G. All
467 Shrubby Lythrum Shrub.
fruticosum H. Summer.
H.
468 Aloe arborescens Tree Aloe Shrub. June.
H.
Crown-flowered G.
469 Protea coronata Shrub. July.
Protea H.
G.
470 Ophrys arachnoides Spider-like Ophrys Shrub. July.
H.
G.
471 Ophrys myodes Fly-like Ophrys Shrub. July.
H.
Scolloped-leaved G.
472 Hibbertia crenata Shrub. July.
Hibbertia H.
473 Yucca gloriosa Superb Yucca Har. Shrub. July.
Winged-leaved G.
474 Psoralea pinnata Shrub. July.
Psoralea H.
Heart-bearing H.
475 Serapias cordigera Shrub. June.
Serapias H.
Melaleuca Diosma-leaved G.
476 Shrub. July.
diosmæfolia Melaleuca H.
477 Linum venustum Graceful Linum Har. Shrub. July.
Broad-leaved H.
478 Crinum latifolium Bulb. August.
Crinum H.
479 Fragaria indica Indian Strawberry Har. Herb. July.
Shining-leaved
480 Vaccinium nitidum Har. Shrub. June.
Whortle-berry
West India Bark- H.
481 Cinchona caribæa Shrub. August.
tree H.
482 Dianthus alpinus Alpine Pink G. Shrub. July.
H.
Dwarf winged- G.
483 Dahlia pinnata nana Herb. September.
leaved Dahlia H.
G.
484 Nicotiana glutinosa Clammy Tobacco Herb. August.
H.
Melaleuca Willow-leaved G.
485 Shrub. July.
salicifolia Melaleuca H.
486 Pæonia Daurica Dauric Pæony Har. Herb. June.
Xeranthemum Herbaceous Eternal G. All
487 Herb.
herbaceum Flower H. Summer.
Broussonetia
488 Paper Mulberry Har. Shrub. June.
papyrifera
Gnaphalium Large-flowered G.
489 Shrub. August.
grandiflorum Gnaphalium H.
H.
490 Pontederia dilatata Dilated Pontederia Aquatic. September.
H.
H.
491 Gardenia radicans Rooting Gardenia Shrub. August.
H.
Oxylobium Heart-leaved G.
492 Shrub. July.
cordifolium Oxylobium H.
ERRATA.
Plate 438 read 433.
467 instead of Lythrum of Linnæus, read Lythrum fruticosum of Linnæus.
468 line 4 from the bottom, instead of height read size.
*** END OF THE PROJECT GUTENBERG EBOOK THE
BOTANIST'S REPOSITORY FOR NEW AND RARE PLANTS; VOL.
07 [OF 10] ***

Updated editions will replace the previous one—the old editions will
be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States copyright in
these works, so the Foundation (and you!) can copy and distribute it
in the United States without permission and without paying copyright
royalties. Special rules, set forth in the General Terms of Use part of
this license, apply to copying and distributing Project Gutenberg™
electronic works to protect the PROJECT GUTENBERG™ concept
and trademark. Project Gutenberg is a registered trademark, and
may not be used if you charge for an eBook, except by following the
terms of the trademark license, including paying royalties for use of
the Project Gutenberg trademark. If you do not charge anything for
copies of this eBook, complying with the trademark license is very
easy. You may use this eBook for nearly any purpose such as
creation of derivative works, reports, performances and research.
Project Gutenberg eBooks may be modified and printed and given
away—you may do practically ANYTHING in the United States with
eBooks not protected by U.S. copyright law. Redistribution is subject
to the trademark license, especially commercial redistribution.

START: FULL LICENSE


THE FULL PROJECT GUTENBERG LICENSE
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the free


distribution of electronic works, by using or distributing this work (or
any other work associated in any way with the phrase “Project
Gutenberg”), you agree to comply with all the terms of the Full
Project Gutenberg™ License available with this file or online at
www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works
1.A. By reading or using any part of this Project Gutenberg™
electronic work, you indicate that you have read, understand, agree
to and accept all the terms of this license and intellectual property
(trademark/copyright) agreement. If you do not agree to abide by all
the terms of this agreement, you must cease using and return or
destroy all copies of Project Gutenberg™ electronic works in your
possession. If you paid a fee for obtaining a copy of or access to a
Project Gutenberg™ electronic work and you do not agree to be
bound by the terms of this agreement, you may obtain a refund from
the person or entity to whom you paid the fee as set forth in
paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only be


used on or associated in any way with an electronic work by people
who agree to be bound by the terms of this agreement. There are a
few things that you can do with most Project Gutenberg™ electronic
works even without complying with the full terms of this agreement.
See paragraph 1.C below. There are a lot of things you can do with
Project Gutenberg™ electronic works if you follow the terms of this
agreement and help preserve free future access to Project
Gutenberg™ electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright law in
the United States and you are located in the United States, we do
not claim a right to prevent you from copying, distributing,
performing, displaying or creating derivative works based on the
work as long as all references to Project Gutenberg are removed. Of
course, we hope that you will support the Project Gutenberg™
mission of promoting free access to electronic works by freely
sharing Project Gutenberg™ works in compliance with the terms of
this agreement for keeping the Project Gutenberg™ name
associated with the work. You can easily comply with the terms of
this agreement by keeping this work in the same format with its
attached full Project Gutenberg™ License when you share it without
charge with others.

1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the terms
of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.

1.E. Unless you have removed all references to Project Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project Gutenberg™
work (any work on which the phrase “Project Gutenberg” appears, or
with which the phrase “Project Gutenberg” is associated) is
accessed, displayed, performed, viewed, copied or distributed:
This eBook is for the use of anyone anywhere in the United
States and most other parts of the world at no cost and with
almost no restrictions whatsoever. You may copy it, give it away
or re-use it under the terms of the Project Gutenberg License
included with this eBook or online at www.gutenberg.org. If you
are not located in the United States, you will have to check the
laws of the country where you are located before using this
eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is derived


from texts not protected by U.S. copyright law (does not contain a
notice indicating that it is posted with permission of the copyright
holder), the work can be copied and distributed to anyone in the
United States without paying any fees or charges. If you are
redistributing or providing access to a work with the phrase “Project
Gutenberg” associated with or appearing on the work, you must
comply either with the requirements of paragraphs 1.E.1 through
1.E.7 or obtain permission for the use of the work and the Project
Gutenberg™ trademark as set forth in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is posted


with the permission of the copyright holder, your use and distribution
must comply with both paragraphs 1.E.1 through 1.E.7 and any
additional terms imposed by the copyright holder. Additional terms
will be linked to the Project Gutenberg™ License for all works posted
with the permission of the copyright holder found at the beginning of
this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files containing a
part of this work or any other work associated with Project
Gutenberg™.

1.E.5. Do not copy, display, perform, distribute or redistribute this


electronic work, or any part of this electronic work, without
prominently displaying the sentence set forth in paragraph 1.E.1 with
active links or immediate access to the full terms of the Project
Gutenberg™ License.
1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or expense
to the user, provide a copy, a means of exporting a copy, or a means
of obtaining a copy upon request, of the work in its original “Plain
Vanilla ASCII” or other form. Any alternate format must include the
full Project Gutenberg™ License as specified in paragraph 1.E.1.

1.E.7. Do not charge a fee for access to, viewing, displaying,


performing, copying or distributing any Project Gutenberg™ works
unless you comply with paragraph 1.E.8 or 1.E.9.

1.E.8. You may charge a reasonable fee for copies of or providing


access to or distributing Project Gutenberg™ electronic works
provided that:

• You pay a royalty fee of 20% of the gross profits you derive from
the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”

• You provide a full refund of any money paid by a user who


notifies you in writing (or by e-mail) within 30 days of receipt that
s/he does not agree to the terms of the full Project Gutenberg™
License. You must require such a user to return or destroy all
copies of the works possessed in a physical medium and
discontinue all use of and all access to other copies of Project
Gutenberg™ works.

• You provide, in accordance with paragraph 1.F.3, a full refund of


any money paid for a work or a replacement copy, if a defect in
the electronic work is discovered and reported to you within 90
days of receipt of the work.

• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.

1.E.9. If you wish to charge a fee or distribute a Project Gutenberg™


electronic work or group of works on different terms than are set
forth in this agreement, you must obtain permission in writing from
the Project Gutenberg Literary Archive Foundation, the manager of
the Project Gutenberg™ trademark. Contact the Foundation as set
forth in Section 3 below.

1.F.

1.F.1. Project Gutenberg volunteers and employees expend


considerable effort to identify, do copyright research on, transcribe
and proofread works not protected by U.S. copyright law in creating
the Project Gutenberg™ collection. Despite these efforts, Project
Gutenberg™ electronic works, and the medium on which they may
be stored, may contain “Defects,” such as, but not limited to,
incomplete, inaccurate or corrupt data, transcription errors, a
copyright or other intellectual property infringement, a defective or
damaged disk or other medium, a computer virus, or computer
codes that damage or cannot be read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except


for the “Right of Replacement or Refund” described in paragraph
1.F.3, the Project Gutenberg Literary Archive Foundation, the owner
of the Project Gutenberg™ trademark, and any other party
distributing a Project Gutenberg™ electronic work under this
agreement, disclaim all liability to you for damages, costs and
expenses, including legal fees. YOU AGREE THAT YOU HAVE NO
REMEDIES FOR NEGLIGENCE, STRICT LIABILITY, BREACH OF
WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE
PROVIDED IN PARAGRAPH 1.F.3. YOU AGREE THAT THE
FOUNDATION, THE TRADEMARK OWNER, AND ANY
DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE LIABLE
TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL,
PUNITIVE OR INCIDENTAL DAMAGES EVEN IF YOU GIVE
NOTICE OF THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you


discover a defect in this electronic work within 90 days of receiving it,
you can receive a refund of the money (if any) you paid for it by
sending a written explanation to the person you received the work
from. If you received the work on a physical medium, you must
return the medium with your written explanation. The person or entity
that provided you with the defective work may elect to provide a
replacement copy in lieu of a refund. If you received the work
electronically, the person or entity providing it to you may choose to
give you a second opportunity to receive the work electronically in
lieu of a refund. If the second copy is also defective, you may
demand a refund in writing without further opportunities to fix the
problem.

1.F.4. Except for the limited right of replacement or refund set forth in
paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of damages.
If any disclaimer or limitation set forth in this agreement violates the
law of the state applicable to this agreement, the agreement shall be
interpreted to make the maximum disclaimer or limitation permitted
by the applicable state law. The invalidity or unenforceability of any
provision of this agreement shall not void the remaining provisions.
1.F.6. INDEMNITY - You agree to indemnify and hold the
Foundation, the trademark owner, any agent or employee of the
Foundation, anyone providing copies of Project Gutenberg™
electronic works in accordance with this agreement, and any
volunteers associated with the production, promotion and distribution
of Project Gutenberg™ electronic works, harmless from all liability,
costs and expenses, including legal fees, that arise directly or
indirectly from any of the following which you do or cause to occur:
(a) distribution of this or any Project Gutenberg™ work, (b)
alteration, modification, or additions or deletions to any Project
Gutenberg™ work, and (c) any Defect you cause.

Section 2. Information about the Mission of


Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new computers.
It exists because of the efforts of hundreds of volunteers and
donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project Gutenberg™’s
goals and ensuring that the Project Gutenberg™ collection will
remain freely available for generations to come. In 2001, the Project
Gutenberg Literary Archive Foundation was created to provide a
secure and permanent future for Project Gutenberg™ and future
generations. To learn more about the Project Gutenberg Literary
Archive Foundation and how your efforts and donations can help,
see Sections 3 and 4 and the Foundation information page at
www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation
The Project Gutenberg Literary Archive Foundation is a non-profit
501(c)(3) educational corporation organized under the laws of the
state of Mississippi and granted tax exempt status by the Internal
Revenue Service. The Foundation’s EIN or federal tax identification
number is 64-6221541. Contributions to the Project Gutenberg
Literary Archive Foundation are tax deductible to the full extent
permitted by U.S. federal laws and your state’s laws.

The Foundation’s business office is located at 809 North 1500 West,


Salt Lake City, UT 84116, (801) 596-1887. Email contact links and up
to date contact information can be found at the Foundation’s website
and official page at www.gutenberg.org/contact

Section 4. Information about Donations to


the Project Gutenberg Literary Archive
Foundation
Project Gutenberg™ depends upon and cannot survive without
widespread public support and donations to carry out its mission of
increasing the number of public domain and licensed works that can
be freely distributed in machine-readable form accessible by the
widest array of equipment including outdated equipment. Many small
donations ($1 to $5,000) are particularly important to maintaining tax
exempt status with the IRS.

The Foundation is committed to complying with the laws regulating


charities and charitable donations in all 50 states of the United
States. Compliance requirements are not uniform and it takes a
considerable effort, much paperwork and many fees to meet and
keep up with these requirements. We do not solicit donations in
locations where we have not received written confirmation of
compliance. To SEND DONATIONS or determine the status of
compliance for any particular state visit www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states where


we have not met the solicitation requirements, we know of no
prohibition against accepting unsolicited donations from donors in
such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot make


any statements concerning tax treatment of donations received from
outside the United States. U.S. laws alone swamp our small staff.

Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.

Section 5. General Information About Project


Gutenberg™ electronic works
Professor Michael S. Hart was the originator of the Project
Gutenberg™ concept of a library of electronic works that could be
freely shared with anyone. For forty years, he produced and
distributed Project Gutenberg™ eBooks with only a loose network of
volunteer support.

Project Gutenberg™ eBooks are often created from several printed


editions, all of which are confirmed as not protected by copyright in
the U.S. unless a copyright notice is included. Thus, we do not
necessarily keep eBooks in compliance with any particular paper
edition.

Most people start at our website which has the main PG search
facility: www.gutenberg.org.

This website includes information about Project Gutenberg™,


including how to make donations to the Project Gutenberg Literary
Archive Foundation, how to help produce our new eBooks, and how
to subscribe to our email newsletter to hear about new eBooks.
back
back
back
back
back
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookfinal.com

You might also like