Q.1.5 - Theoretical Exercises

Question

Determine the number of vectors(x1,...xn)  such that each xi is either 0 or 1 and

i=1nxik

Step-by-Step Solution

Verified
Answer

The number of vectors (x1,.....xn) is144 and 18

1Step-1 Given Information

Given in the question that,

Code is sequence of 3 digits

The first digit is an integer between 2 and 9

Second digit is either 0 or 1

Third digit is integer between 1 and 9

we have to find the number of vectors.

2Step-2 Explanation

Case (a):3digit code

First digit =8 options 2-9

Second digit =0 or 1 (2 options)

Third digit =9options(1-9)

Total number of possible area codes will be

=8×2×9=144       

Case (b):

First digit  =1options (4)

Second digit =0 or 1 (2 options)

Third digit =9options(1-9)

Total number of possible area codes will be 

=1×2×9=18