Posted by **Claire** on Tuesday, October 16, 2012 at 10:16pm.

So if I wanted to do a step-function graph for gas prices, how would that work? I'm a little confused. Could someone give me examples please? That would be so helpful (: Thanks!

- real-life step function -
**Steve**, Wednesday, October 17, 2012 at 10:41am
if you knew that gas went up 2 cents every week, you might use something like

p = 3.299 + 2⌊x⌋

where x is the number of weeks

and p is the price, which started at 3.299

To see some examples, you can go to

wolframalpha.com

and enter

plot 3.299 + 2⌊x⌋

you can play around with various numbers and see what happens

you can also use int(x) for ⌊x⌋

## Answer This Question

## Related Questions

- Algebra help+check please? - Graph the function. Compare the graph with the ...
- Math(Reiny Could You Help?) - The graph of the function g(x) has the same shape ...
- Math - Is the step function differentiable in its domain? I answered it and said...
- Chemistry - I really need help with this I am really confused with the law, I ...
- Pre-calculus - can someone show how to graph step by step the polynomial ...
- Algebra - Find the zeros the function *could someone explain this to me step by ...
- Algebra 2 - Consider the graph of f(x)=2[[x/3]] +4 with doman {x|0<_x<12...
- AP CAlc. AB Please helppp!! - f(x)=|x|+1 Let A(r) be the enclosed by the x axis...
- Gr.11 - Rational functions graphing. - 1. Identify a rational function whose ...
- Calculus - Use the four-step process to find the slope of the tangent line to ...

More Related Questions