MathGroup Archive 2000

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

Search the Archive

Re: Question


In a message dated 9/17/2000 4:54:38 AM, smitsky at mindspring.com writes:

>Hi, can anyone be so kind as to tell me how this problem:
>
>1/cbrt(m) +2    (One over the Cube Root of "m" plus Two)
>
>...can be solved in Mathematica by rationalizing the denominator? Thank
>you.
>

f[m_] := 1/Rationalize[N[m^(1/3)], 0] + 2;

Table[f[m], {m, 10}]

{3, 818099381/292837179, 160180721/59472423, 
  261314795/99360729, 319745309/123701977, 
  400834502/157170203, 315222994/124951739, 5/2, 
  342055810/137884039, 435566974/176760913}

If the 2 was actually intended to be be part of the denominator then

g[m_] := 1/(Rationalize[N[m^(1/3)], 0] + 2);

Table[g[m], {m, 10}]

{1/3, 232425023/757687225, 41235875/141944173, 
  62593337/224547403, 72341355/268384687, 
  86494096/330158395, 65319516/255590771, 1/4, 
  66287732/270459503, 82045148/340851209}


Bob Hanlon


  • Prev by Date: Re: powersum with a function with variable count of parameters
  • Next by Date: Re: Question
  • Previous by thread: Question
  • Next by thread: Re: Question