Interesting Integrations
I was using the symbolic processor to calculate a very simple integration.
| Header 1 | Header 2 | Header 3 | Header 4 | Header 5 |
|---|---|---|---|---|
| Integrate | n.A.cos(n.x) | n.B.sin(n.x) | E.cos(n.x) | F.sin(n.x) |
| MathCad-Definite integral | A.sin(x.n) | 2.B.sin((x.n/2)^2) | (E.sin(x.n))/n | 2.F.sin((x.n/2)^2) |
| Hand/Calculation | A.sin(x.n) | -B.cos(x.n) | E.sin(n.x)/n | -F.cos(n.x)/n |
| Mathcad-Indefinite integral | A.sin(x.n) | -B.cos(x.n) | E.sin(n.x)/n | -F.cos(n.x)/n |
Is it possible to use definite integration only for case where there will be no division by zero. It is easy in this example to do it myself however if the calculation is a bit complicated (and done symblically). Is there a way to tell MathCad use definite integration as long as there is no division by zero.
Example


