Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1992
*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 1992

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

Search the Archive

Re: Rule and First

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: Re: Rule and First
  • From: alex at fff.chem.utah.edu (Alex Dommasch)
  • Date: Fri, 10 Jul 92 08:50:28 MDT

> Hi Mathgroup,  I am trying to pick out the value of l from the following
> 		equation:
> 

> 

> 	In[20]:= FindRoot[(Exp[28*l]-Exp[l])/((Exp[20*l]-Exp[l])
> 		 *((1+l)^8))== ratio, {l,0.01}]
> 

> 	Out[22]= {l -> 0.0395991}
> 

> 


I'm not sure if this is what you want, but this is how I always go about getting  
a value out of a rule:

In[1]:= lrule = FindRoot[(Exp[28*l]-Exp[l])/((Exp[20*l]-Exp[l])
	*((1+l)^8)) == 2, {l,0.01}]

Out[1]= {l -> -0.0652571}

In[2]:= l /. lrule

Out[2]= -0.0652571

In[3]:= l2 = l /. lrule

Out[3]= -0.0652571

Hope this helps.
--
Alex Dommasch, Programmer                       |--   

Field-Flow Fractionation Research Center        |-    

Department of Chemistry, University of Utah     V     

Salt Lake City, Utah 84112                      |->|..
(801)581-7168           FAX: (801)581-4353      |- |. 

alex at fff.chem.utah.edu (NeXT Mail)              |  |  





  • Prev by Date: Re: Indexed Scan
  • Next by Date: variable exchange between matlab and mathematica ( maybe faq)
  • Previous by thread: Re: Rule and First
  • Next by thread: Solving inequalities