Re: Re: simple equation manipulation
- To: mathgroup at smc.vnet.net
- Subject: [mg72889] Re: [mg72847] Re: [mg72828] simple equation manipulation
- From: "Andrew McCracken" <ajmccracken at gmail.com>
- Date: Wed, 24 Jan 2007 05:54:13 -0500 (EST)
Thanks for all the responses. I have just learned the importance of sending
the actual problem rather than what I assume is an equivalent one.
I have
FullSimplify[Solve[b''[0]==a, p1]]
FullSimplify[Solve[b''[1/dsdt]==a, p1]]
Out[48]=
\!\({{p1 \[Rule] \(-\(\(a -
6\ dsdt\^2\ \((p0 + p2)\)\)\/\(12\ dsdt\^2\)\)\)}}\)
Out[49]=
\!\({{p1 \[Rule] a\/\(6\ dsdt\^2\) + 2\ p2 - p3}}\)
In[50]:=
Apart[FullSimplify[Solve[b''[0]==a, p1]]]
Apart[FullSimplify[Solve[b''[1/dsdt]==a, p1]]]
Out[50]=
\!\({{p1 \[Rule] \(-\(\(a -
6\ dsdt\^2\ \((p0 + p2)\)\)\/\(12\ dsdt\^2\)\)\)}}\)
Out[51]=
\!\({{p1 \[Rule] a\/\(6\ dsdt\^2\) + 2\ p2 - p3}}\)
I would like the first formula to be in the same form as the second. I can't
really see why the two equations are in different forms to begin with, they
seem symbolically equivalent.
Also how can I copy something from mathematica in a form that's readable?
Cheers,
Andrew
On 22/01/07, Andrzej Kozlowski <akoz at mimuw.edu.pl> wrote:
>
>
> On 21 Jan 2007, at 12:01, Andrew McCracken wrote:
>
> > Hi
> >
> > I have:
> > ( (a - 6k^2(c+b))
> > / k^2)
> >
> > I want:
> > a/k^2 - 6(c+b)
> > Using mathematica, what command does this?
> >
> > Cheers,
> > Andrew
> >
>
>
> In[1]:=
> Apart[(a - 6*k^2*(b + c))/k^2]
>
> Out[1]=
> a/k^2 - 6*(b + c)
>
> Andrzej Kozlowski
>
>