Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: arguments
Replies: 1   Last Post: Oct 30, 1996 9:50 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Guy Delamarter

Posts: 1
Registered: 12/7/04
arguments
Posted: Oct 30, 1996 12:29 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I am using FindRoot to solve a system of nonlinear algebraic
equations. The number of equations and variables depends upon a
number input at the beginning of the notebook. Since the equations
are specified to FindRoot in a single list, there is no problem adding
more equations to the system - just append them to the initial list of
equations. However, I am not clear on how one adds new variables that
FindRoot is to solve for. This is because they must each be given as
separate arguments. For context:

FindRoot[{eqtn1,eqtn2,...},{var1,guess},{var2,guess},...]


As you can see, I may not simply build a list of variables dynamically
and hand it to FindRoot because a list is a _single_ entity or
argument. FindRoot requires a sequence of arguments (multiple
entities) to specify the variables.

Ideally I would like a way to have a list be interpreted as a sequence
of arguments - but I have found no clear way to do this in the book
and I am wondering if it may not be possible.

Does anyone have a way to do this kind of thing? Or am I just being
foolish and there are better ways to specify the problem and solution
in Mathematica?


Thanks in advance,
Guy Delamarter

--
==============================================================================
Guy Delamarter <delamart@callisto.pas.rochester.edu>
******************************************************************************







Date Subject Author
10/30/96
Read arguments
Guy Delamarter
10/30/96
Read Re: arguments
Harald Berndt

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.