SIMULATIONS. Simulations are used by engineers, programmers, and other scientists to produce the probable results of an experiment or happening.

Slides:



Advertisements
Similar presentations
Splash Screen. Lesson Menu Five-Minute Check (over Lesson 11–1) CCSS Then/Now New Vocabulary Key Concept: Symmetric and Skewed Distributions Example 1:
Advertisements

Introduction to Risk Analysis Using Excel. Learning Objective.
LCSC - 01 Monte Carlo Simulation of Radiation Transport, for Stereotactic Radio Surgery Per Kjäll Elekta Instrument AB
Math Leadership Support Network ’08-’09 “Probably” Number Sense.
Simulation Operations -- Prof. Juran.
SC. 7. P – Electromagnetic spectrum & sc. 7. p. 10
Lesson  In this investigation you will explore the predictability of random outcomes. You will use a familiar random process, the flip of a coin.
Section 4.4 Events of Length Variable. 4.4 Events of Variable Length 2 “Cereal Prizes” To increase sales for Sugar Munchies you put a letter W, I, or.
Chapter 11: understanding randomness (Simulations)
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Lecture 15 Practice & exploration Subfunctions: Functions within functions “Guessing Game”: A hands-on exercise in evolutionary design © 2007 Daniel Valentine.
Problem 1 Given a high-resolution computer image of a map of an irregularly shaped lake with several islands, determine the water surface area. Assume.
Copyright © 2010 Pearson Education, Inc. Unit 3: Gathering Data Chapter 11 Understanding Randomness.
Slide Slide 1 Chapter 6 Normal Probability Distributions 6-1 Overview 6-2 The Standard Normal Distribution 6-3 Applications of Normal Distributions 6-4.
Simulation of Random Walk How do we investigate this numerically? Choose the step length to be a=1 Use a computer to generate random numbers r i uniformly.
Chapter 3 Section 3.5 Expected Value. When the result of an experiment is one of several numbers, (sometimes called a random variable) we can calculate.
Simulation Examples ~ By Hand ~ Using Excel
In this chapter we introduce the idea of what it means for something to be truly random. We also investigate techniques for simulating randomness.
Introduction to Probability
Simulation Prepared by Amani Salah AL-Saigaly Supervised by Dr. Sana’a Wafa Al-Sayegh University of Palestine.
Chapter 11 – Understanding Randomness 1. What is a random event? Nobody can guess the outcome before it happens. Let’s try an experiment. On the next page.
Fundamentals of Game Design, 2 nd Edition by Ernest Adams Chapter 10: Core Mechanics.
Introduction to Simulations and Experimental Probability Chapter 4.1 – An Introduction to Probability Learning goals: Describe a simulation for a given.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 10, Slide 1 Chapter 10 Understanding Randomness.
BPS - 5th Ed. Chapter 101 Introducing Probability.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 11 Understanding Randomness.
Monte Carlo Methods Versatile methods for analyzing the behavior of some activity, plan or process that involves uncertainty.
Chapter 5 Section 1 – Part 2. Samples: Good & Bad What makes a sample bad? What type of “bad” sampling did we discuss previously?
1.3 Simulations and Experimental Probability (Textbook Section 4.1)
Bell Work FRACTIONDECIMALPERCENTWORDS. You have probably heard a weather forecaster say that the chance of rain tomorrow is 40%. Have you thought about.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 11 Understanding Randomness.
AP STATISTICS Objective: Understanding Randomness Do Now: Take out any completed contracts, personal profiles, as well as your written design study. HW:
Chapter 11 Understanding Randomness. What is Randomness? Some things that are random: Rolling dice Shuffling cards Lotteries Bingo Flipping a coin.
The amount of Revenue a company brings in has a normal dist. μ R = $86,200 and σ R = $600. Its Expenses has a μ E = $12,020 and σ E = $800. The company.
Simulating Experiments on the TI Section Starter Use the random integer generator in your calculator to choose an SRS of 5 students from.
Computer Simulation. The Essence of Computer Simulation A stochastic system is a system that evolves over time according to one or more probability distributions.
Warm Up If Babe Ruth has a 57% chance of hitting a home run every time he is at bat, run a simulation to find out his chances of hitting a homerun at least.
QR 32 Section #6 November 03, 2008 TA: Victoria Liublinska
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 5: Probability: What are the Chances? Section 5.1 Randomness, Probability,
1 CLUSTER VALIDITY  Clustering tendency Facts  Most clustering algorithms impose a clustering structure to the data set X at hand.  However, X may not.
Section 5.1.  Three ways to answer this question: 1. Actually carry out an experiment 2. Develop a probability model 3. Start with a model, and then.
Binomial Distributions Chapter 5.3 – Probability Distributions and Predictions Mathematics of Data Management (Nelson) MDM 4U.
Chapter 10 Understanding Randomness. Why Be Random? What is it about chance outcomes being random that makes random selection seem fair? Two things: –
If you toss a coin ten times, what is the probability of getting three or more “heads” in a row? If an airline overbooks a certain flight, what is the.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
The Historical Changes in the Baseball A presentation to ABC News by A. S. Grader and P. M. Halleck Penn State D. Zavagno Universal Systems Inc. 29 June.
Warm Up Complete the Margins of Error Worksheet #1 – 3 on the back!
Binomial Distributions Chapter 5.3 – Probability Distributions and Predictions Mathematics of Data Management (Nelson) MDM 4U Authors: Gary Greer (with.
5-Minute Check on Chapter 5 Click the mouse button or press the Space Bar to display the answers. 1.What can help detect “cause-and-effect” relationships?
Introduction Imagine the process for testing a new design for a propulsion system on the International Space Station. The project engineers wouldn’t perform.
Copyright © 2009 Pearson Education, Inc. Chapter 11 Understanding Randomness.
Statistics 11 Understanding Randomness. Example If you had a coin from someone, that they said ended up heads more often than tails, how would you test.
The Law of Averages. What does the law of average say? We know that, from the definition of probability, in the long run the frequency of some event will.
1 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Chapter 9 Understanding Randomness.
Experimental Probability of Simple Events. Focus
Problem 1: Service System Capacity CustomersServed Customers Queue Server Problem: Can a server taking an average of x time units meet the demand? Solution.
Warm-up What is the best way to answer each of the questions below: an experiment, a sample survey, or an observational study that is not a sample survey?
Two-Variable Statistics. Correlation  A relationship between two variables  As one goes up, the other changes in a predictable way (either mostly goes.
Unit 1 Day 6: Simulations.
Day 6: Simulations Unit 1: Statistics.
Determining the theoretical probability of an event
Simple Random Sampling
Data Analysis in Particle Physics
Warm Up 4.
Understanding Randomness
Day 6: Simulations Unit 1: Statistics.
Probability using Simulations
Understanding Randomness
Probability in Baseball
Presentation transcript:

SIMULATIONS

Simulations are used by engineers, programmers, and other scientists to produce the probable results of an experiment or happening.

COMING EVENTS  SIMULATIONS IN GAMES.  SIMULATIONS OF EVENTS OR FUTURE ACTIONS.  SETTING UP SIMPLE SIMULATIONS  ADVANCED SIMULATION – MONTE CARLO METHOD.

FOCUS AND INQUIRY  WHAT IS YOUR FAVORITE VIDEO OR COMPUTER GAME?  WHAT DOES THIS “GAME” HAVE TO KNOW TO PLAY?  WHAT STATISTICS ARE USED?

MAJOR LEAGE BASEBALL SAMMY SOSA EDITION  WHAT ARE THE STATISTICS FOR THE PITCHER: ERA, STRIKEOUT RATE…  WHAT ARE THE STATISTICS FOR THE BATTER: BATTING AVERAGE, HOW BATTER DOES AGAINST CERTAIN PITCHER…  IS THE BAT CORKED?

GAME SIMULATION  THE COMPUTER TAKES ALL OF THE INFORMATION (IN STATISTICAL FORM AND CALCULATES THE PROBABILITY OF AN EVENT HAPPENING.  THE COMPUTER WILL CHOOSE WHAT WILL HAPPEN TO THE PLAYERS BY PROBABILITY.

SIMPLE SIMULATION SITUATION:  THE LAKERS ARE ONE POINT BEHIND.  SHAQ IS FOULED WITH NO TIME LEFT ON THE CLOCK (TWO FREE THROWS)  RUN 25 SIMULATIONS AND GIVE RESULTS

POSSIBILITIES  MAKES NO SHOTS—LOSES GAME  MAKES ONE SHOT—TIES GAME AND INTO OVERTIME  MAKES TWO SHOTS—WINS GAME

STATISTICAL INFORMATION  SHAQ IS A 63% FREE THROW SHOOTER  NO OTHER STATISTIC IS NEEDED AT THIS TIME.

SETTING UP A SIMULATION ON THE TI-83+

USING THE PROB/SIM APPLICATION 1. CHOOSE RANDOM NUMBERS 2. DRAW TWO 3. RANGE: REPEAT YES 5. SET #’S 0-62 AS A POINT. (63 #’s) 6. SET #’S AS A MISS. (37 #’s)

USING THE RANDOM NUMBER FUNCTION  FIND THE RANDOM INTEGER FUNCTION: MATH-PRB #5  randInt (min#, max#, amount generated)  randInt (0, 99, 2)—(1, 100, 2) will also work.  SET UP PARAMETERS AS IN PROB/SIM.  KEEP PRESSING ENTER 25 TIMES AND TALLY

TALLY TIME  AFTER YOU TALLY YOUR SIMULATIONS:  HOW MANY WINS?  HOW MANY TIES?  HOW MANY LOSSES?

WHY HAVE SIMULATIONS  COST/DANGER  NOT MATHEMATICALLY FEASIBLE  NOT PHYSICALLY FEASIBLE

EXAMPLES  BOMBING OF IRAN (IRAQ EARLIER)  DAMAGE DUE TO A POSSIBLE HURRICANE TO THE MIAMI AREA  DAMAGE DUE TO A NUCLEAR EXPLOSION ON NEW YORK CITY  FINDING THE POSSIBLE PROFIT WHEN A SALES CAMPAIGN IS STARTED

GUIDED PRACTICE BUILD SIMULATIONS FOR THE FOLLOWING: RUN 25 SIMULATIONS FOR EACH:  THE WEATHERMAN STATES THERE IS A 65% CHANCE OF RAIN NEXT FRIDAY—WILL IT RAIN FOR THE JULY 4 PARADE.  THE SCHOOL POPULATION IS AS FOLLOWS: 43% WHITE; 37% HISPANIC; 15% BLACK; AND 5% OTHER. A COMMITTEE IS BEING FORMED – WHAT IS THE RACIAL COMPOSITION OF THE COMMITTEE—IF 12 MEMBERS ARE CHOSEN.

AN ADVANCED SIMULATION MONTE CARLO SIMULATION

FIND THE AREA OF THE WATER To further understand Monte Carlo simulation, let us examine a simple problem. Below is a rectangle for which we know the length [10 units] and height [4 units]. It is split into 2 sections which are identified using different colors. What is the area covered by the blue color?

VIEW THE WAVES color? What Is The Area Covered By Blue?

CONT. Due to the irregular way in which the rectangle is split, this problem is not easily solved using analytical methods. However, we can use Monte Carlo simulation to easily find an approximate answer. The procedure is as follows: 1. randomly select a location within the rectangle 2. if it is within the blue area, record this instance a hit 3. generate a new location and repeat 10,000 times

CALCULATION BLUE AREA= # HITS x 40 UNITS 10,000 THIS CAN ALSO BE USED IN MS EXCEL USING CELLS AS POINTS OF CHOOSING BY THE COMPUTER. THERE ARE MANY DIFFERENT TYPES OF SOFTWARE THAT CAN CALCULATE THIS

MONTE CARLO PRACTICE  DESCRIBE HOW A MONTE CARLO SIMULATION WOULD WORK TO DISCOVER THE PERCENTAGE OF WATER ON THE EARTH’S SURFACE.  USING 10,000 TRYS—HOW CAN YOU FIND THE RACIAL PERCENTAGE OF THE POPULATION OF NEW YORK CITY.

HOW ABOUT 3-D  THE SPREADSHEET, PAPER, AND IDEAS WITH TWO VARIABLES ARE TWO DIMINSIONAL.  WHAT ABOUT A 3-D OBJECT?  THREE VARIABLES?  WHAT ABOUT VOLUME?

PROBLEM  HOW TO YOU KEEP AN APPLE FRESH ON THE SHELF OF A GROCERY STORE.  IF IT SITS TOO LONG IT BECOMES SOFT AND MUSHY—NOT GOOD FOR SALES.  IRRADIATION WILL PRESERVE THE APPLE FOR A LONGER SHELF LIFE.

APPLE IRRADIATION MORE PROBLEMS  APPLE IS NOT UNIFORM THOUGH ITS SOLID STATE  SKIN OR PEEL IS THICKER  SEEDS  CORE  UNDER PEEL IS DIFFERENT DENSITY THAN NEAR CORE

Computer Tomography (CT) Slice thickness 1,3,5 mm Cross-sectional resolution 0.2 mm x 0.2 mm CT number Water = 0 Air = -1000

A slice image of an apple ( 0.9 mm x 0.9 mm)

Tasks in Monte Carlo Transport Random Sampling Particle Generation Particle Streaming Particle Collisions Geometry Information Particle Interaction Physics Tallies

A SIMULATION JUST LIKE THE SIMPLE ONE  THIS SIMULATION IS RUN BY EITHER PARALLEL COMPUTERS OR A VERY POWERFUL ONE  DATA IS GIVEN ON HOW IS THE BEST WAY TO IRRADIATE THE FRUIT

PRACTICE 1. DESCRIBE HOW THE MONTE CARLO SIMULATION COULD BE USED TO RADIATE CANCER CELLS AND WHY? 2. DESCRIBE HOW THE MONTE CARLO SIMULATION COULD BE USED IN THREE OTHER SITUATIONS AND EXPLAIN.

GOODBYE THIS SIMULATED CLASSROOM IS NOW OVER!