TI-89 HomeGames ArchiveTitanium GamesGames How ToProgramsFAQForumTI-89 WikiLinks

graphing a piecewise vertical line

 
Post new topic   Reply to topic    Your TI-89 Resource Forum Index -> Math
Author Message
WeirdClayJisKOOL



Joined: 23 Nov 2006
Posts: 3
Location: Michigan

PostPosted: November 23, 2006 9:07 AM    Post subject: graphing a piecewise vertical line Reply with quote

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! Very Happy

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!!! Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger AIM Address
baseballdude_



Joined: 20 Sep 2006
Posts: 76
Location: Wisconsin

PostPosted: November 23, 2006 11:31 AM    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger AIM Address
WeirdClayJisKOOL



Joined: 23 Nov 2006
Posts: 3
Location: Michigan

PostPosted: November 23, 2006 12:21 PM    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger AIM Address
baseballdude_



Joined: 20 Sep 2006
Posts: 76
Location: Wisconsin

PostPosted: November 23, 2006 3:52 PM    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger AIM Address
WeirdClayJisKOOL



Joined: 23 Nov 2006
Posts: 3
Location: Michigan

PostPosted: November 23, 2006 4:19 PM    Post subject: Reply with quote

ugh. thats one of the faults with these calculators is they have to be y=
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger AIM Address
bluesuit



Joined: 08 Nov 2006
Posts: 42

PostPosted: November 28, 2006 10:32 PM    Post subject: stat plot Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:    View previous topic : View next topic  
Post new topic   Reply to topic    Your TI-89 Resource Forum Index -> Math All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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

Contact Us | Privacy Policy | Disclaimer | Trademarks

Copyright ©2006 All rights reserved.


Free Greeting Cards | Girly Myspace Layouts | Myspace Unblocker |