Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Using FindRoot in a "For" loop or Functon' topicStudent Support Forum > General > Archives > "Using FindRoot in a "For" loop or Functon"

Next Comment >Help | Reply To Topic
Author Comment/Response
Scott
01/20/06 12:20pm

Hello,

I'm trying to use the function FindRoot within a function, but it will not work and I get non-helpful error messages. Here is what I've tried to do in a simplified way:

(Note that findroot returns errors even when the function is not passing it a variable)

Function[d,FindRoot[AnyExpression,{x,0,4}]][Number to be passed to function]

Am I doing something extremely niave here? Any help would be much appreciated.

Scott


URL: ,

Subject (listing for 'Using FindRoot in a "For" loop or Functon')
Author Date Posted
Using FindRoot in a "For" loop or Functon Scott 01/20/06 12:20pm
Re: Using FindRoot in a yehuda ben-s... 01/22/06 00:25am
Next Comment >Help | Reply To Topic