Ceiling Function

Author

Eric W. Weisstein
June 1, 2004

This notebook downloaded from http://mathworld.wolfram.com/notebooks/SpecialFunctions/CeilingFunction.nb.

For more information, see Eric's MathWorld entry http://mathworld.wolfram.com/CeilingFunction.html.

©2005 Wolfram Research, Inc. except for portions noted otherwise

Plot

<<Utilities`Plot`

Real Axis

PlotDiscontinuous[Ceiling[x],{x,Sequence@@Range[-4,4]},AxesLabel->TraditionalForm/@{x,Ceiling[x]},PlotRange->All]

PlotDiscontinuous[Ceiling[x],{x,-4.9,Sequence@@Range[-4,4],4.9},AxesLabel->TraditionalForm/@{x,Ceiling[x]},PlotRange->All]

Complex Plane

ComplexPlot3D[Ceiling[z],{z,-3,3}]

ComplexContourPlot[Ceiling[z],{z,-3,3}]//Timing

Identities

Plot[Ceiling[x]+IntegerPart[-x],{x,-5,5}]