Re: just doesn't work
- To: mathgroup at smc.vnet.net
- Subject: [mg25359] Re: [mg25346] just doesn't work
- From: Andrzej Kozlowski <andrzej at tuins.ac.jp>
- Date: Sun, 24 Sep 2000 03:01:28 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
on 00.9.23 4:36 PM, Borut L at justmyname at email.si wrote: 1. In[1]:= Simplify[(4 a^3 b c K Pi Ro)/(15 r^3), {m == (4 a b c Pi Ro)/3}] Out[1]= 2 a K m ------ 3 5 r 2. In[2]:= Simplify[a^2 b c + a b c] Out[2]= a (1 + a) b c or just In[3]:= Factor[a^2 b c + a b c] Out[3]= a (1 + a) b c You can't really make Mathematica arrange the output in the order you wrote in your desired without using HoldForm. > Helo, > > 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. > > e.g. > > Bo[a^2 b c + a b c,a b c] - (would produce) - > a b c (a+1) > > Collect[expr,{a,b,c}] > just doesn't work. > > > Borut, f.r.o.m. Slovenia > > > -- Andrzej Kozlowski Toyama International University, JAPAN For Mathematica related links and resources try: <http://www.sstreams.com/Mathematica/>