Answer:
<u>The number of pens = 120 and the number of pencils = 200</u>
Step-by-step explanation:
Let the number of pens x, and the number of pencils is y
the cost of one pen $1, and the cost of one pencil $0.5
The cost of the whole purchase was $220
1 * x + 0.5 * y = 220
x + 0.5 y = 220 ⇒ eq.(1)
there were 80 more pencils than pens
y - x = 80 ⇒ eq.(2)
from eq.(2) x = y - 80
By substitution with x from the last equation at eq.(1)
∴ (y - 80) + 0.5 y = 220
1.5y = 220 + 80 = 300
y = 300/1.5 = 200
x = y - 80 = 200 - 80 = 120
<u>So, the number of pens = 120 and the number of pencils = 200</u>
Answer:
A)
B)
C) for n = 2
= 1
for n = 3
= 3
for n = 4
= 8
for n = 5
= 19
Step-by-step explanation:
A) A recurrence relation for the number of bit strings of length n that contain a pair of consecutive Os can be represented below
if a string (n ) ends with 00 for n-2 positions there are a pair of consecutive Os therefore there will be : strings
therefore for n ≥ 2
The recurrence relation for the number of bit strings of length 'n' that contains consecutive Os
b ) The initial conditions
The initial conditions are :
C) The number of bit strings of length seven containing two consecutive 0s
here we apply the re occurrence relation and the initial conditions
for n = 2
= 1
for n = 3
= 3
for n = 4
= 8
for n = 5
= 19
4 inches of rain would fall in 6 hours
<h3><u>Solution:</u></h3>
Given that, A rain storm came through Clifton park
And it was accumulating inches of rain/hour
So amount of rain accumulated in 1 hour =
Thus amount of rain accumulated in six hours is calculated by multiplying the amount of water accumulating per hour and 6
Amount of water accumulated in 6 hours = Amount of water accumulated in 1 hour 6
<em><u>Another way:</u></em>
Let "n" be the amount of rain accumulated in 6 hours
1 hour ⇒ rain accumulated
6 hours ⇒ "n"
By cross multiplication, we get
Hence, 4 inches of rain would fall in 6 hours.