1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Piecewise functions! how to graph it!

  1. Apr 11, 2005 #1
    Okay so i found a link online that's supposed to help you graph piecewise functions..i have a TI-83 graphing calculator and I can't seem to graph the function..
    http://fym.la.asu.edu/~tturner/MAT_117_online/piecewisefunction/Piecewise.htm [Broken]
    http://fym.la.asu.edu/~tturner/MAT_117_online/piecewisefunction/Piecewise.htm [Broken]

    I'm still trying to understand how they graphed the first function. I tried putting it into the calculator like Y1= X, {-1,1} but it shows an error..can anyone guide me through it?
    thanks so much
     
    Last edited by a moderator: May 2, 2017
  2. jcsd
  3. Apr 11, 2005 #2
    Just bumping this up, cuz i need to know by tomorrow :( thanks alooot in advance..
     
  4. Apr 11, 2005 #3
    I've never done piecewise functions on my calculator, and I got the first one to work fine (fx-9750).

    The only thing I could suggest is you said you put Y=X,{-1,1} , whereas the website says to use square brackets? [ ]
     
  5. Apr 11, 2005 #4
    hmmm..so what did you put exactly in ur calculator? and do you have a TI-83? does it have to be on a specific mode or something?
    i tried
    Y1 = X,{-1,1}
    and
    Y1= X,[-1,1]

    AFter that when i press it to graph it, it comes up as ERR: Synthax...
    ahh! :(
     
  6. Apr 11, 2005 #5

    NSX

    User Avatar

    Do you have to use a Graphing Calculator?

    If not, perhaps you can use Maple.

    I'll include sample code in the case you are able to use Maple.

    Code (Text):

    with(plots):
    points := {[-1,-1],[-0.96,-0.151],[-0.86,0.894],[-0.79,0.986],[0.22,0.895],[0.5,0.5],[0.93,-0.306]}:
    p := pointplot(points, color=sienna, labels=[x,y]):
    p1 := -806.517475*(x+1.0)^3 + (-25)*(-0.96-x) + (-2.48457204)*(x+1.0):
    one := plot(p1, x=-1..-0.96, y=-1.5..1.5, color=red):
    p2 := -322.60699*(-0.86-x)^3 + (-174.2004278)*(x+0.96)^3 + 1.7160699*(-0.86-x) + (10.68200428)*(x+0.96):
    two := plot(p2, x=-0.96..-0.86, color=orange):
    p3 := -248.857754*(-0.79-x)^3 + (2.687788307)*(x+0.86)^3 + (13.99083157)*(-0.79-x) + (14.07254412)*(x+0.86):
    three := plot(p3, x=-0.86..-0.79, color=yellow):
    p4 := 0.1862823579*(0.22-x)^3 + (-0.5797228909)*(x+0.79)^3 +
    (0.7862109904)*(0.22-x) + (1.477513935)*(x+0.79):
    four := plot(p4, x=-0.79..0.22, color=green):
    p5 := -2.091143285*(0.5-x)^3 + (-0.7539202345)*(x-0.22)^3 +
    (3.360374205)*(0.5-x) + (1.844821632)*(x-0.22):
    five := plot(p5, x=0.22..0.5, color=blue):
    p6 := -0.4909248039*(0.93-x)^3+(1.253562694)*(0.93-x)+(-153/215)*(x-0.5):
    six := plot(p6, x=0.5..0.93, y=-1.5..1.5, color=magenta):
    display(p, one, two, three, four, five, six);
     
    It generates the following graph

    http://www.s119875471.onlinehome.us/piecewise.png [Broken]
     
    Last edited by a moderator: May 2, 2017
  7. Apr 11, 2005 #6
    those sites are about graphing piecewise functions, but it's obvious it's not using a ti83, it wouldn't make sense that it'd work. Anyhow, here's a link that should help youhttp://www.acad.sunytccc.edu/instruct/sbrown/ti83/funcpc.htm [Broken]
     
    Last edited by a moderator: May 2, 2017
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook




Loading...
Similar Threads for Piecewise functions graph Date
Position mean in momentum-space (QM) Apr 15, 2018
Linear algebra, field morphisms and linear independence Apr 14, 2018
Archived Piecewise Potential Function Feb 14, 2014
Piecewise does not translate properly Feb 15, 2009
Piecewise Linear Question Sep 11, 2008