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!

1 answer

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⌋
Similar Questions
  1. Write a cosine function for the sinusoid.Step 1: Find the maximum and minimum values. 1 and -3 Step 2: Identify one cycle of the
    1. answers icon 3 answers
  2. write a function rule for the table.y= x -10, -7, -2, 6, 10 y -25, -19, -9, 7, 15 Can someone please show me step by step how to
    1. answers icon 1 answer
  3. Graph the function. Compare the graph with the graph of f(x)=xq(x)=x-1 How would I do this? Cause, I do know that f is the same
    1. answers icon 2 answers
  4. write a function rule for the table.Y= x -9, -7,-4, 3, 11 y 27, 23, 17, 3, -13 I am trying to help my son with home school work.
    1. answers icon 1 answer
more similar questions