       Re: A New User

• To: mathgroup at smc.vnet.net
• Subject: [mg29327] Re: [mg29321] A New User
• From: "peter lindsay" <plindsay at dcs.st-and.ac.uk>
• Date: Thu, 14 Jun 2001 02:27:10 -0400 (EDT)
• References: <200106130710.DAA12706@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Would this not do it?

Solve[(a+b*Sqrt[c])*(d+e*Sqrt[c])^k== (f+g*Sqrt[c]),{g}]

note the square brackets and the double = sign.

Peter Lindsay

----- Original Message -----
From: "Jim-dars" <jim-dars at mediaone.net>
To: mathgroup at smc.vnet.net
Subject: [mg29327] [mg29321] A New User

> Hi All,
>
> I have a problem of the form:
>
>       (2+Sqrt(3))*(1+2*Sqrt(3))
>
> I would like Mathematica to present the solution in the form (8 +
> 5*Sqrt(3)).
>
> Of course, I realize I can calculate the two components.  However, since
> this situation occurs repeatedly in a problem I'm solving, it would be
very
> convenient to have Mathematica display the answer directly.  In fact, if
> Mathematica could provide me with a=8 and b=5 that would be even better.
>
> My actual problem is of the form:
>
>          (a+b*Sqrt(c))*(d+e*Sqrt(c))^k  = (f+g*Sqrt(c))
>
> where a,b,c,d, and e are positive integers.  c is not a perfect square,
but
> may contain a square factor.
> k is an integer such that -infinity < k < infinity.   It is desired to
find
> f and g.  (Actually, just g.)
>
> Best wishes, Jim
>
>
>

```

• References:
• A New User
• From: "Jim-dars" <jim-dars@mediaone.net>
• Prev by Date: Re: Replacing elements in matrix.
• Next by Date: Re: A New User
• Previous by thread: A New User
• Next by thread: Re: A New User