## page was renamed from Assignments/AssignmentRequirements ## vim: nowrap tabstop=2 shiftwidth=2 expandtab textwidth=100000 #acl All:read All simulation programming projects must meet these requirements on a standard student account of a CTB60 ("alamode") machine. <> = Examples = <> <> == Output Formatting == Suppose a simulation assignment dictates: {{{#!wiki tip 1. Your `SIM` should accept two arguments. The first argument is the seed for your pRNG, the second argument is the number of experimental runs. 1. Your `SIM` should display 3 numerical results: the average `theta`, the minimum `theta`, and the median `alpha` across all the experimental runs. }}} Then '''all''' of the following outputs would be acceptable: {{{ $ ./SIM 38478 1000 OUTPUT 7.43 -2.1113 7483 $ }}} {{{ $ ./SIM 38478 1000 OUTPUT 7.43 OUTPUT -2.1113 OUTPUT 7483 $ }}} {{{ $ ./SIM 38478 1000 OUTPUT Average theta 7.43 minimum theta -2.1113 middle alpha 7483 $ }}} {{{ $ ./SIM 38478 1000 1000 experimental runs beginning! ... half-way there ... woot! look at us go OUTPUT Average theta 7.43 minimum theta -2.1113 maximum theta 32.874 OUTPUT middle alpha 7483 whew. $ }}} {{{ $ ./SIM 38478 1000 OUTPUT Average theta 7.43 minimum theta -2.1113 maximum theta =32.874= middle alpha 7483 $ }}} But this one is '''not acceptable''' for two different reasons: {{{ $ ./SIM 38478 1000 OUTPUT Median alpha=7483 Average theta=7.43 Minimum theta=-2.1113 $ }}}