MathGroup Archive 2007

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

Search the Archive

Re: How to express this function.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84241] Re: [mg84231] How to express this function.
  • From: DrMajorBob <drmajorbob at bigfoot.com>
  • Date: Fri, 14 Dec 2007 23:23:09 -0500 (EST)
  • References: <28085834.1197680771654.JavaMail.root@m35>
  • Reply-to: drmajorbob at bigfoot.com

Clear[f]
f[x_] /; -1/2 <= x < 1/2 := x Sign[x]
f[x_] := f@Mod[x, 1, -1/2]
Plot[f@x, {x, -3, 3}, AspectRatio -> Automatic]

Bobby

On Fri, 14 Dec 2007 13:58:44 -0600, huxiaopengstat at gmail.com  
<huxiaopengstat at gmail.com> wrote:

> f is  a period continual function with period  1.
> f equals x when 0<x1/2,equals -x when -1/2<x<1.
>
> How to express this function?
>
>



-- 

DrMajorBob at bigfoot.com


  • Prev by Date: Re: How to express this function.
  • Next by Date: WorkingPrecision and plotting functions
  • Previous by thread: Re: How to express this function.
  • Next by thread: Area of inside contour of continuous function?