Skip to content

Commit

Permalink
Fix link and grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Dec 14, 2023
1 parent 01c931e commit d3ecdd1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ You should see a plot similar to:

This example shows a mass that is thrown upwards, slows down and then falls.

**Julia code:** [Tether_01.jl](src/Tether_01.jl)
**Julia code:** [Tether_01.jl](https://github.com/ufechner7/Tethers.jl/blob/main/src/Tether_01.jl)

These differential equations define the model:
```Julia
Expand All @@ -67,11 +67,11 @@ The next lines are:
@named sys = ODESystem(eqs, t)
simple_sys = structural_simplify(sys)
```
This means, we create a named ordinary equation system, depending on `t`. Then we simplify
This means we create a named ordinary equation system, depending on `t`. Then we simplify
the system symbolically (order reduction). If you type `sys` in the Julia REPL (command line)
you can see that the original system had 9 equations, the second line above created a system
with ony six equations. This step helps to speed up the simulation and often also removes
algebraic loops which makes the ODE a lot simple to solve numerically later on.
with only six equations. This step helps to speed up the simulation and often also removes
algebraic loops which makes the ODE a lot simpler to solve numerically later on.

## Python version as comparison
From the Julia prompt execute:
Expand All @@ -80,7 +80,7 @@ include("src/RunTether.jl")
```
This will install Python, Matplotlib and Assimulo and execute the script `Tether_01.py`.

**Python code:** [Tether_01.py](src/Tether_01.py)
**Python code:** [Tether_01.py](https://github.com/ufechner7/Tethers.jl/blob/main/src/Tether_01.py)

If you compare the Python and the Julia scripts you can see that:
- the Julia script is shorter and easier to read
Expand Down
4 changes: 2 additions & 2 deletions docs/src/vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ I suggest to install the following `Extensions`:
- YAML
- Even Better TOML

VSCode has good, integrated GIT support by default, no extension needed for that.
VSCode has good, integrated GIT support by default, no extension is needed for that.

I would NOT use all the advanced features of julia-vscode, I prefer to just use the vscode terminal and launch julia from the terminal. This makes it easy to launch Julia with any command line options and also to start and restart Julia quickly.
I would NOT use all the advanced features of julia-vscode, I prefer to just use the vscode terminal and launch Julia from the terminal. This makes it easy to launch Julia with any command line options and also to start and restart Julia quickly.

0 comments on commit d3ecdd1

Please sign in to comment.