Table of Contents
Submission
Read about the Honor Code
You are required to read our CSC4700 syllabus and the Honor Code before submitting assignments. Do this now before proceeding to the final step.
Submitting the Assignment
Once you’ve finished everything, you are ready to submit your work. You are submitting your assignment results as commits that have to be pushed to the github repository. The section about staging and committing changes in VSCode gives you a good introduction on how to do this.
Here is a list of things you’re expected to submit as part of this assignment:
- Warmup
- Fix
main.cpp
toproperly convert the commandline argument into an integer - Answer the questions in
results/answers.md
- Fix
- Measuring Performance (floats and doubles)
- Answer the questions in
results/answers.md
- Answer the questions in
- Implement utility functions
- Implement
operator+()
,operator-()
, andf_norm()
for the matrix type inmatrix_operators.cpp
- Implement
- Matrix Multiplication
- Answer the questions in
results/answers.md
- Answer the questions in
- Using a random-number generator
- Implement the code as
random_numbers.cpp
- Generate plot for average of numbers generated (
results/random_numbers.png
)
- Implement the code as
- Estimating \(\pi\) using simple-sampling Monte Carlo
- Implement the code as
estimate_pi.cpp
- Generate plot for estimation error (
results/estimate_pi.png
)
- Implement the code as
- A Random Walk in the Plane
- Implement the code as
random_walk.cpp
- Generate plot for distribution of distances of random walk (
results/random_walk.png
)
- Implement the code as
- Simple-sampling Monte Carlo estimate of the integral \(f(x) = x^n\)
- Implement the code as
simple_integral.cpp
- Generate plot for estimation error (
results/simple_integral.png
)
- Implement the code as
- Birthday Probability – extra credit
Please also note, that once you push to your repository, Github will compile and run your code automatically. This will result in a being added to the home page of your repository, telling you that all tests you added have successfully passed. If you see a
instead, then one or more of the tests in your code have failed and you will have to debug your code. Simply commit and push again once you have fixed the problems.
There is also an introduction to Git available that describes the overall concepts and the use of Git from a command line. It also answers some frequently asked questions.
We have a Github tutorial you might want to have a look at as well.
Last but not least, you can have a look at this document if you are interested in knowing more about Github Classroom.
And that’s it! You’re done!