real-life step function

posted by .

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 -

    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

    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⌋

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. Algebra

    Find the zeros the function *could someone explain this to me step by step I'm very confused Y=x^2-x-42
  2. Gr.11 - Rational functions graphing.

    1. Identify a rational function whose graph is a horizontal line except for two holes. Graph the function. 2. Identify a rational function who graph lies entirely above the x-axis and has a single vertical asymptote. Graph the function. …
  3. Algebra help+check please?

    Graph the function. Compare the graph with the graph of f(x)=x q(x)=x-1 How would I do this?
  4. Pre-calculus

    can someone show how to graph step by step the polynomial function -x^4 - 4x^2. That is -x to the fourth power minus -4x squared. Please Help!!!
  5. AP CAlc. AB Please helppp!!

    f(x)=|x|+1 Let A(r) be the enclosed by the x axis, the line x=-2, the graph of the function f, and the line x=r for any r=>-2 A) Write A(r) as a piecewise function with its joints at r=0 Please walk me through each step i am really …
  6. Chemistry

    I really need help with this I am really confused with the law, I have looked at multiple examples and I am still so confused, I know you can't give me the answer, but is there anyway you could please take me through this question …
  7. Math(Reiny Could You Help?)

    The graph of the function g(x) has the same shape and direction of opening as the graph of f(x)= 3(x-2)^2+9. The graph of g(x) has a vertex that is 2 units to the right and 5 units down from the vertex of the graph of f(x). A.) Determine …
  8. Math

    Is the step function differentiable in its domain?
  9. Algebra 2

    Consider the graph of f(x)=2[[x/3]] +4 with doman {x|0<_x<12}. Create the piecewise function that would produce the same graph over the indicated domain. [[ ]] stands for a step function
  10. math

    Is the function a polynomial function? Why or why not?

More Similar Questions