| Author |
Message |
WeirdClayJisKOOL
Joined: 23 Nov 2006 Posts: 3 Location: Michigan
|
Posted: November 23, 2006 9:07 AM Post subject: graphing a piecewise vertical line |
|
|
ok so i got really bored in pre-calc, so i decided to create piecewise equations to display my "logo". i got it all done, but it's got about 4 vertical line segments. is there any way to do thoes with piecewise equations? (i've been using the when() function)
also, i currently have each segment as a seperate y= equation. i know that there is a way to have it all in one y=, but there were so many segments i got confused. i'll put what i have and if anyone could combine them for me, that would be great. thanks!
this is what i have:
y1=when(-11<x and x<0,x+7,1/0)
y2=when(-6<x and x<0,x+4,1/0)
y3=when(-11<x and x<1,-4,1/0)
y4=when(-6<x and x<1,-2,1/0)
y5=when(0<x and x<4,-x+7,1/0)
y6=when(0<x and x<2.5,-x+4,1/0)
y7=when(2.5<x and x<4,x-1,1/0)
y8=when(-1<x and x<1,-x,1/0)
y9=when(3.5<x and x<5,x-3,1/0)
y10=when(5<x and x<11,-x+7,1/0)
y11=when(3.5<x and x<5,-x+4,1/0)
y12=when(4<x and x<5,x-6,1/0)
y13=when(2<x and x<4,-2,1/0)
y14=when(2<x and x<5,-4,1/0)
y15=when(5<x and x<6.5,x-9,1/0)
y16=when(6.5<x and x<8,-x+4,1/0)
y17=when(8<x and x<11,-4,1/0)
so basically i want to combine those, and add 4 more for these vertical lines:
x=-1 [1>y>-1]
x=1 [1>y>-1]
x=1 [-2>y>-4]
x=2 [-2>y>-4]
thanks a bunch!!!  |
|
| Back to top |
|
 |
baseballdude_

Joined: 20 Sep 2006 Posts: 76 Location: Wisconsin
|
Posted: November 23, 2006 11:31 AM Post subject: |
|
|
| You could make it a y= line, just having it be such a huge slope that it looks vertical on the calculator. |
|
| Back to top |
|
 |
WeirdClayJisKOOL
Joined: 23 Nov 2006 Posts: 3 Location: Michigan
|
Posted: November 23, 2006 12:21 PM Post subject: |
|
|
yea thats what one of my classmates said. i'll just do that. what about combining the when statements...is it possible?
EDIT:i tried it, and it made a vertical line, but i can't figure out how to get it to only be a certain length... |
|
| Back to top |
|
 |
baseballdude_

Joined: 20 Sep 2006 Posts: 76 Location: Wisconsin
|
Posted: November 23, 2006 3:52 PM Post subject: |
|
|
Just make the range super small.
For a vertical line at x=2, for example, you could use 1.9<x<2.1 |
|
| Back to top |
|
 |
WeirdClayJisKOOL
Joined: 23 Nov 2006 Posts: 3 Location: Michigan
|
Posted: November 23, 2006 4:19 PM Post subject: |
|
|
| ugh. thats one of the faults with these calculators is they have to be y= |
|
| Back to top |
|
 |
bluesuit

Joined: 08 Nov 2006 Posts: 42
|
Posted: November 28, 2006 10:32 PM Post subject: stat plot |
|
|
| One easy solution is to use a data plot (x values in L1, Y values in L2, connected by lines) which also supports vertical lines. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
Saphic 1.5 // Theme created by Sopel
|
|