Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Constant function Integrate Assumption

  • To: mathgroup at
  • Subject: [mg47222] Re: Constant function Integrate Assumption
  • From: astanoff_otez_ceci at (astanoff)
  • Date: Wed, 31 Mar 2004 02:57:57 -0500 (EST)
  • References: <c4bdnf$6tr$>
  • Sender: owner-wri-mathgroup at

Daryl Reece wrote:

> I am trying to use units within an Integration and would like
> Mathematica to understand that the units (Month) are not a function of
> the integration variable, but I have not had any luck with my
> attempts.

> Specifically

> Integrate[UnitStep[t Months], t]

> should yield

> t UnitStep[t]

my solution : 

UnitStep[t_*unit_ /; MemberQ[Attributes[unit],Constant]]:=UnitStep[t];


In[3]:=Integrate[UnitStep[t  Months],t]
Out[3]=t UnitStep[t]

0% de pub! Que du bonheur et des vrais adhérents !
Vous aussi inscrivez-vous sans plus tarder!!
Message posté à partir de, BBS actif depuis 1995.

  • Prev by Date: Re: Expansion of an exponential expression
  • Next by Date: exporting animations to powerpoint
  • Previous by thread: Constant function Integrate Assumption
  • Next by thread: Re: Constant function Integrate Assumption