document.write( "Question 1202756: In 2018, a 2-liter of Coca-Cola cost $1.40. In 2022, the cost is $1.98.
\n" ); document.write( "Write an exponential equation to describe the rate of inflation over this time period. Let t = 0 correspond to 2018, and let C be the cost of a 2-liter. Round any numbers calculated to at least four decimal places.
\n" ); document.write( "C = ?\r
\n" ); document.write( "\n" ); document.write( "If inflation continues at the same rate, how much will a 2-liter of Coke cost in 2033?
\n" ); document.write( "

Algebra.Com's Answer #837836 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Answer: $5.14\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-------------------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Explanation:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I'll use x in place of t, and y in place of C.
\n" ); document.write( "x = t
\n" ); document.write( "y = C\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "One template of an exponential function is
\n" ); document.write( "y = a*b^x\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = 0 corresponds to the year 2018.
\n" ); document.write( "When x = 0, the cost is y = 1.40
\n" ); document.write( "The point (0,1.40) is on the exponential curve.
\n" ); document.write( "It is the y intercept.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The gap from 2022 to 2018 is 4 years (since 2022-2018 = 4).
\n" ); document.write( "x = 4 corresponds to the year 2022.
\n" ); document.write( "We have x = 4 pair with y = 1.98
\n" ); document.write( "The point (4,1.98) is also on the exponential curve.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Plug in the coordinates of the 1st point.
\n" ); document.write( "y = a*b^x
\n" ); document.write( "1.40 = a*b^0
\n" ); document.write( "1.40 = a*1
\n" ); document.write( "1.40 = a
\n" ); document.write( "a = 1.40
\n" ); document.write( "This is the initial value.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We have
\n" ); document.write( "y = a*b^x
\n" ); document.write( "update to
\n" ); document.write( "y = 1.40*b^x\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Plug in the coordinates of the 2nd point
\n" ); document.write( "y = 1.40*b^x
\n" ); document.write( "1.98 = 1.40*b^4
\n" ); document.write( "1.98/1.40 = b^4
\n" ); document.write( "1.414286 = b^4
\n" ); document.write( "b = (1.414286)^(1/4)
\n" ); document.write( "b = 1.090522
\n" ); document.write( "The result is approximate\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Therefore,
\n" ); document.write( "y = 1.40*b^x
\n" ); document.write( "updates to
\n" ); document.write( "y = 1.40*(1.090522)^x\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Graph of y = 1.40*(1.090522)^x through the points (0,1.40) and (4,1.98)
\n" ); document.write( "
\n" ); document.write( "GeoGebra and Desmos are two graphing options I recommend.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The year 2033 is 2033-2018 = 15 years after 2018.
\n" ); document.write( "Plug in x = 15
\n" ); document.write( "y = 1.40*(1.090522)^x
\n" ); document.write( "y = 1.40*(1.090522)^(15)
\n" ); document.write( "y = 5.13623051169986
\n" ); document.write( "y = 5.14
\n" ); document.write( "The two-liter coke is estimated to cost around $5.14 in the year 2033.
\n" ); document.write( "
\n" ); document.write( "
\n" );