Message Boards Message Boards

GROUPS:

Solving inequality involving NDSolve output?

Posted 5 months ago
813 Views
|
1 Reply
|
1 Total Likes
|

Hello everyone,

I have a function, x12(t), that I solved for using NDSolve. I am hoping to find all of the intervals of time for which x12(t) < NCritical. I tried to use the Reduce function but that did not work (see attached notebook). Is there a straightforward way to solve this inequality?

The RootSearch function seems to be really reliable in terms of finding when x12(t) = NCritical, but I am not sure if there is a simple way to use this function to find the intervals when x12(t) is specifically < NCritical. Any suggestions would be greatly appreciated!

Alex

Attachments:
POSTED BY: Alex L
Answer

It seems that Reduce cannot solve inequalities involving InterpolatingFunction. However, you may check the inequality numerically in the midpoint of each interval provided by RootSearch.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract