MathGroup Archive 2007

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

Search the Archive

Re: Converting a number back to a symbol?

In article <fgenct$fsd$1 at>, AES <siegman at> 

> If we have an expression containing integer powers of the symbol u0 and 
> we know that u0's numerical value is (or at least eventually will be) u0 
> = Pi/2, we know what happens if we write
>    expr /. {u0 -> Pi/2}
> But what about the reverse case . . . 

My abject apologies for this -- utter stupidity in action.

My test case was (in separate cells):

      u0 =  Pi/2;

      f = u0 + 2 u0^2 + 4 u0^2

      f /. {Pi -> 2 u0}

  • Prev by Date: Re: Size of graphic
  • Next by Date: Re: NDSolve with functions of vectors
  • Previous by thread: Re: Converting a number back to a symbol?
  • Next by thread: Intern. Mathematica Symposium 2008, 20-24 June 2008 in Maastricht, NL