12-Amethyst
June 25, 2024
Solved
Wrong result in integral exp(-x)
- June 25, 2024
- 2 replies
- 1541 views
Hi,
I have been updating a Mathcad sheet and noticed that there are slight discrepancies in the results on the order of 1e-6. I tracked the source of this error and I got to this integral (shown below).
There are two things I do not understand:
1.- Function A and B are the same but for some reason B throws an error "this value must be an integer".
2.- The integral should be equal to 1 when the upper limit is approx higher than 5. But for some reason the solution jumps from 1 to 5e-4 when the upper limit goes from 1.011e4 to 1.013e4, which is wrong. It should be 1.
I am using Prime 8.0
Regards,




