MathGroup Archive 2012

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

Search the Archive

Re: Mathematica issue

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127847] Re: Mathematica issue
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Sun, 26 Aug 2012 05:45:10 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <k1ch0q$n2j$1@smc.vnet.net>
  • Reply-to: nma at 12000.org

On 8/26/2012 1:51 AM, Kashyapa Sirinanda wrote:
> I am a PhD student from the University of Melbourne Australia. My question is;
>
> I need solve this equation [A +  B  +  x^(a)  (C - D x^(b) ]=0,
>
> A,B,C,D,a and b are constants.

First thing on Mathematica:

1. Do not use single UpperCase letter. This is very important.
2. If you must use UpperCase letter, then add something to the
UpperCase letter. I'd write D0 for example instead of D.
3. start function names with lowerCase letter.
4. Mathematica is CaseSensetive. UpperCase single letters are
used by Mathematica for important names.

>
> I need analytical expression for the x in terms of A,B,C,D and a,b,
>

try this:

parms = {A0 -> 1, B0 -> 2, a -> 3, C0 -> 4, D0 -> 5, b -> 6}
eq    = A0 + B0 + x^a (C0 - D0 x^b) == 0
sol   = Solve[eq /. parms, x]
N[sol]

--Nasser




  • Prev by Date: Re: Representing musical timings on a helix
  • Next by Date: Re: Mathematica issue
  • Previous by thread: Re: Mathematica issue
  • Next by thread: Re: Mathematica issue