Invitation to Computer Science 5th Edition

Slides:



Advertisements
Similar presentations
Modeling Process Quality
Advertisements

An Introduction to Programming and Object Oriented Design using Java 2 nd Edition. May 2004 Jaime Niño Frederick Hosch Chapter 0 : Introduction to Object.
Chapter 14 Simulation and Other Applications Chapter Goals Define simulation Give examples of complex systems Distinguish between continuous and.
Chapter 14 Simulation and Other Applications Nell Dale John Lewis.
Chapter 12: Simulation and Modeling Invitation to Computer Science, Java Version, Third Edition.
Modeling and Simulation
Chapter 12: Simulation and Modeling
Computer Science 101 Modeling and Simulation. Scientific Method Observe behavior of a system and formulate an hypothesis to explain it Design and carry.
Role of Statistics in Geography
Unit 1 Chapter 1 Introduction into Earth Science.
SUPERCOMPUTING CHALLENGE KICKOFF 2015 A Model for Computational Science Investigations Oct 2015 © challenge.org Supercomputing Around.
Pascucci-1 Valerio Pascucci Director, CEDMAV Professor, SCI Institute & School of Computing Laboratory Fellow, PNNL Massive Data Management, Analysis,
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
Introduction to Operations Research. MATH Mathematical Modeling 2 Introduction to Operations Research Operations research/management science –Winston:
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Steven S. Zumdahl Susan A. Zumdahl Donald J. DeCoste Gretchen M. Adams University of Illinois at Urbana-Champaign Chapter 1 Chemistry: An Introduction.
ENVIRONMENTAL SCIENCE
Introduction to Earth Science Section 1 SECTION 1: WHAT IS EARTH SCIENCE? Preview  Key Ideas Key Ideas  The Scientific Study of Earth The Scientific.
Section 1.1 The Science of Chemistry 1.To understand the importance of learning chemistry 2.To define chemistry Objectives.
Chapter 1 The Chemical World. What Is Chemistry?  The science that deals with the materials of the universe and the changes these materials undergo.
7. Air Quality Modeling Laboratory: individual processes Field: system observations Numerical Models: Enable description of complex, interacting, often.
Modelling & Simulation of Semiconductor Devices Lecture 1 & 2 Introduction to Modelling & Simulation.
Yandell - Econ 216 Chap 1-1 Chapter 1 Introduction and Data Collection.
Teacher Website To access teacher info from School website GO TO:
Sub-fields of computer science. Sub-fields of computer science.
CompSci 280 S Introduction to Software Development
Chapter 12: Simulation and Modeling
Decision Support Systems
OPERATING SYSTEMS CS 3502 Fall 2017
Chapter 2 Objectives Describe the purpose of the scientific method.
Warm Up 9/20 What is any size group of interacting parts that form a complex whole called? System What are the two sources of energy for the Earth system?
Prepared by Lloyd R. Jaisingh
Modeling and Simulation (An Introduction)
Economics Unit 1: Individual, Business, & Government Choices
2.00_Study of Biology_Characteristics of Life
Chemistry: An Introduction
Section 2: Science as a Process
Models, Scientific and Otherwise, and Theories
Learning Objectives I can construct and organize data into tables.
Section 1: The Nature of Science
Chemistry: An Introduction
DSS & Warehousing Systems
Introduction to Chemistry
Chapter 1: Introduction to Science 1.1 The Nature of Science 1.2 The Way Science Works 1.3 Organizing Data.
Chapter 1 Chemistry: An Introduction
Queues Chapter 8 (continued)
Objective of This Course
Chapter 0: Introduction
Scientific Inquiry Unit 0.3.
Ch13 Empirical Methods.
Introduction to Science
Chapter 0 : Introduction to Object Oriented Design
Foundations of Technology Modeling and Prototypes
Introduction- Ch. 2, Sec. 1 Scientific Methods
The Scientific Method Section 2.1.
Chapter 2 Objectives Describe the purpose of the scientific method.
Section 1: The Nature of Science
Chapter 2 Objectives Describe the purpose of the scientific method.
Basic Chemistry: A Foundation by Steven S
Simulation, Graphics and Other Applications
Section 1: The Nature of Science
Building Valid, Credible, and Appropriately Detailed Simulation Models
Key Ideas How do scientists explore the world?
Data and Data Collection
The Nature of Science.
COMPUTER GRAPHICS with OpenGL (3rd Edition) Donald Hearn M
SIMULATION IN THE FINANCE INDUSTRY BY HARESH JANI
The steps of scientific computation
Chapter 1 Nature of Science.
Presentation transcript:

