National Taiwan University
This is a course about computational mathematics.
You guys will learn some knowledge about
numerical methods
and
coding skills
to implement them.
All exercise info and lectures will be posted on this website.
REPL let you easily talk to your computer in Python!
$ python
Python 3.7.4 (default, Jul 16 2019, 07:12:58)
[GCC 9.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> print("Hello, Python!")
Hello, Python!
>>> exit() # type exit() or press CTRL+D to exit
$ jupyter notebook
$ jupyter notebook
$ conda install git
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /usr/local/anaconda3
added / updated specs:
- git
...
Clone the sample repo and add TA's repo to upstream.
$ git clone https://github.com/yuanyuyuan/itcm-notebooks
$ cd itcm-notebooks
$ git remote add upstream https://github.com/yuanyuyuan/itcm-notebooks
Change the orgin of this repo to yours. Fill in YOUR_ACCONUT below!
$ git remote set-url origin https://github.com/YOUR_ACCOUNT/itcm-notebooks
Whenever TAs announce new assigments, just sync with the upstream(TAs' repo)!
$ git fetch upstream
$ git merge upstream/master --no-edit
Change working directory to your repo on your NB.
$ cd YOUR_REPO_PATH # e.g. cd itcm-notebooks
Copy lab-1/exercise to lab-1/answers and finish it.
$ cp -r LAB_EXERCISE_FOLDER LAB_ANSWER_FOLDER # e.g. cp -r lab-1/exercise lab-1/answers
After finish your answer, git add/commit/push your files!
$ git add FILES_TO_SUBMIT # e.g. git add lab-1/answers
$ git commit -m "COMMIT_MESSAGE" # e.g. git commit -m "finish my answers of lab-1 exercise"
$ git push # submit new files to your github repo!
$ git status
On branch master
Your branch is up to date with 'origin/master'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: answers/exercise1.ipynb
new file: answers/exercise2.ipynb
new file: answers/jupyter.png
$ git reset master^
Then it will reset to the status before previous commit.
Google the problem and solve it by yourself or find TA...