Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11488 > unrolled thread

Re: function manipulation

Started byBob Hanlon <hanlonr357@gmail.com>
First post2012-08-25 08:25 +0000
Last post2012-08-25 08:25 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: function manipulation Bob Hanlon <hanlonr357@gmail.com> - 2012-08-25 08:25 +0000

#11488 — Re: function manipulation

FromBob Hanlon <hanlonr357@gmail.com>
Date2012-08-25 08:25 +0000
SubjectRe: function manipulation
Message-ID<k1a25p$ib0$1@smc.vnet.net>
gl2 = Module[
   {eqn, z = Subscript[\[Tau], xy]''[x], coef},
   eqn = Subscript[g,
      K] (Subscript[e, 1] Subscript[t, 1] +
        Subscript[e, 2] Subscript[t, 2]) Subscript[\[Tau], xy][x] ==
     Subscript[e, 1] Subscript[e, 2] Subscript[t, 1] Subscript[t, 2]
       Subscript[t, K] (Subscript[\[Tau], xy]^\[Prime]\[Prime])[x];
   (z /. Solve[eqn, z][[1]]) - z == 0];

{gl3, repl} = Module[
   {coef = Coefficient[gl2[[1]], Subscript[\[Tau], xy][x]]},
   {gl2 /. Numerator[coef] ->
      \[Omega]^2*Denominator[coef],
    \[Omega] -> Sqrt[coef]}];

gl3

\[Omega]^2*Subscript[\[Tau], xy][x] -
     Derivative[2][Subscript[
           \[Tau], xy]][x] == 0

(gl3 /. repl) === gl2

True


Bob Hanlon


On Fri, Aug 24, 2012 at 6:39 AM, Andreas Talmon l'Arm=E9e
<talmon@fsm.tu-darmstadt.de> wrote:
> Hi
>
> Thanks, this did exactly the job. But unfortunately I got another issue. I
> wanted to replace the fraction by the parameter omega^2 in gl3. So far it
> worked well. But then I tried to define omega for further calculations. At
> the end it did not matter if I solved gl2 or gl3 with DSolve. omega^2 was
> always replaced by its definition. Can I force mathematica to use the much
> shorter parameter omega^2 for a clear arrangement. I attached the file where
> I tried to do the calculation :
>
> Best regards Andreas Talmon
>
>
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web