If for every 50$ spent, you get a 10$ credit, what would be the step function formula?
we have that
Let
x ----> amount spent
y ----> amount of credit
so
x/y=50/10
x/y=5
y=(1/5)x
For
[tex]0\text{ < x }\leq50[/tex]y=$10
For
[tex]50\text{ < x }\leq100[/tex]y=$20
For
[tex]100\text{ < x }\leq150[/tex]y=$30