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 ...
- 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 ...
- AP CAlc. AB Please helppp!! - f(x)=|x|+1 Let A(r) be the enclosed by the x axis...
- Calculus - Use the four-step process to find the slope of the tangent line to ...
- Gr.11 - Rational functions graphing. - 1. Identify a rational function whose ...
- Math - "A fix it business charges 40 dollars per hour or any fraction thereof. ...
- algebra2 - Find the values of x and y that maximize the objective function P=3x...

More Related Questions