Ask your own question, for FREE!
Mathematics 20 Online
OpenStudy (anonymous):

Need help with difference equation...

OpenStudy (anonymous):

Suppose your car has a 14 gallon gas tank that you fill as soon as the level drops below half a tank. Every time you fill up, you add 1 quart (1/4 gallon) of an additive that mixes completely with the gas and is used along with the gas.

OpenStudy (anonymous):

What is the difference equation and initial value that models the amount A sub n of additive in the tank at the time of the nth fill-up?

OpenStudy (amistre64):

found it :)

OpenStudy (anonymous):

great!

OpenStudy (anonymous):

I attached so I will not have to type out entire problems

OpenStudy (amistre64):

i see it. how much additive is remaining at the time of each fill up..

OpenStudy (anonymous):

I truly appreciate your help...I love getting on here helping others so I share your passion!

OpenStudy (amistre64):

pistachios are more of my passion i think :)

OpenStudy (amistre64):

this is more of a hobby lol

OpenStudy (anonymous):

lol...well you're AWESOME!

OpenStudy (anonymous):

ok so do you understand the question

OpenStudy (amistre64):

lets assume that we start with a clean tank..right? at halhway we fill it up and add the additive.

OpenStudy (anonymous):

ok

OpenStudy (amistre64):

at half a tank we have only half of what we put still in..... and the ration is the same, 14: .25 or some such right?

OpenStudy (anonymous):

yes

OpenStudy (amistre64):

the quart we put in becomes half a quart, and we add more gas and anouter quart... right?

OpenStudy (anonymous):

ok

OpenStudy (amistre64):

this loks to be one of those exponential or log setups... from first glance

OpenStudy (anonymous):

don't think so

OpenStudy (amistre64):

I could be wrong, I allow that :)

OpenStudy (amistre64):

So A0 = 1 quart of additive. A1 = 1 quart + 1/2 thats left = 1.5 quarts a2 = 1.5/2 +1 and iterates that way...makes sense?

OpenStudy (anonymous):

yes!

OpenStudy (amistre64):

lets plug in the numbers and see if theres a pattern to follow :)

OpenStudy (anonymous):

would it be easier to stay with gallons since the tank is in gallons A1=.25+7?

OpenStudy (amistre64):

"that models the amount An of additive in the tank at the time" leads me to believe that the gas itself is of no consquence, only to tell us when to fill up again

OpenStudy (anonymous):

ok

OpenStudy (amistre64):

1 = 1 2 = 1.5 3 = 1.75 4 = 1.875 5 = 1.9375 6 = 1.96875

OpenStudy (amistre64):

7 = 1.984375

OpenStudy (amistre64):

i see a pattern emerging, just gotta put my finger on it :)

OpenStudy (anonymous):

I got it An=.5A0+1?

OpenStudy (amistre64):

\[\frac{\frac{\frac{\frac{1}{2}+1}{2}+1}{2}+1}{2}+1...\]

OpenStudy (amistre64):

Does this pattern remind you of anything?

OpenStudy (anonymous):

Fibonacci?

OpenStudy (amistre64):

it does kinda look fibonaci like :)

OpenStudy (amistre64):

i cant place it yet....

OpenStudy (amistre64):

but its growing to a limit of 1.99999999999999999999

OpenStudy (anonymous):

Can you help with others/check

OpenStudy (anonymous):

yes I have 1.998 for n=10

OpenStudy (amistre64):

I can try; have you finished them?

OpenStudy (anonymous):

Still have to answer rest of 2, almost done with 3, 4 complete-easy

OpenStudy (anonymous):

the formula on p.368 is \[D _{n}=L-(L-D _{0})a ^{n}\]

OpenStudy (amistre64):

and what do we do with this formula :)

OpenStudy (anonymous):

c) Find the solution from a using equation

OpenStudy (anonymous):

or maybe we use L =B/1-a as n approaches infinity

