# A function to pieces

### #1

Posted 21 November 2003 - 06:05 PM

For example:

and = x - 2 if x < 2

and = x + 3 if 2 < x < 3

and = 7 if x > 3

I have tried it of a pile of forms and I am not able

### #2

Posted 21 November 2003 - 09:13 PM

y=sin(x)|-2Pi

In the example that you propose it would be:

y=x-2|2>x

y=x+3|2

y=7|3

Perhaps in addition piecewise is of utility the function (literalmnete is ' to pieces ').

Salut

Coco

### #3

Posted 21 November 2003 - 09:15 PM

### #4

Posted 21 November 2003 - 09:18 PM

"y=x-2|2>x"

"y=x+3|2

"y=7|3

### #5

Posted 21 November 2003 - 09:39 PM

Graph "y=7|3" but I did not obtain the awaited results?

### #6

Posted 21 November 2003 - 11:22 PM

Salut

Very many thanks Coco; she is happening that you have bothered yourself helping me; this is one of the things that needed and I take more than one week behind it, Leaves perfect, so and as you explained. I repeat my thanks to you. I am to your disposition.

I have been investigating and leaves perfecvto writing:

y=x+1|x<-1

and = x+2|x>-1|x<2

y=x|x>2

The lines are not cut to me, as you said, leaves to me perfect?

you would talk about other things.

y=piecewise(x:lol:

Incorrect argument!!

What is wrong? I check it on both Manager and ClassPad !

OK, thank you

### #8

Posted 22 November 2003 - 08:16 AM

### #9

Posted 27 November 2003 - 07:55 AM

y=x+1|x<-1

and = x+2|x>-1|x<2

y=x|x>2

The lines are not cut to me, as you said, leaves to me perfect?

you would talk about other things.

### #10

Posted 18 December 2003 - 05:25 AM

I think it can help:and = x - 2 if x < 2

and = x + 3 if 2 < x < 3

and = 7 if x > 3

y=piecewise(x:lol:

### #11

Posted 26 December 2003 - 10:10 AM

### #12

Posted 27 December 2003 - 04:43 AM

### #13

Posted 31 December 2003 - 01:42 PM

#### 0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users