Skip to main content
1-Visitor
July 26, 2014
Question

Numwrical integration

  • July 26, 2014
  • 9 replies
  • 4389 views

I numerically integrated a non-linear two-point boundary layer problem using Mathcad 11 and Mathcad 15. The two give slightly different values with Mathcad 11 producing a more plausible result. Anyone knows the reason for the difference?

9 replies

19-Tanzanite
July 26, 2014

Can't tell without seeing the worksheets. Upload them.

Alan

nvsuryan1-VisitorAuthor
1-Visitor
August 7, 2014

The attached file shows the actual programming

As I said before the difference is small but it bothered me that the same software should give slightly different results.

1-Visitor
July 26, 2014

As I remember it the default integration method has changed between V11 and V15, so slight variation can come from that.

In addition it is easily possible to badly formulate the equation being integrated, such that the algorithm doesn't find (when searching for high points in the graph) the area under the curve - this is particularly true for graphs that are shown on a log-log scale in text books, which are simply a spike on a lin-lin plot (i.e. as seen by the numeric integral). I'd expect PDE/ODEs to have a problem with this some times.

As said by Alan, at least post an example sheet that extracts the issue you are demonstrating.

nvsuryan1-VisitorAuthor
1-Visitor
August 1, 2014

I again compared the results of numerical intgration in thwo versions with identical boundary conditions. Thre is a slight difference in the results, which, I think are caused by the default items in the two versions.

But the differences are small and not worth pursuing any further.

Thanks for helping me out.

1-Visitor
August 1, 2014

Again no example. This thread is pointless without examples to work with.