Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.6K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

NSolve, RootFind

Posted 10 years ago

I've tried both NSolve and RootFind to solve a very complex function. It seems that it always passes a variable into the as a first step.

f(x_} : = Module[{}, Print["this is x: ", x]; ComplicatedFunction[x]; Return[x]; ] RootFind[F[x], {x,0}]; This is x: x x is never a number it's always a variable. The "ComplicatedFunction" cannot handle symbolic input, but is designed for a real. NSolve does the same thing. Is there a way around?

Thanks

POSTED BY: Thomas Dobroth
2 Replies
Posted 10 years ago
POSTED BY: Thomas Dobroth

This does not contain enough actual code to diagnose whatever might be the issue (and from the description I really cannot say what might be the issue either).

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