Code | Points | Description |
---|---|---|
A1 | 2 | Submission is zip containing nbody.py |
A2 | 2 | Zip is named after uni, unzips to folder with uni-hw7 |
A3 | 2 | nbody.py is normal python file |
Each one all-or-nothing
Code | Points | Description |
---|---|---|
B1 | 5 | generateObjects functionality (x and y generated correctly, mass in randint(10, 100), vx/vy are 0) |
B2 | 5 | centerOfMass functionality |
B3 | 5 | plotObjects functionality |
B4 | 5 | distance functionality |
B5 | 5 | force functionality |
B6 | 5 | angle functionality |
B7 | 5 | forceVec functionality |
B8 | 5 | sumOfForces functionality |
Uses code C
, subjective. See comments for more information.