Instructions for mathematics#
Note
The toolbox does not contain the exercises for 01001, but rather a lot of small programs for making graphics and perform mathematical tasks.
DTUs mathematics course, 01001: Mathematics 1, use python for both examples and projects.
Specifically, DTU mathematics have prepared a python toolbox called dtumathtools
.
The toolbox will be automatically installed when you follow the installation instructions for 02002/02003. If you completed these instructions and did not get an error you should be all set!
How to verify the installation of dtumathtools#
You can always check your installation by typing
import dtumathtools
in a python terminal. If you don’t get an error, everything should be set up correctly!
Specific steps to check your installation
Perform these steps (see our overview of vscode for more details):
Start VS Code
From the top-most menu, select:
This should activate or open the terminal window (bottom center of the screen)
Type
python
into the terminal to launch pythonTry to import
dtumathtools
by typing:>>> import dtumathtools
If you don’t get an error, the toolbox is installed correctly
Warning
For running notebooks in 01001: Mathematics 1 through VSCode, you will also need the python extension in VSCode. See Step 3: Install the Python extension for VS Code for instructions on how to install this extension.
How to install dtumathtools manually#
If you are not following the programming course you can easily install dtumathtools
manually. First, install python and VS Code by
completing
Next, open a terminal and run the command:
python -m pip install dtumathtools
python3 -m pip install dtumathtools
python3 -m pip install dtumathtools
Help and additional information#
Please see:
- Mathematics 1
- dtumathtools homepage