MathGroup Archive 2006

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

Search the Archive

Simplify UnitStep expressions


The following is transcribed from a Mathematica 5.2 notebook in Windows XP:

In[1]:= Simplify[UnitStep[a-x/b], a-x/b > 0]
Out[1]= 1

In[2]:= Simplify[UnitStep[a-Pi/b], a-Pi/b > 0]
Out[2]= UnitStep[a-Pi/b]

Why does the second output different from the first?  I know it has 
something to do with the fact that Pi is internally defined in Mathematica 
because a similar result occurs Pi is replaced with E, but what logic is 
being followed?

-- 
======================================
 L. Dwynn Lafleur
 Professor of Physics
 University of Louisiana at Lafayette
 lafleur at louisiana.edu
======================================




  • Prev by Date: Re: Can't Remove[] variable "K"? (Really strange behavior . . . )
  • Next by Date: General--How to use "CoefficientList" command to get a matrice from a polynome?
  • Previous by thread: Re: Can't Remove[] variable "K"? (Really strange behavior . . . )
  • Next by thread: Re: Simplify UnitStep expressions