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
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
https://ebookfinal.com/download/java-an-introduction-to-problem-
solving-and-programming-7th-edition-walter-savitch/
https://ebookfinal.com/download/cases-on-information-technology-
entrepreneurship-jose-a-medina-garrido/
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/
https://ebookfinal.com/download/an-introduction-to-statistical-
problem-solving-in-geography-third-edition-j-chapman-mcgrew-jr/
https://ebookfinal.com/download/giant-molecules-essential-materials-
for-everyday-living-and-problem-solving-2nd-edition-charles-e-
carraher-jr/
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
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.
K13027
SERIES EDITOR
Horst Simon
Deputy Director
Lawrence Berkeley National Laboratory
Berkeley, California, U.S.A.
PUBLISHED TITLES
PETASCALE COMPUTING: ALGORITHMS AND APPLICATIONS
Edited by David A. Bader
INTRODUCTION TO SCHEDULING
Yves Robert and Frédéric Vivien
José M. Garrido
Kennesaw State University
Georgia, USA
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
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
Preface xxi
v
vi
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
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
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
Bibliography 297
Index 299
This page intentionally left blank
List of Figures
xv
xvi
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.
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.
• 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 comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.
1.F.
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.
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.
Most people start at our website which has the main PG search
facility: www.gutenberg.org.
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.
ebookfinal.com