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


Groups > comp.soft-sys.math.mathematica > #3219

Re: How to find one expression in terms of another expression?

From Jacare Omoplata <walkeystalkey@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How to find one expression in terms of another expression?
Date 2011-06-21 11:18 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <itpuma$m0o$1@smc.vnet.net> (permalink)
References <itm0of$143$1@smc.vnet.net> <itolk6$er6$1@smc.vnet.net>

Show all headers | View raw


Thanks for this answer.

On Jun 20, 7:37 pm, Ray Koopman <koop...@sfu.ca> wrote:
>
> Omit 'dt = t2 - t1'. Otherwise, every time you write 'dt'
> it will be replaced by 't2 - t1'. Here is all you need:
>
> In[1]:=
> T1 = (t1 - ((u x1)/c^2))/Sqrt[1 - (u^2/c^2)];
> T2 = (t2 - ((u x2)/c^2))/Sqrt[1 - (u^2/c^2)];
> dT = Simplify[T2 - T1] /. t2 - t1 -> dt
> {b,a} = CoefficientList[dT,dt]
>
> Out[3]= (c^2*dt + u*(x1 - x2))/(c^2*Sqrt[1 - u^2/c^2])
>
> Out[4]= {(u*(x1 - x2))/(c^2*Sqrt[1 - u^2/c^2]), 1/Sqrt[1 - u^2/c^2]}

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to find one expression in terms of another expression? Jacare Omoplata <walkeystalkey@gmail.com> - 2011-06-19 23:29 +0000
  Re: How to find one expression in terms of another expression? Ray Koopman <koopman@sfu.ca> - 2011-06-20 23:37 +0000
    Re: How to find one expression in terms of another expression? Jacare Omoplata <walkeystalkey@gmail.com> - 2011-06-21 11:18 +0000
  Multiple use of Set on lists Jonathan Frazer <J.Frazer@sussex.ac.uk> - 2011-06-20 23:38 +0000
    Re: Multiple use of Set on lists Oleksandr Rasputinov <oleksandr_rasputinov@hmamail.com> - 2011-06-21 11:17 +0000
  Re: Multiple use of Set on lists Leonid Shifrin <lshifr@gmail.com> - 2011-06-25 09:31 +0000

csiph-web