Step Function Intuition Math Example 2
Follow the full solution, then compare it with the other examples linked below.
Example 2
mediumA parking garage charges \3\ for each additional hour (or part). Write and evaluate the cost function for , , , and hours.
Solution
- 1 Model: first hour costs \3\. For : where is the ceiling function.
- 2 Evaluate: C(0.5) = \3C(1) = \; C(1.2) = 3+2\cdot 1 = \5C(3.9) = 3 + 2\cdot 3 = \ (three additional hours started).
- 3 The cost function is a step function โ constant on intervals, jumping at integer boundaries.
Answer
C(0.5)=\3C(1)=\, C(1.2)=\5C(3.9)=\
Real-world billing often uses step (ceiling) functions: you pay for each started unit, not just completed ones. The ceiling function rounds up to the nearest integer.
About Step Function Intuition
A step function is piecewise constant โ it takes a fixed value on each of several intervals, jumping abruptly at the interval boundaries.
Learn more about Step Function Intuition โMore Step Function Intuition Examples
Example 1 easy
Evaluate the floor function [formula] at [formula], [formula], and [formula]. Then describe the grap
Example 3 easyEvaluate: (a) [formula], (b) [formula], (c) [formula], (d) [formula].
Example 4 hardDefine [formula]. Find all [formula] in [formula] where [formula], and sketch [formula] on [formula]