
Calculus Calculus Math Forum 
 LinkBack  Thread Tools  Display Modes 
April 6th, 2011, 04:38 AM  #1 
Newbie Joined: Apr 2011 Posts: 2 Thanks: 0  Piecewise constant function on my Ti84
Today in class, we've talked about limits and the continuity of functions and this was an example: f(x)={ x1 if x<2 1x+1/2 x² if 2?x?4 26/(5x15) if x>4 This is a piecewise constant function, but how can I put this is my Ti84 if I want to see a graph of it? 
April 6th, 2011, 05:28 AM  #2 
Global Moderator Joined: Oct 2008 From: London, Ontario, Canada  The Forest City Posts: 7,968 Thanks: 1152 Math Focus: Elementary mathematics and beyond  Re: Piecewise constant function on my Ti84
Y=abs(x2)(x<2)+(1x+x^2/2)(2?x?4)+(26/(5x15))(x>4) The comparison operators are in 2NDMATH. The abs() (absolute value) function is the first entry in the catalog in 2ND0. 
April 6th, 2011, 10:21 AM  #3 
Senior Member Joined: Apr 2007 Posts: 2,140 Thanks: 0 
Texas Instruments make great calculators.

April 6th, 2011, 11:09 AM  #4  
Newbie Joined: Apr 2011 Posts: 2 Thanks: 0  Re: Piecewise constant function on my Ti84 Quote:
but when I put them all together in "Y1=....", with the "+" between them, I became a completely different graph than it was supposed to be that's OK now, because I've put them all apart into functions (Y1=abs(x1)(x<2), Y2=(1x+x²/2)... ) Y1 and Y3 are fine, but the Y2 gives me the complete parabola and not the one for 2?x?4  
April 6th, 2011, 12:06 PM  #5 
Global Moderator Joined: Oct 2008 From: London, Ontario, Canada  The Forest City Posts: 7,968 Thanks: 1152 Math Focus: Elementary mathematics and beyond  Re: Piecewise constant function on my Ti84
I made a mistake. Here's the correction, which displays a correct graph: Y=(abs(x1))(x<2)+(1x+x^2/2)(2?x)(x?4)+(26/(5x15))(x>4) 

Tags 
constant, function, piecewise, ti84 
Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
nonpiecewise smooth function  mariam  Applied Math  1  December 27th, 2013 05:56 AM 
Piecewise Function  math89  Calculus  4  January 20th, 2013 01:03 PM 
Piecewise differentiable function  FreaKariDunk  Real Analysis  3  November 13th, 2012 11:36 PM 
how do we integrate a piecewise function?  alexmath  Calculus  5  October 24th, 2012 06:09 PM 
Piecewise Function help  mathkid  Calculus  4  September 1st, 2012 07:18 PM 