MathGroup Archive 2000

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

Search the Archive

Re: just doesn't work

  • To: mathgroup at
  • Subject: [mg25363] Re: [mg25346] just doesn't work
  • From: BobHanlon at
  • Date: Sun, 24 Sep 2000 03:01:31 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

In a message dated 9/23/2000 3:59:53 AM, justmyname at writes:

>I am writing a paper in Mathematica 4.0, and I found it to be very powerful
>text editor. However, I encountered some deadly problems, which I cannot
>solve. Thanks for any help!
>1. How can I replace a symbol m with (4 a b c Pi Ro)/3 in expr
>(4 a^3 b c K Pi Ro)/(15 r^3)
>expr/.(4 a b c Pi Ro)/3 -> m
>just doesn't work
>2. How Can I 'bring out' a defined part from a sum of two terms.
>Bo[a^2 b c + a b c,a b c] - (would produce) - > a b c (a+1)
>just doesn't work.

1. Substitute for either b, c, or Ro. Showing that each substitution provides 
the same result

(4 a^3 b c K Pi Ro)/(15 r^3) /. (Solve[(4 a b c Pi Ro)/3 == m, #] // 
          Flatten) & /@ {b, c, Ro} // Union


2. Use Simplify

a^2 b c + a b c // Simplify

a*(1 + a)*b*c

Bob Hanlon

  • Prev by Date: Start-up Default Screen Size of Notebook Window ?
  • Next by Date: Re: About N in Mathematica 4
  • Previous by thread: just doesn't work
  • Next by thread: Re: just doesn't work