"Ravinder Kumar B." <ravi at crest.ernet.in> wrote in message news:<bovtvd$nbc$1 at smc.vnet.net>...
> Dear All,
> How to define a function over two different ranges in mathematica.
> For example
>
> f(t):= Exp[-i*t] for t > 0 and
> = 0 for t < 0
>
> Your response/clarification will be deeply appreciated.
> Regards,
> Ravi
This is the way I prefer, because you can
get derivatives :
f[t_] := Exp[-i*t]UnitStep[t];
---
jcp