diff --git a/src/algorithms_sampled.jl b/src/algorithms_sampled.jl index 9e71237..bc1085f 100644 --- a/src/algorithms_sampled.jl +++ b/src/algorithms_sampled.jl @@ -7,7 +7,7 @@ Struct for evaluating an integral via the trapezoidal rule. Example with sampled data: -``` +```julia using Integrals f = x -> x^2 x = range(0, 1, length=20) @@ -28,7 +28,7 @@ Simpson's composite 1/3 rule for non-equidistant grids. Example with equidistant data: -``` +```julia using Integrals f = x -> x^2 x = range(0, 1, length=20)