Precalculus I Class 05/01
. . . . . . . . . . . . . . . .
Problem Number 6
If the daily cost of heating or cooling a house when outside temperature is T is given by the function
cost(Temp) = $(. 46 + . .025 `sqrt( ( 75 - Temp)^2 ) ,
and if the average daily temperature is given as a function of the number t of days since Jan 1 as
Temp(t) = 49 + 20 sin( 2`pi ( t - 80)/365 ),
then what is the average daily cost on days t = 0, 90, 180 and 270?
We plug t = 0, 90, 180, 270 into Temp(t) to get temperatures 29.37387059, 52.42586288, 68.77355180, and 46.42503645.
We then plug these temperatures into cost(Temp) to get costs 1.600653235, 1.024353427, 0.6156612048 and 1.174374088.
What is the composite function cost( Temp(t) ) ?
We substitute 49 + 20 sin( 2`pi ( t - 80)/365 ) for temp in cost(temp) to get
= (. 46 + . .025 `sqrt( ( 26 - 20 sin( 2`pi ( t - 80)/365 )) )^2 ) .
Evaluate your composite function at t = 0, 90, 180 and 270 to check your expression.
If we substitute t = 0, 90, 180, 270 into cost(temp(t)) = (. 46 + . .025 `sqrt( ( 26 - 20 sin( 2`pi ( t - 80)/365 )) )^2 ) we get costs 1.600653235, 1.024353427, 0.6156612048 and 1.174374088, in agreement with our previous results.
Question about discriminant:
The discriminant is b^2 - 4 a c. This is the thing you take the square root of in the quadratic formula, then apply the +-.
When the discriminant of a quadratic equation is negative there is no solution because you can't take the square root of a negative.
When the discriminant is zero the square root is zero and both the + and the - give you the same result. This gives you one repeated solution to the equation. This means the equation is of the form (x - z)^2, where z is the single zero given by the formula.
When the discriminant is positive you get two different solutions, one for the + and one for the -.
Problem Number 7
If a patient starts with no drug in her body takes a 400 mg dose every 6 hours, losing 30 % of the after-dose amount during that time, then how much drug will remain 6 after the initial dose?
The amounts are:
The just-before dose amounts are 0, 280, 476, 613.2 mg.
We will look at sequence of ratios, then if necessary at sequence of ratios of differences to see that the function is exponential.
The asymptote is the before-dose maintenence-level concentration such that the 30% lost is equal to the dose taken.
Let L be the after-dose maintenance level. Then
so
We easily solve to get L = 1333 1/3 mg.
This is the after-dose maintenance level. The before-dose level is therefore 400 mg less:
The before-dose concentrations 280, 476, 613.4 mg approach 933 1/3 mg as an asymptote.
See notes from the preceding class for more detail on how to obtain the exponential function
Problem Number 8
If f(x) = x^-3.004 and g(x) = .49 ^ x, find the formula for (f + g) ( x ). Find the average rate of change of the function (f + g) ( x) between x = 1 and x = 1.2.
(f+g)(x) = f(x) + g(x) = x^-3 + .49 ^ x.
The ave rate of change between x = 0 and x = .2 is the change in the function value divided by the change in x:
Ave rate of change is therefore
Problem Number 2
A certain breed of rabbit requires a month to mature, after which each pair produces 1 pair of newborns at the end of the next month, 4 pairs the month after that, 1 pair the next month, then 4 pairs the next, etc.. Rabbits never die. If we start with 1 pair of newborn rabbits, how many will we have at the end of each of the first 10 months? What recurrence relation will give us the populations for subsequent years?
We begin by making a table. There are now three categories of rabbits: immature, mature producing 1 pair, and mature producing 4 pairs.
An immature pair will produce a mature pair producing 1 pair.
A mature pair producing 1 pair will produce that pair in the next month and in that month will become a mature pair producing 4 pairs.
A mature pair producing 4 pairs will produce those pairs in the next month and in that month will become a mature pair producing 1 pair.
Starting at month 0 with 1 immature pair only:
Starting at month 2 with 1 mature pair producing 1:
Starting at month 3 with 1 immature pair and one mature pair producing 4:
Starting at month 4 with 4 immature pairs and 2 mature pairs
Starting at month 5 with 2 immature pairs, 4 mature pairs producing 1 and 2 mature pairs producing 4
The process continues.
Hint on setting up the recurrence relation: Let a(n) = total number of pairs, b(n) = number of mature pairs producing 1 in month n. Express i(n) and m4(n), the numbers of immature and of mature producing 4, in month n in terms of b(n-1), b(n-2), b(n-3), b(n-4) etc., whichever terms are appropriate. Then note that a(n) = i(n) + b(n) + m4(n) and get your expression for a(n) in terms of the values of b(n), b(n-1), b(n-2), b(n-3), b(n-4) etc., as appropriate.
With this model we would get a(n) = b(n) + 2 b(n-1) + 4 b(n-2).
You just need to find the rule for b(n).
Suppose the breed takes a month to mature and every mature pair produces 2 pairs of newborns every month. What is the recurrence relation?
Let a(n) be the number at the end of each month. The figure below is similar to the figure obtained in the preceding class, where the total number in month n-2 becomes the number of mature in month n-1 which in turn produce the immature pairs in month n-2.
In this case each mature pair produces 2 immature pairs so the recurrence relation is a(n) = a(n-1) + 2 a(n-2).
Problem Number 8
The temperature of a hot potato in a room at 7 degrees starts out at 80 degrees and after 4 minutes has dropped to 48 degrees. What exponential function models this data, and after how long will the temperature have dropped to 12 degrees?
The difference between room temperature and the temperature of the potato will be an exponential function.
This difference starts at 80 deg - 7 deg = 73 deg. After 4 minutes the temperature difference has dropped to 48 deg - 7 deg = 41 deg.
So Tdiff is an exponential function with the two data points (0, 73) and (4, 41), representing Tdiff vs. t. We find the function for Tdiff as follows:
73 = A * b^0
41 = A * b^4.
41 / 73 = (A b^4) / (A b^0) or
41/73 = b^4. Taking the 1/4 power of both sides we get
b = (41/73)^(1/4) = .866.
73 = A * .866^0, or since .866^0 = 1
73 = A.
Tdiff = 73 * .866^t.
The temperature is 7 degrees + Tdiff so our temperature function is
To find when the temperature first reaches 12 degree we let Temp(t) = 12 degrees and solve for t:
5 = 73 * .866^t. Dividing both sides by 73 we get
5/73 = .866^t. Taking the log of both sides we get
log(5/73) = t log(.866) so that
t = log(5/73) / log(.866) = 18.6.
We conclude that the temperature first reaches 12 degrees at t = 18.6.