Re: Repackaging function arguments
- To: mathgroup at smc.vnet.net
- Subject: [mg124948] Re: Repackaging function arguments
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Mon, 13 Feb 2012 03:43:20 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
On 2/12/12 at 5:00 AM, sam.takoy at yahoo.com (Sam Takoy) wrote:
>Suppose I have a variable
>params = {AccuracyGoal->30, PrecisionGoal->30, WorkingPrecision->50}
>How do I "repackage" it so I can pass it to functions such as
>FindRoot?
In[5]:= FindRoot[Sin[x - 10] - x + 10, {x, 0},
Evaluate[Sequence @@ params]]
Out[5]= {x->9.9999999999999999082814968797948489030999445842851}