Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelio-amerio authored Jan 8, 2020
1 parent 4558973 commit 3407e6e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ See [QuadGK](https://github.com/JuliaMath/QuadGK.jl) and [Cuba.jl](https://giord
### Example 1

Compute:

<img src="https://latex.codecogs.com/gif.latex?\int_0^4&space;x^2e^{-x}dx" title="\int_0^4 x^2e^{-x}dx" />

```julia
Expand All @@ -45,6 +46,7 @@ quad(func, 0, 4)
It is possible to compute integrals with unit of measurement using `Unitful`.

For example, let's compute:

<img src="https://latex.codecogs.com/gif.latex?\int_{0&space;m}^{5&space;m}&space;x^2e^{-x}dx" title="\int_{0 m}^{5 m} x^2e^{-x}dx" />

```julia
Expand Down Expand Up @@ -79,6 +81,7 @@ See [Cuba.jl](https://giordano.github.io/Cuba.jl/stable/) for all the available
### Example 1

Compute:

<img src="https://latex.codecogs.com/gif.latex?\int_1^2\int_{0}^{x^2}\sin(x)&space;y^2&space;dxdy" title="\int_1^2\int_{0}^{x^2}\sin(x) y^2 dxdy" />

```julia
Expand All @@ -93,6 +96,7 @@ integral, error = dblquad(func, 1, 2, x->0, x->x^2, rtol=1e-9)
It is possible to compute integrals with unit of measurement using `Unitful`.

For example, let's compute:

<img src="https://latex.codecogs.com/gif.latex?\int_{1m}^{2m}\int_{0m^2}^{x^2}x&space;y^2&space;dxdy" title="\int_{1m}^{2m}\int_{0m^2}^{x^2}x y^2 dxdy" />

```julia
Expand Down Expand Up @@ -127,6 +131,7 @@ See [Cuba.jl](https://giordano.github.io/Cuba.jl/stable/) for all the available
### Example 1

Compute:

<img src="https://latex.codecogs.com/gif.latex?\int_{0}^{4}\int_{x}^{x^2}\int_{2}^{3x}\sin(z)&space;\,&space;x&space;\,&space;y&space;\,&space;dzdydx" title="\int_{0}^{4}\int_{x}^{x^2}\int_{2}^{3x}\sin(z) \, x \, y \, dzdydx" />

```julia
Expand All @@ -141,6 +146,7 @@ integral, error = tplquad(func, 0, 4, x->x, x->x^2, (x,y)->2, (x,y)->3*x)
It is possible to compute integrals with unit of measurement using `Unitful`.

For example, let's compute:

<img src="https://latex.codecogs.com/gif.latex?\int_{0m}^{4m}\int_{0m^2}^{x^2}\int_{0}^{3}\sin(z)&space;\,&space;x&space;\,&space;y&space;\,&space;dzdydx" title="\int_{0m}^{4m}\int_{0m^2}^{x^2}\int_{0}^{3}\sin(z) \, x \, y \, dzdydx" />

```julia
Expand Down

0 comments on commit 3407e6e

Please sign in to comment.