Investigating Continuity of Piecewise Functions This is a collection of examples suitable for in-class demonstration and/or individual student exploration. The examples are built into a Java applet from the Java Components for Mathematics collection. To access the built-in example functions, use the pull-down menu in the applet. The functionality of the applet also allows for user input of multiple parameter (6, in this applet) piecewise functions. The syntax for entering piecewise functions is illustrated using the following examples. The values of all parameters are whole number multiples of -0.25 and +0.25. The syntax will probably not be transparent for most students so use careful judgment in whether or not to have students do coding of additional examples. The function
would be entered as (x<-2)?3*x+2:x-1. The function
would be entered as (x<-2)?3*x+2:(-2<=x AND x < 1)?2*x^2-x+1:(x>=1)?x-1. Note that axis limits can be adjusted as necessary. Endpoints are not displayed by the Java applet so it is important to discuss endpoint inclusion/exclusion as appropriate. If you provide the applet for student assignments/experimentation, please point out what the appropriate parameters are for the particular example. These can be observed from the function coding, however, they are also noted in the table below. If a parameter is NOT relevant in a particular example, the slider will have no effect. The built-in functions are given below.
The Java applet is part of the Java Components for Math collection, developed by David Eck (eck@hws.edu).This project was supported by NSF grant number DUE-9950473 last updated 11/03/2004 DRH |