File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,20 @@ the documentation, which contains the unreleased features.
2121## Example
2222
2323``` julia
24- julia> integrate (3 x^ 3 + 2 x - 5 )
25- using Symbolics
26- using SymbolicNumericIntegration
24+ julia> using Symbolics
25+ julia> using SymbolicNumericIntegration
2726
28- @variables x a b
27+ julia > @variables x a b
2928
30- julia> integrate (exp (a * x), x; symbolic = true )
29+ julia> integrate (3 x ^ 3 + 2 x - 5 )
3130(x^ 2 + (3 // 4 )* (x^ 4 ) - (5 // 1 )* x, 0 , 0 )
3231
33- julia> integrate (sin (a * x) * cos (b * x) , x; symbolic = true , detailed = false )
32+ julia> integrate (exp (a * x), x; symbolic = true )
3433(exp (a* x) / a, 0 , 0 )
34+
35+ julia> integrate (sin (a * x) * cos (b * x), x; symbolic = true , detailed = false )
36+ (- a* cos (a* x)* cos (b* x) - b* sin (a* x)* sin (b* x)) / (a^ 2 - (b^ 2 ))
37+
3538```
3639
3740# Citation
Original file line number Diff line number Diff line change @@ -22,13 +22,11 @@ Pkg.add("SymbolicNumericIntegration")
2222Examples:
2323
2424``` julia
25- using Symbolics
26- using SymbolicNumericIntegration
25+ julia > using Symbolics
26+ julia > using SymbolicNumericIntegration
2727
28- @variables x a b
29- ```
28+ julia> @variables x a b
3029
31- ``` julia
3230julia> integrate (3 x^ 3 + 2 x - 5 )
3331(x^ 2 + (3 // 4 )* (x^ 4 ) - (5 x), 0 , 0 )
3432
You can’t perform that action at this time.
0 commit comments