Message Boards Message Boards

FindRoot with Integration does not give results?

Posted 2 years ago

Hi all! I am trying to solve a system of equations (see attached nb) using FindRoot. The equations involve integration and the limits to integration must be found by the solver along with other variables. However, FindRoot does not given any solution and returns error "some components are not equations" (when the system defined in one way) and returns " is not a list of numbers with dimensions {18} at ........." when FindRoot used differently. Both are presented at the end of the notebook. I would be very thankful if someone could help with understanding the problem.

Best, Zee

Attachments:
POSTED BY: Zee Khan
2 Replies
Posted 2 years ago

Isn't the issue that avN = Integrate[x*f[x_]/(1 - F[x]), {x, a0N, 1}] doesn't converge on {a0N, 1} ? (Also, you need to remove the underscore in f[x_].)

POSTED BY: Jim Baldwin
Posted 2 years ago

Thanks for the response Jim! I did remove the underscore, thanks for pointing out. It is true that I have this convergence problem but usually Mathematica gives some result anyway. Now it just does not give any output at all. I also tried NSolve which does not work either.

POSTED BY: Zee Khan
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