posted by melissa

Lines can be used to approximate a wide variety of functions; often a function can be described using many lines.

If a stock price goes from \$10 to \$12 from January 1st to January 31, and from \$12 to \$9 from February 1st to February 28th, is the price change from \$10 to \$9 a straight line?

How can I use two “pieces” of lines to describe the price movements from the beginning of January to the end of February?

I don't believe it will be a straight line, but how do I do the second part of using two pieces of lines to describe the price movements?

1. Steve

If we use x as the number of days since the start of the year,

build each piece with a y=mx+b section, where the price starts a t b and the line has slope m (\$/day)

January is y = 10 + 2/31 x
February is 12 - 3/28 (x-31)

## Similar Questions

1. ### Math

Are these correct with the lines y=0.15x+0.79 0.11x-y=-0.85 The line represents an estimate of the average cost of gasoline for each year. The line estimates the price of gasoline in January of each year (Bureau of Labor Statistics, …
2. ### algebra 2

Posted by hellogoodbie on Saturday, January 16, 2010 at 3:24pm. Posted by hellogoodbie on Saturday, January 16, 2010 at 2:59pm. How is this problem done?
3. ### Pre Calc

1) How do you analyze this function: 11x-2y=0 2) Find the equations of the lines to the line whose equation is y-7 -3 ---- = ----- x-13 2 if these lines pass through the point (6,-5)

The line y=0.15x+0.79 represents an estimate of the average cost of gasoline each year. The line 0.11x-y=-0.85 estimates the price of gasoline in January of each year (“Consumer price index,” 2006). a. Do you expect the lines to …
5. ### algebra

the line y=0.16x +0.84 represents an estimate of the average cost of gasoline for each year. the line 0.14x-y=0.95 estimates the price of gasoline in january of each year. a) do you expect the lines to be intersecting, parallel, or …
6. ### Trig

A population of animals oscillates annually from a low of 1300 on January 1st to a high of 2200 on July 1st, and back to a low of 1300 on the following January. Assume that the population is well-approximated by a sine or a cosine …
7. ### Algebra

Lines can be used to approximate a wide variety of functions; often a function can be described using many lines. If a stock price goes from \$10 to \$12 from January 1st to January 31, and from \$12 to \$9 from February 1st to February …
8. ### Maths

On the 1st of January 2014, Carol invested some money in a bank account. The account pays 2.5% compound interest per year. On the 1st of January 2015, Carol withdrew £1000 from the account. On the 1st of January 2016, she had £23 …
9. ### math

On the 1st of January 2014, Carol invested some money in a bank account.  The account pays 2.5% compound interest per year.  On the 1st of January 2015, Carol withdrew £1000 from the account.  On the 1st of January 2016, she had …
10. ### Math calculus 2

The revenue, in millions of dollars, for a company in year t is given by the function: R(t)=15*e^(0.08*t), 0≤t≤15 and the cost, in millions of dollars, to run the company in year t is approximated by: C(t)=12*e^(−0.04*t), 0≤t≤15 …

More Similar Questions