MathGroup Archive 2000

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

Search the Archive

Re: Mathematica for High School Students


In article <8jc6f4$da5 at smc.vnet.net>, "Ersek, Ted R" 
<ErsekTR at navair.navy.mil> wrote:

> Out[4]=
> y == (b*(-3*x + 6*(x - y)))/4
> 
> 
> In[5]:=
> Factor[Map[Expand,%]]
> 
> Out[5]=
> y == (3*b*(x - 2*y))/4
> 
> 
> If Expand has the Listable attribute (and it normally doesn't) Map isn't
> needed in the last line above.

Surely, 

   In[5]:= Factor[%]

suffices?  It works for me.  Also, you could use ExpandAll instead of 
Expand.

Cheers,
   Paul

-- 
Paul Abbott                                   Phone: +61-8-9380-2734
Department of Physics                           Fax: +61-8-9380-1014
The University of Western Australia                
Nedlands WA  6907                      
AUSTRALIA                             http://physics.uwa.edu.au/~paul


  • Prev by Date: Re: get points from the polyhedron
  • Next by Date: RE: Problems with Legendre expansion
  • Previous by thread: Re: Wrong plot size
  • Next by thread: External programs, notebook interface