what is the difference between Numerical integration and integration using syntax?
Show older comments
I am trying to solve close integration in MATLAB using numerical integration. But I am confuse in numerical integration and integration using syntax. Are they same or not??
1 Comment
@Swapnil Narke: what exactly is "integration using syntax"? Do you mean symbolic integration?:
Answers (1)
John D'Errico
on 10 May 2017
Edited: John D'Errico
on 10 May 2017
0 votes
Um, are you a bit confused? Your question is highly confusing. ANY computation done on a computer, numerical or not, uses syntax.
https://www.merriam-webster.com/dictionary/syntax
Are you asking about symbolic integration versus numerical integration? No, they are not the same, although one (symbolic) is arguably a superset of the other. So you could compute a symbolic definite integral, returning a pure number, with no symbolic parameters involved at all.
The converse is generally not true, although you could use some simple numerical integration rules (trapezoidal rule, for example) on a symbolic problem, thus returning a symbolic result.
However, many numerical integration methods cannot be applied to symbolic problems, because they are adaptive methods.
Essentially, if your problem involves symbolic constants that are unknown at the time of computation, then you cannot use a numerical integration tool (traps, quad integral, etc.)
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!