Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
I'm sure there's something fundamental that I'm overlooking.
Solved! Go to Solution.
When in doubt, ask the symbolics for the exact results. The symbolics does not know anything about units and would treat them as variables, so I omitted them.
Obviously a conflict between the way the function is defined and the numerical algorithm used. You get very different results whether you chose Romberg or Adaptive method (rightclick menu).
You get the result you expect if you split the integral at 0.1 Hz yourself.
When in doubt, ask the symbolics for the exact results. The symbolics does not know anything about units and would treat them as variables, so I omitted them.
Werner,
Thank-you very much for your time and help. Your suggestions and reminders about the numerical integration process (both sheets) were very helpful and appreciated. Thanks for the tutorial and pointing me in the right direction.
Jay
You are welcome.
Nevertheless its still unclear to me why Mathcad's numerics fails that bad.
Mathcads symbolics wont operate on a function defined by if (neither programmed nor using the if-function).
So I rewrote it using the Heaviside function.
The numerics still fails
Werner,
Thanks for your continued thoughts and efforts. I think the take-away here for myself is as you pointed out. With function discontinuities, always break them up at the discontinuities and sum seperately. The answers seem to be pretty good then. I too am also puzzled by the errors for such a simple function albeit with just one straighforward discontinuity. Otherwise, your suggested approach achieves spot-on results.
Thanks again,
Jay