Unit 3 Lesson 16
Format for checkboxes
- [x] [JS k](https://ananyag2617.github.io/ananyagaurav2617/2022/11/19/jscheck.html)
Simulations:
Daily Video 1:
Objective: How we use computers to reflect real world phenomena via simulations.
Key Points:
-
Computer simulations can be limited and have bias
-
Example: We can assume that when a car is moving, there will be people in it, which is a proper bias to make. But, a simulation may have a bias on which cars will be chosen to simulate a crash.
-
Computer simulation examples:
-
games
-
rolling dice
-
spinners
-
Molecular models
-
Analyze chemicals/reactions
-
For air traffic control
-
To test and find what is the optimal number of aircrafts that should be in the air at once.
-
-
-
-
Simulations
-
Will not always have the same result
-
They investigate a phenomenon without real-world constraints of time, money, or safety
-
Holding a real experiment would most likely result in more accurate results
-
A simulation can model real-world events that aren’t practical to hold experiments for
-
Ex. the air traffic control example– not very safe or practical to hold an experiment with expensive and dangerous equipment
-
-
-
Question 1
-
An environmental researcher has been conducting a study on the population of hawks in the area in order to predict the number of hawks that will occur in the upcoming year. She created a computer model using data from the past five years. The simulation predicted 42 hawks in the area, but only 29 appeared
-
Which of the following strategies will be the LEAST likely to offer a more accurate result?
-
Gathering more data from previous years
-
Consider adding more data on other species in the area
-
Taking into consideration changing weather pattern in the area
-
Remove more data and calculations so the simulation can run faster
-
-
-
-
Recap
-
Simulations are abstractions of complex situations done for a specific purpose
-
Simulations provide opportunities to study and make predictions when experiments are not feasible for many reasons to include: cost, safely, and accessibility
-
A simulation uses and represents varying sets of data to reflect the changing state of a phenomenon
-
Developing abstract simulations involve removing details or simplifying functionality
-
Simulations can be done without the constraints of the real-world
-
Simulations can have bias
-
Simulations can refine previous results and hypothesis
-
-
Question 2
-
The transportation department would like to build an elevated train system that will route through 3 cities. The transportation department wants to administer a simulation of this train system before construction begins. WHich of the following statements is true about the use of this simulation for the project?
-
The simulation may reveal possible safety issues that can be corrected before construction begins
-
The simulation is not needed because other elevated train systems exist.
-
A simulation cannot be used to test the train system in different weather conditions
-
The simulation will add high costs to the project.
-
-
-
Question 3
-
Which of the following scenarios would be the LEAST beneficial to have as a simulation?
-
A retail company wants to identity the item which sold the most on their website
-
A restaurant wants to determine if the use of robots will increase efficiency
-
A sports bike company wants to study design changes to their new bike design
-
-
Hacks:
-
Make a copy of this post into your own repository.
-
Complete the MC questions WITH an explanation for your answer.
-
Correct errors (we make fake errors)
-
Customization of simulation/ make your own
-
Identifying the best simulation for a given issue.
-
Plan
-
Talk about what similulations are, essential key points, and why and how they are used.
-
What makes these a simulation?
-
What are the simplifications they make? Why?
-
What are the assumptions?
-
What are the benefits of running a simulation over the real thing?
-
What are the detriments?
-
How can you get closer to the “actual” results?
-
-
Show how simualtions can recreate an aspect of our physical world with examples
-
Watch a video?
-
Show them a few sample simulations
Hacks
-
Make a copy of this post into your own repository. We are going to have everyone make a copy of this notebook so they can always refer back to it.
-
Complete the MC questions WITH an explanation for your answer. To check their understanding we are going to have an MC quiz that the can take.
-
Explore different simulations.
-
https://codecombat.com/teachers/resources/apcsp-internet-chat-simulation
-
Gravity Simulation
-
Conway’s Game of Life
-
Simulating a Coin Flip
-
Wolf Sheep Predation Simulation
-
Data Structures Exercises Badge
-
-
Customization of simulation/ make your own We will have students make their own simulation and have them play around with it.
-
Copy the simulation into your own repository and make changes to it. They can also copy the simulation we give them and play around it and make changes to it.