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

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

Search the Archive

normalization and square roots

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65739] normalization and square roots
  • From: wtplasar at ehu.es
  • Date: Sun, 16 Apr 2006 03:49:18 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

[This post has been delayed due to email problems - moderator]



I have this function

f[x_, om_, oro_] := 1/(Sqrt[oro] - Sqrt[om(1 + x)^3 + ol + oro]) /. 
ol -> myrule

and I want to define a rule (myrule) so that 

f[0,om,or0]=1

If I set 

myrule=-om + (-1 + Sqrt[oro])^2 - oro;

then it works find when I do not give numerical values to om and oro.

For instance, if I evaluate f[0,a,b] I get 1, but if I evaluate
f[0,0.3,0.4] I get 3.77485. I think it is just because it is not taking
the right which is convenient for me.

Can you help me?

Thanks,

Ruth


  • Prev by Date: Plot3D: plot does not display when PlotPoints different from 25. Mathematica 5.2
  • Next by Date: problem inporting FITS format data
  • Previous by thread: Re: Plot3D: plot does not display when PlotPoints different from 25. Mathematica 5.2
  • Next by thread: Re: normalization and square roots