Let, number of small, medium and large popcorn sold are s, m and l respectively.
So, s + m + l = 250 ....1)
Also, l = 2s ....2)
Total sum = $1726 = 2s + 5m + 10l .....3)
Putting value of l from 2) to 1) is :
s + m + 2s = 250
m + 3s = 250
m = 250 - 3s ....4)
Putting value of m and l in terms of s in equation 3)
We get :
2s + 5( 250 - 3s ) + 20s = 1726
7s = 1726 - 1250
s = 68
l = 136
m = 250 -3(68) = 46
Now,

Hence, this is the required solution.
Answer:
The Taylor series of f(x) around the point a, can be written as:

Here we have:
f(x) = 4*cos(x)
a = 7*pi
then, let's calculate each part:
f(a) = 4*cos(7*pi) = -4
df/dx = -4*sin(x)
(df/dx)(a) = -4*sin(7*pi) = 0
(d^2f)/(dx^2) = -4*cos(x)
(d^2f)/(dx^2)(a) = -4*cos(7*pi) = 4
Here we already can see two things:
the odd derivatives will have a sin(x) function that is zero when evaluated in x = 7*pi, and we also can see that the sign will alternate between consecutive terms.
so we only will work with the even powers of the series:
f(x) = -4 + (1/2!)*4*(x - 7*pi)^2 - (1/4!)*4*(x - 7*pi)^4 + ....
So we can write it as:
f(x) = ∑fₙ
Such that the n-th term can written as:
