Question 1147790
Let {{{ y }}} = the amount you have left at the end of each day
Let {{{ x }}} = the number of the day
( {{{ x = 0 }}} means the 1st day isn't over yet )
{{{ y = 160 - 8x }}}
( note that a negative {{{ y }}} means you ran out of money )
{{{ graph( 400, 400, -10, 24, -20, 180, -8x + 160 ) }}}