Integration Error - Piecewise Function
- May 29, 2010
- 2 replies
- 8748 views
When I integrate a piecewise function created with the IF function, the results are incorrect for some values of the limits, when combined with some values of the parameter of the IF function.
PTC tech support has pointed me to the documentation that states that, under certain conditions, the integral of an abruptly changing function may produce incorrect results. However, they think there responsibility ends there. There do not seem to be any plans to fix this error, or even have Mathcad return an error message instead of a value that appears to be normal and correct.
I've attached the file, or a PDF of the worksheet, depending upon what this new message board will allow me to do.
As can be seen, the function can be made to work by slightly changing the integration limits, or by decreasong TOL (not shown)
I've also tested the function in Mattematica, and it works there without error,
Is there any way to have Mathcad notify me when there may be a problem, instead of just displaying an incorrect answer?

