πŸ“š

Β >Β 

⌨️ 

Β >Β 

πŸ“±

3.16 Simulations

2 min readβ€’june 18, 2024

Minna Chow

Minna Chow

Milo Chang

Milo Chang


AP Computer Science Principles ⌨️

80Β resources
See Units

Simulations are simplifications of complex objects (like the planets) or phenomena (like tornadoes) for a stated goal. They often use varying sets of values to reflect how a phenomenon changes. Using a computer, we can simulate everything from a science lab to a nuclear explosion to a zombie apocalypse, and computer simulations are used in industries like weather forecasting and financial planning.
In order to develop a simulation, you have to remove certain real world details (like language barriers in a historical simulation event) or simplify how something functions.

Abstraction in Simulations

Simplifying details to highlight a main point, where have we heard this before? πŸ€”
That's right, simulations are an example of abstraction.
There are many benefits to creating a simulation. They can be used to represent real-world events and conditions, like the force of gravity or the atmospheric conditions of a battle, so you can investigate and draw conclusions about them without dealing with some of the complications of the real world. Simulations are the most useful when observing the phenomenon in real life would be impractical, like if what you wanted to study was too big (Big Bang, continental drift) or too small (atoms, elements).
However, simulations also have some disadvantages. They run the risk of being too simple or conveying the wrong message about what you're trying to study (simulating the planets with tennis balls, for example, may lead people to think they're closer to each other and more similarly sized than they actually are).
https://firebasestorage.googleapis.com/v0/b/fiveable-92889.appspot.com/o/images%2F-TX1NE1su73HU.gif?alt=media&token=3302e9d1-c876-4b3e-b206-ca7b27cf0cb7

In order to fit all the planets onto the screen, this simulation of planetary motion makes the planets closer to each other than they are in the real world. Image source: ESA on Giphy



Simulations may also contain bias based on what the simulation creator chose to include or exclude.
Random number generators can help simulate real-world variability in these simulations: it's a little like rolling a pair of dice.

Fiveable
Fiveable
Home
Stay Connected

Β© 2024 Fiveable Inc. All rights reserved.


Β© 2024 Fiveable Inc. All rights reserved.