scbc2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
scbc2 [2014/06/06 13:13] – kara | scbc2 [2022/07/21 06:59] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | =====Some Computer Science Considerations===== | ||
+ | |||
+ | In this session we explore what a model is, and how a simulation is different. | ||
+ | |||
+ | ====Overall process of computational simulation==== | ||
+ | |||
+ | "The overall problem solving process in computational simulation usually includes the following steps: | ||
+ | |||
+ | - Develop a mathematical model -- usually expressed by equations of some type -- of a physical phenomena or system of interest. | ||
+ | - Develop algorithms to solve the equations numerically. | ||
+ | - Implement the algorithms in computer software. | ||
+ | - Run the software on a computer to simulate the physical process numerically. | ||
+ | - Represent the computed results in some comprehensible form such as graphical visualization. | ||
+ | - Interpret and validate the computed results, repeating any or all of the preceding steps, if necessary." | ||
+ | |||
+ | (-- M. T. Heath. // | ||
+ | |||
+ | |||
+ | All simulations are implemented with assumptions, | ||
+ | |||
+ | |||
+ | //Some// sources of approximation: | ||
+ | |||
+ | * modeling - for example, omitting friction | ||
+ | * empirical measurements - for examples, instruments have finite precision; noise; sample size | ||
+ | * previous computations - input or data may have come from other approximate computations | ||
+ | * truncation - for example, having to truncate an infinite series | ||
+ | * rounding - can only represent finite precision | ||
+ | * computer arithmetic | ||
+ | |||
+ | (//Ibid//.) | ||
+ | |||
+ | Also: | ||
+ | * limitations from using computers: | ||
+ | * binary representation of decimals | ||
+ | * [[ https:// | ||
+ | |||
+ | |||
+ | ====Algorithmic (in)stability==== | ||
+ | |||
+ | Even a " | ||
+ | |||
+ | [[ http:// | ||
+ | |||
+ | Particularly interesting exercises (pages 18-20, but 19-20): | ||
+ | [[ http:// | ||
+ | |||
+ | |||
+ | ====Accuracy versus precision==== | ||
+ | |||
+ | These words mean different things, though many scientists/ | ||
+ | distinct concepts; give thought to the " | ||
+ | |||
+ | [[ http:// | ||
+ | |||
+ | [[ http:// | ||
+ | // | ||
+ | |||
+ | Which is more desirable: accuracy or precision? | ||
+ | |||
+ | |||
+ | ====Working Environment / Tools==== | ||
+ | |||
+ | ===Shell=== | ||
+ | |||
+ | [[wiki: | ||
+ | |||
+ | See also [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | ===Make=== | ||
+ | |||
+ | [[wiki: | ||
+ | |||
+ | |||