Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

arguments

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5117] arguments
  • From: Guy Delamarter <delamart at holly.pas.rochester.edu>
  • Date: Wed, 30 Oct 1996 22:04:32 -0500
  • Organization: University of Rochester Computing Center
  • Sender: owner-wri-mathgroup at wolfram.com

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 at callisto.pas.rochester.edu>
******************************************************************************



  • Prev by Date: Problem with QuicKeys & Mathematica
  • Next by Date: Re: Is there a Bug in Plot function ?
  • Previous by thread: Re: arguments
  • Next by thread: Windows WAV File Bug & Compiled File Routines