 David Lewis

2021-12-17

A camera shop stocks eight different types of batteries, one of which is type A7b.Assume there are at least 30 batteries.
of each type.a. How many ways can a total inventory of 30 batteries be distributed among the eight different types? b.
How many way can a total inventory of 30 batteries be distributed among the eight different types of the inventory must
include at least four A76 batteries?c. How many ways can a total inventory of 30 batteries be distributed among the eight
different types of the inventory includes at most three A7b batteries Juan Spiller

Denitions
Definition permulatin (oder is important)
No repetition allowed: $P\left(n,r\right)=\frac{n!}{\left(n-r\right)!}$
Repetition allowed: ${n}^{r}$
Definition combination(order is not important):
No repetition allowed: $\left(\begin{array}{c}n\\ r\end{array}\right)=\frac{n!}{r!\left(n-r\right)!}$
Repetition allowed: $C\left(n+r-1,r\right)=\left(\begin{array}{c}n+r-1\\ r\end{array}\right)=\frac{\left(n+1-1\right)!}{r!\left(n-1\right)!}$
with $n\ne n\cdot \left(n-1\right)\cdot \cdots c\cdot 2\cdot 1$
Solution
The camera shop stokcs8 different types of batteries and there are at least 30 batteries of each kind
(a) We want to select r=30 batteries frrom the n=8 kinds of batteries,
$r=30$
$n=8$
The order of the batteries doesnt stomachdm

a) No of ways can a total inventory of
30 batteries be distributed among the
eight different types

$=\frac{37!}{30!7!}=\frac{37×36×35×34×33×32×31}{7×6×5×4×3×2×1}$
$10295472$
b) The number of ways can a total inventory
of 30 batteries be distributed among 8
different types if the inventory must include
at least 4 A76 batteries

$=1947792+1623160+1344904+1107568$
$=6,023,424$ nick1337

(a)
To calculate:
The number of ways a batch of 30 batteries can be distributed among eight
categories.
Formula used:
The namber of ways to select r number of elements from a set of n elements is
given by:

Calculation
It is nedded to select an inventory of 30 individuals from eight diffeent types and
it is possible to select all units from one types or miss one or few types in the
selection.
Let n=8, r=30.

$=10,295,472$
(b)
To find :
Thenumber of possibilities to select inventore of 30 batteries  representing all eught
categories including at least 4 batteries form category A76.
Calculation
In part(a) we have obtained the number is shows that  possible ways to select 30
batteries. By subtracting the number of ways to select 30 batteries includung ar
most 3 units of A76 from this total count, the number of ways that can be select a
batch of 30 batteries with at least 4 batteries of A76 can be found.
Now substitute n=7, r=29.
[
$=1M623,160$
Then, the selection of 2 units from A776 is substituting n=7, r=28.

$=1,344,904$
Then, the selection of 3 units from A76 is substitutiong n=7, r=27.

If there is no A76 batteries then n=7, r=30.

$=1,947,792$
Thus, the total number of possible ways to selecting 30 batteries,
$10,205,472-\left(1,623,160+1,344,904+1,107,568+1,947,792\right)$
$=4,272,048$
(c)
To find:
The number of possible ways to select a batch of 30 batteries including at most 3
batteries from the type AT6
Calculation:
The number of possible ways to select a batch of 30 batteries includung at most 3
batteries from the type A76 can be calculated  by subtract nymber of possible ways
to selecting 30 batteries including at least 4 of A76 from total possibility.
That is
$10,295,472-4,272,048=6,023,242$

Do you have a similar question?