cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

I need help understanding these results. ALl comments & suggestions welcomed. Thanks

Jay
2-Explorer
2-Explorer

I need help understanding these results. ALl comments & suggestions welcomed. Thanks

I'm sure there's something fundamental that I'm overlooking.

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:Jay)

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.

arcsec2.png

View solution in original post

5 REPLIES 5
Werner_E
25-Diamond I
(To:Jay)

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.

arcsec.png

Werner_E
25-Diamond I
(To:Jay)

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.

arcsec2.png

Jay
2-Explorer
2-Explorer
(To:Werner_E)

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

Werner_E
25-Diamond I
(To: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

arcsec3.png

Jay
2-Explorer
2-Explorer
(To:Werner_E)

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

Announcements

Top Tags