what is the difference between Numerical integration and integration using syntax?

11 vues (au cours des 30 derniers jours)
Swapnil Narke
Swapnil Narke le 10 Mai 2017
Modifié(e) : Stephen23 le 11 Mai 2017
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 commentaire
Stephen23
Stephen23 le 11 Mai 2017
Modifié(e) : Stephen23 le 11 Mai 2017
@Swapnil Narke: what exactly is "integration using syntax"? Do you mean symbolic integration?:

Connectez-vous pour commenter.

Réponses (1)

John D'Errico
John D'Errico le 10 Mai 2017
Modifié(e) : John D'Errico le 10 Mai 2017
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.)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by