OpenStudy (amistre64):

have we found our difference equation yet?

OpenStudy (anonymous):

I am using Asub n = .5Asub0 + 1

OpenStudy (anonymous):

typed it earlier...do you agree?

OpenStudy (amistre64):

is that the same as .05(n) + 1?

OpenStudy (amistre64):

.5(n) +1

OpenStudy (anonymous):

yes!

OpenStudy (amistre64):

at n = 3 we get: 2.5 with that one, so it doesnt match our data.

OpenStudy (amistre64):

at any rate, we are adding 1 and a fraction, so anything over 2 is not correct :)

OpenStudy (anonymous):

using previous values of Asubn to get others

OpenStudy (anonymous):

\[A _{n}=.5A _{n+1}+1\]

OpenStudy (amistre64):

lets test that equation and see if it gets us what we know. .5(3+1) + 1 = 2+1 = 3. its not working yet :)

OpenStudy (amistre64):

I got something :) needs to be ironed out tho

OpenStudy (anonymous):

\[A _{n+1}=.5A _{n}+1\]

OpenStudy (amistre64):

2n+1 An = 1 + ------ 2^n

OpenStudy (anonymous):

I see it but can't explain in formula correctly

OpenStudy (amistre64):

\[1,\frac{1}{2}, \frac{3}{4}, \frac{7}{8}, \frac{15}{16}, \frac{31}{32}, \frac{63}{64}\]

OpenStudy (amistre64):

that fits it to a "T" :)

OpenStudy (amistre64):

\[A _{n} = 1+\frac{2n+1}{2^n}\]

OpenStudy (amistre64):

its off at n=0; do we start at 0?

OpenStudy (anonymous):

that is giving greater than 2

OpenStudy (anonymous):

no n=1

OpenStudy (amistre64):

its close, but needs to be tweeked

OpenStudy (amistre64):

2(n-1)+1

OpenStudy (amistre64):

\[A_{n} = 1 + \frac{2(n-1)+1}{2^n}\]

OpenStudy (amistre64):

not yet eh lol

OpenStudy (anonymous):

\[A _{n}=.5A _{n-1}+1\]

OpenStudy (anonymous):

we are taking half of previous output and adding 1 right?

OpenStudy (amistre64):

yes

OpenStudy (amistre64):

yours looks good like that :)

OpenStudy (amistre64):

half of what it was, then add 1....yep

OpenStudy (amistre64):

What is A_0-1? or are we starting n=1 :)

OpenStudy (anonymous):

geeshhh. I had that thinking too hard ; (

OpenStudy (amistre64):

lol

OpenStudy (anonymous):

n=1

OpenStudy (amistre64):

good, we got an equation that we like...now we use it in C right? or B first

OpenStudy (anonymous):

a

OpenStudy (amistre64):

that was A; find the equation ;)

OpenStudy (amistre64):

B is; use it to make a table....

OpenStudy (anonymous):

yes...done

OpenStudy (amistre64):

We just happened to make a table first lol

OpenStudy (anonymous):

working backwards in a problem solving strategy ; )

OpenStudy (anonymous):

is

OpenStudy (amistre64):

Dn =L−(L−D0 )a^n So what does this formula mean? its greek to me :)

OpenStudy (anonymous):

me too...uh oh

OpenStudy (amistre64):

368 should tell us something about it...like what D is and L

OpenStudy (amistre64):

pg 368 that is

OpenStudy (anonymous):

B/1-a in place of L for solutions growing towards infinity

OpenStudy (anonymous):

sorry keep forgetting to his post

OpenStudy (amistre64):

whats the chapter heading for your material?

OpenStudy (anonymous):

Modeling with Difference Equations

OpenStudy (amistre64):

does the formula have a name for it? its probably online somewhere and I can get a better grip on it.

OpenStudy (anonymous):

difference equation...

OpenStudy (anonymous):

using Asubn+1=.5Asubn +1

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!