40 lines
501 B
Markdown
40 lines
501 B
Markdown
|
|
# Math
|
||
|
|
|
||
|
|
## Jupyter
|
||
|
|
|
||
|
|
### Install && Config
|
||
|
|
```sh
|
||
|
|
sudo apt update && sudo apt upgrade -y
|
||
|
|
sudo apt install python3 python3-pip python3-venv -y
|
||
|
|
```
|
||
|
|
|
||
|
|
```sh
|
||
|
|
mkdir ~/mathlab && cd ~/mathlab
|
||
|
|
python3 -m venv venv
|
||
|
|
source venv/bin/activate
|
||
|
|
pip install jupyterlab
|
||
|
|
```
|
||
|
|
|
||
|
|
python3 -m venv venv
|
||
|
|
source venv/bin/activate
|
||
|
|
|
||
|
|
```sh
|
||
|
|
jupyter lab
|
||
|
|
```
|
||
|
|
|
||
|
|
|
||
|
|
jupyter notebook
|
||
|
|
|
||
|
|
http://localhost:8888
|
||
|
|
|
||
|
|
pip install sympy numpy scipy matplotlib
|
||
|
|
|
||
|
|
jupyter nbconvert --to pdf my_notebook.ipynb
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
## Use
|
||
|
|
|
||
|
|
|
||
|
|
file > new > notebook > python3
|