Invitation to Computer Science 5th Edition Chapter 13 Simulation and Modeling

Objectives In this chapter, you will learn about: Computational modeling Running the model Visualizing results Invitation to Computer Science, 5th Edition

Introduction Computational modeling Having a major impact on a number of quantitative fields, including: Chemistry, biology, medicine, meteorology, ecology, geography, and economics Invitation to Computer Science, 5th Edition 3

Computational Modeling Scientific method Entails observing the behavior of a system and formulating a hypothesis that tries to explain its behavior Model Abstraction of the system being studied Computer simulation Physical system is modeled as a set of mathematical equations and/or algorithmic procedures that capture the fundamental characteristics and behavior of a system Invitation to Computer Science, 5th Edition 4

Computational Modeling (continued) Why construct a simulation model? Existence Physical realization Safety Speed of construction Time scale Ethical behavior Ease of modification Invitation to Computer Science, 5th Edition

Figure 13.1 Using a Simulation in an Interactive Design Environment Invitation to Computer Science, 5th Edition

Computational Models, Accuracy, and Errors Issues in modeling Achieving proper balance between accuracy and complexity We may not know, in a mathematical sense, exactly how to describe certain types of systems and behaviors Stochastic components Parts of the system that display random behavior Invitation to Computer Science, 5th Edition

An Example of Model Building Discrete event simulation One of the most popular and widely used techniques for building computer models When we process an event: We change the state of the simulated system Invitation to Computer Science, 5th Edition

Figure 13.2 Example of Simulated Events Invitation to Computer Science, 5th Edition

Figure 13.3 System to Be Modeled Invitation to Computer Science, 5th Edition

Figure 13.4 Algorithm for New Customer Arrival Invitation to Computer Science, 5th Edition

Figure 13.5 Statistical Distribution of Customer Service Time Invitation to Computer Science, 5th Edition

Figure 13.6 Algorithm for Generating Random Numbers That Follow the Distribution Given in Figure 13.5 Invitation to Computer Science, 5th Edition

An Example of Model Building (continued) Uniform random number Random integer that takes on one of the values 1, 2, 3, . . . , 100 with equal likelihood Garbage in-garbage out Results you get out of a simulation model are only as good as the data and the assumptions put into the model Invitation to Computer Science, 5th Edition

Figure 13.7 Algorithm for Customer Departure Event Invitation to Computer Science, 5th Edition

Figure 13.8 The Main Algorithm of our Simulation Model Invitation to Computer Science, 5th Edition

Running the Model and Visualizing Results Scientific visualization How do you visualize data in a way that highlights its important characteristics and simplifies its interpretation? Concerned with issues such as data extraction and data manipulation Computer graphics Concerned with the technical issues involved in information display Invitation to Computer Science, 5th Edition

Figure 13.9 Using a Two-Dimensional Graph to Display Output Invitation to Computer Science, 5th Edition

Figure 13.10 Using a Two-Dimensional Graph to Display and Compare Two Data Values Invitation to Computer Science, 5th Edition

Figure 13.11 Three-Dimensional Image of a Region of the Earth’s Surface Invitation to Computer Science, 5th Edition

Figure 13.12 Three-Dimensional Model of a Methyl Nitrite Molecule Invitation to Computer Science, 5th Edition

Running the Model and Visualizing Results (continued) Image animation One of the most powerful and useful forms of visualization Goal of scientific visualization techniques To take a massive data set and present it in a way that is more informative and more understandable for the user of that data Invitation to Computer Science, 5th Edition

Figure 13.13 Visualization of Gas Dispersion Invitation to Computer Science, 5th Edition

Figure 13.14 Use of Animation to Model Ozone Layers in the Atmosphere Invitation to Computer Science, 5th Edition

Summary A model is an abstraction of a system that behaves much like the original Computer simulation Physical system is modeled using mathematical equations and/or algorithmic procedures Model is translated into a high-level language program and executed Invitation to Computer Science, 5th Edition

Summary (continued) Computational models Scientific visualization Allow the use of an interactive design methodology Scientific visualization Visualizing data to highlight its important characteristics and simplify its interpretation Invitation to Computer Science, 5th Edition