Simply you would do
45+10 time the number of days
So
45+10 x 2 and then you would put the answer in the next Collin
T is more than -4. Remember that -4 is not included.
I suspect you meant
"How many numbers between 1 and 100 (inclusive) are divisible by 10 or 7?"
• Count the multiples of 10:
⌊100/10⌋ = ⌊10⌋ = 10
• Count the multiples of 7:
⌊100/7⌋ ≈ ⌊14.2857⌋ = 14
• Count the multiples of the LCM of 7 and 10. These numbers are coprime, so LCM(7, 10) = 7•10 = 70, and
⌊100/70⌋ ≈ ⌊1.42857⌋ = 1
(where ⌊<em>x</em>⌋ denotes the "floor" of <em>x</em>, meaning the largest integer that is smaller than <em>x</em>)
Then using the inclusion/exclusion principle, there are
10 + 14 - 1 = 23
numbers in the range 1-100 that are divisible by 10 or 7. In other words, add up the multiples of both 10 and 7, then subtract the common multiples, which are multiples of the LCM.
Step-by-step explanation:
2 * 2 for potatoes = £4
3 * 3 for carrots = £9
90p * 3 for turnips = 270p = £2.70
total price = 9+4+2.70=15.70
change = 20 - 15.70 = £4.30