You are on page 1of 30

Aung Khant Phyo Math For Computing Batch-29

PART-1

(a) Given: 62 red balloons, 25 white balloons and 18 orange balloons

To find: the greatest number of arrangements

Solution:

25
62 18

2 31 5 5 2 9

31 1 5 1 3 3

3 1
The factorization of 62 red balls are 1, 2, 31

The factorization of 25 white balloons are1, 5, 5

The factorization of 18 orange balloons 1, 2, 3, and 3

To find the greatest number of arrangement, we have to choose the common factor of the 62 red
balloons, 25 white balloons and 18 orange balloons.

Therefore,

62= 1×2×31

25=1×5×5

18=1×2×3×3

The greatest number of arrangement is (62, 25, 18) = 1

Answer: The greatest number of arrangement is 1

(b)Given: 40 girls and 32 boys

To find: the greatest number of team that can participate in school

How many girls and boys will be on each team?

Solution:

1
Aung Khant Phyo Math For Computing Batch-29

32
40

2 16
20 2

2 8
5 4

2 4
2 2

The factorization of the 40 girls are 2, 2, 2, and 5


2 2
The factorization of the 32 boys are 2, 2, 2, 2, and 2

To find the greatest number of the team, we need to choose the common factor of the 40 girls and
32 boys.

Therefore,

40= 2×2×2×5

32=2×2×2×2×2

The greatest number of the team (40, 32) = 2 ×2×2

=8

To know how many boys and girls on each team, we have to divide the numbers of boys and girls by
the greatest number of team.

Therefore,

40
To know the number of girls on each team= = 5 girls
8
32
To know the number of boys on each team= = 4 boys
8
Answer: the greatest number of the team = 8 teams
The number of girls on each team= 5 girls

The number of boys on each team= 4 boys

2
Aung Khant Phyo Math For Computing Batch-29

(c)Given: one link every 2 seconds, the other blink every 6 seconds

To find: how many times will they blink at the same time in 60 second
Solution:

In 2 seconds, the neon light blink 1 time


1
In 60, how many time does neon light blink = 60 × = 30 times
2

In 6 seconds, the neon light blink 1 time


1
In 60, how many time does neon light blink = 60 × = 10 times
6

5 30 10

2 6 2

3 1

The factorization of 30 times is 5×3×2 and

The factorization of 10 times is 5×2

To know how many times they will blink at the same time in 60 second, we have to multiple
the divider with the remainder.

Therefore,

The times will they blink at the same time in 60 second = 5 ×3×2×1 = 30 times

Answer: they will blink 30 same times

(d)Given: 28 skittle bags and 36 Hershey Bars

To find: the greatest number of bags


How many skittles will be in each bags?
How many Hershey Bars will be in each bags?
Solution:

28 36

12 3
2 14

2 6
7 2 3

2 3
Aung Khant Phyo Math For Computing Batch-29

The factorization of the 28 skittle bags are 2, 2, and 7

The factorization of the 36 Hershey Bars are 2, 2, 3, and 3

To find the greatest number of bag, we need to choose the common factor of the skittle bags and
Hershey bar.

Therefore,

28= 2×2×7

36=2×2×3×3

The greatest number of bag (28, 36) = 2×2 = 4

To know the number of skittle, we need to divide the number of skittle by the greatest number of
bag

28
The number of skittle= =7 skittle
4
To know the number of Hershey Bars, we need to divide the number of Hershey by the
greatest number of bag.
36
The number of Hershey= = 9 Hershey
4
Answer, the greatest number of bag is 4
The number of skittle = 7 skittle
The number of Hershey= 9 Hershey

(e)Given: the train A stop at 45 minutes and the train B stop at 60 minutes

To find: how many minutes will pass before the two meet?
How many loops will train A make?
How many loops will train B make?
Solution:

5 45 60

3 9 12

3 4

4
Aung Khant Phyo Math For Computing Batch-29

To know the how many minutes will pass before the tow train meet, we need to multiple the
divider with the remainder.

Therefore,

The minutes will pass before the two meet (45, 60) = 5 × 3× 3×4 =180

To know the loop of the train A, we need to divide the pass minutes of two train by the stop
minute of train A.

Therefore

180
The loop of train A= = 4 loop
45
To know the loop of the train B, we need to divide the pass minutes of two train by the stop
minute of train B.

Therefore

180
The loop of train A= = 3 loop
60
Answer: the two train meet in 180 minutes
The train A make 4 loop and train B make 3 loop.

(f)Give: 21 binders and 30 pencil

To find: the greatest number of identical sets


Solution:

30
21

7 3 10 3

5 2

The factorization of the 21 binders are 7, 3

The factorization of the 30 pencil are 2, 3, and 5

To know the greatest number of identical sets, we have to find the common factor of binders and
pencil.

Therefore,

21= 7×3

30= 2×3×5

5
Aung Khant Phyo Math For Computing Batch-29

The greatest number of identical set (21, 30) = 3

Answer: the greatest number of identical set is 3

Part-2

Given: a=55, a2 =50, a3=45

To find: an expression of the number of blocks in the n th row.

The number of block in the 8th row.

The total number of block in the first six row

To find how many row, if she has 300 blocks

Solution:

Firstly we need to find what kind of method we will use (AP or GP)

Therefore, for AP

d= a2-a

d= 50-55=-5

And,

d=a3-a

d=45-50

d=-5

It is AP term.

The expression of the number of block in the n th row is

an= a+(n-1)d

= 55+ (n-1) (-5)

= 55 + (-5n + 5)

= 55 - 5n + 5

=-5n + 60

To find the 8th row, I have to use the following formula,

an= a+(n-1)d

a8=?

a8=55+ (8-1) (-5)

= 55 + [7× (-5)]

=55 + (-35)

=20

6
Aung Khant Phyo Math For Computing Batch-29

To find the total number of first six row, I have to sue the following formula

n
Sn= [2a + (n-1) d]
2
6
S6= [2×55 + (6-1) (-5)]
2
=3[110+ 5 × (-5)]

=3 [110-25]

=3[85] = 255

To find the row of the 300 block, we have to use n th term formula

Answer: The expression of the number of block in the n th row is an= a+(n-1)d

The number of 8th row = 20

The total number of first six row is 255

The row of the 300 block is -48

(b) 1 Given: U5=81, U8=2187

To find: the first three term of geometric sequence

Solution:

In GP,

Un= arn-1

U5=81

ar5-1= 81

ar4= 81 ----- equation 1

U8=2187

ar8-1= 2187

ar7= 2187 -------equation 2

If equation 2 is divided by equation 1,


7
ar 2187
4 =
ar 81

r3= 27

r=3

Replace r=3 in equation 1

7
Aung Khant Phyo Math For Computing Batch-29

ar4= 81

a(3)4= 81

a81= 81

a= 1

U1= a= 1

U2= ar2-1= 1×3=3

U3= ar3-1= ar2= 1×9=9

Answer: the first three term are 1, 3,

(b)2 Given: U2=10000, U5=1250

To find: the first three term

Solution:

In GP,

Un= arn-1

U2=10000

ar2-1= 10000

ar= 10000 ----- equation 1

U5=1250

ar5-1= 1250

ar4= 1250-------equation 2

If equation 2 is divided by equation 1,


4
ar 1250
❑ =
ar 10000
1
r3=
8
1
r=
2
1
Replace r= in equation 1
2
ar= 10000

1
a = 10000
2
a= 20000

8
Aung Khant Phyo Math For Computing Batch-29

U1= a= 20000

1
U2= ar2-1= 20000× =10000
2
1
U3= ar3-1= ar2= 20000× =5000
4
Answer: the first three term are 20000, 10000, 5000

(b)3 Given: U3=40, U6=-320

To find: the first three term

Solution:

In GP,

Un= arn-1

U3=40

ar3-1= 40

ar2= 40----- equation 1

U6=-320

ar6-1=-320

ar5=-320-------equation 2

If equation 2 is divided by equation 1,

ar 5 −320
=
ar 2 40

r3= -8

r = -2

Replace r=-2 in equation 1

ar2= 40

a(-2)2= 40

a4= 10

U1= a= 10

U2= ar2-1= 10×(-2) =-20

U3= ar3-1= ar2= 10×(-2)2= 40

Answer: the first three term are 10, -20, and 40

9
Aung Khant Phyo Math For Computing Batch-29

(b) 4 Given: U2=160, U4=-250

To find: the first three term

Solution:

In GP,

Un= arn-1

U2=160

ar2-1= 160

ar= 160----- equation 1

U4=-250

ar4-1=-250

ar3=-250-------equation 2

If equation 2 is divided by equation 1,


3
ar 250
=
ar 160
25
r2= -
16
5
r=
4
5
Replace r= in equation 1
4
ar= 160

5
a = 160
4
a= 128

U1= a= 128

5
U2= ar2-1= 128× = 160
4

10
Aung Khant Phyo Math For Computing Batch-29

5
U3= ar3-1= ar2= 128×( )2= 200
4
Answer: the first three term are 128, 160, and 200

11
Aung Khant Phyo Math For Computing Batch-29

(c )Given: a=5 and d=2

To find: the sum of the first five term

First five term in sequence and adding

Solution:

In arithmetic sequence, (given)

a=5

d=2

The sum of first five term S5=?

n
Sn= [2a + (n-1) d]
2
5
S5 = [2×5 + (5-1) 2]
2
5
= [10+ (4) 2]
2
5
= [10+ 8]
2
5
= [18]
2
=45

To find the first five term,

a=5

d=a2-a

a2=d + a

=5+2

=7

d=a3-a2

a3= d + a2

=2+ 7

=9

d=a4-a3

a4= d +a3

=2 + 9

= 11

12
Aung Khant Phyo Math For Computing Batch-29

d=a5-a4

a5= d+ a4

= 2 + 11

= 13

To check the sum of the first five term, we need to add the first five term.

Therefore,

S5= a1+ a2+ a3+ a4+ a5

=5 + 7 + 9 + 11 + 13

= 45 (same)

Answer: the sum of first five term is 45

The first five term are 5,7,9,11,13 and their sum is also 45

(d) Given: a=3, the sum of the first 8 term is twice the sum of the first 5 term

To find: the common difference

Solution:

In AP (given)

The sum of the first 8 term is twice the sum of the first 5 term (given)

In formula form,

S8=2S5

n n
[2a + (n-1) d] = 2 ( [2a + (n-1) d])
2 2
8 5
[2×3+ (8-1) d] = 2 ( [2×3 + (5-1) d]
2 2
5
4[6 + 7d] = 2 ( [6 + 4d])
2
24+ 28d =5 [6+ 4d]

24+28d= 30+20d

8d=30-24

8d=6

4d=3

3
d=
4

13
Aung Khant Phyo Math For Computing Batch-29

3
Answer: common ration is
4

( e) Given: S20 = S22, d=-2

To find: the first term

Solution:

In AP (given),

S20 = S22

n n
[2a + (n-1) d] = [2a + (n-1) d]
2 2
20 22
[2a + (20-1) (-2)] = [2a + (22-1) (-2)]
2 2
10[2a+ (19) (-2)] = 11 [2a + 21 (-2)]

10[2a - 38] = 11 [2a -41]

20a- 380 = 22a – 451

20a – 22a = -451 + 380

-2a = - 71

71
a=
2
71
Answer: the first term is
2

(f )Give: U4= 24, U9 = 768

To find: the six term of the sequence

Solution:

In GP,

U4= 24

ar4-1= 24

ar3 = 24

24
a= -----equation-1
r3
U9 = 768

ar9-1= 768

ar8 = 768

14
Aung Khant Phyo Math For Computing Batch-29

768
a= -----equation-2
r8
Replace equation 2 in equation 1

768 24
=
r 8 r3
r3 = 32 =25

r =2

If r=2 replace in equation 1

24
a=
r3
24
a=
8
a= 3

a2 = ar2-1 = ar = 3×2 = 6

a3 = ar3-1 = ar2= 3×4 =12

a4= U4= 24

a5 = ar5-1 = ar4 = 3×16= 48

a6 = ar6-1 = ar5 = 3× 32= 96

Answer: the six term of the sequence is 3, 6, 12, 24, 48, and 96

(g)Given: the sum of arithmetic series is 270, the common different is 1, the first term is 4

To find: the number of term

Solution:

Sn = 270

d= 1

a= 4

n
Sn = [2a + (n-1) d]
2
n
270 = [2× 4+ (n-1) 1]
2
540= n [8 + (n-1)]

540=8n + n2 –n

0 = n2 + 7n – 540

(n + 27) = 0 or (n-20) = 0

15
Aung Khant Phyo Math For Computing Batch-29

n = -27 or n = 20

n = -27 (impossible)

Therefore,

n = 20

Answer: the number of term is 20.

−1
(h)Given: the second term is -1, the sixth term is ,
16
To find: the first term, common ratio

Solution:

In Geometric series, (given)

Un= arn-1

U2= -1

ar2-1=-1

ar=-1

−1
a= -------equation1
r
−1
U6 =
16
−1
ar6-1=
16
−1
ar5 =
16
−1
a= ---------equation 2
16 r 5
replace equation 1 in equation 2

−1 −1
=
r 16 r 5
1
1=
16 r 4
16 r4 = 1

1
r4 = ( )4
2
1
r=
2

16
Aung Khant Phyo Math For Computing Batch-29

1
Replace r= in equation 1
2
−1
a=
r
−1
a= 1
2
a= -2

1
Answer; the first term is -2 and the common ration is
2

(i)Given: the first term is 7.5, common ration is 4

To find: the 4th term and the 7th term

Solution:

In GP

a = 7.5

r= 4

Un= arn-1

U4= ?

U4= ar4-1

= ar3

= 7.5 × 43

= 480

U7= ?

U7= ar7-1

= ar6

= 7.5 × 46

= 30720

U15= ar15-1

= ar14

= 7.5 × 414

= 2013265920

Answer; the 4th term is 480 and the 7th term is 30720 and the 15th term is 2013265920

17
Aung Khant Phyo Math For Computing Batch-29

−3
(j)Given: the first term 4, common ration is
4
To find: the sum of infinite geometric series

Solution:

In GP,

a
S∞ =
(1−r)
4
S∞ = −3
(1−( ))
4
4
S∞ = 3
(1+ )
4
4 4
S∞ = 4 +3 = 7 = 2.285
( ) ( )
4 4
Answer: the sum of the infinite geometric series is 2.285.

Part3

(a) Given: 100 vehicles, 60 are cars, 30 are vans, the remainder are lorry

To find: van leaving first, lorry leaving first, car leaving second if each a lorry or van had left
first

Solution:

number of favourable outcomes


In probability =
number of possible outcomes
30
Probability of van leaving first = = 0.3
100
To know the number of lorry, we need to multiple the total number of cars and vans from vehicles.

Number of lorry = 100 – (60+30)

Number of lorry =100- 90 = 10

Therefore, the total number of lorry is 10

10
Probability of lorry leaving first= = 0.1
100
10 60 30 60
Probability of car leaving second if either a lorry or van had left first= ( × )+( × )
100 99 100 99

18
Aung Khant Phyo Math For Computing Batch-29

60 180
= +
990 990

240
= = 0.242
990

Answer: probability of van leaving first is 0.3, probability of lorry leaving first is 0.1 and probability of
car leaving second if either a lorry or van had left first is 0.242.
(b) Given: M&M sweets are varying colours and different colour occur in different properties
To find: (1) the missing probability,
(2) (i) probability of getting brown one or red one
(ii) Probability of don’t get yellow one
(iii) Probability of don’t getting either an orange one or a tan one
(iv) Probability of getting one that in brown or red or yellow or green or orange
Or tan
Solution:
(1) The missing probability is= ?
The sum of the all M&M probability will have 1 because the value of probability exist
between 0 and 1
So, to know the missing probability we have to multiple 1 with the sum of the sweets
value
The missing probability= 1- (0.3+0.2+0.2+0.1+0.1)
= 1- 0.9
=0.1
(i) Probability of getting brown one or red one= 0.3+0.2= 0.5
(ii) Probability of don’t getting yellow one= probability of brown + probability of red +

Probability of green+ probability of orange+

Probability of Tan

Probability of don’t getting yellow one= 0.3+ 0.2+ 0.1+ 0.1+ 0.1 = 0.8

(iii) Probability of don’t getting either of an orange one or a tan one= probability of brown+
Probability of red+ probability of yellow +
Probability of green

Probability of don’t getting either of an orange one or a tan one= 0.3+0.2+0.2+0.1 = 0.8
(iv) Probability of getting one that in brown or red of yellow or green or
Orange or tan= probability of brown + probability of red + Probability of green+
probability of yellow+ probability of orange+ Probability of Tan

Probability of getting one that in brown or red of yellow or green or


Orange or tan= 0.3+0.2+0.2+0.1+0.1+0.1= 1
Answer; (1) the missing probability= 0.1
(2) (i) probability of getting brown one or red one= 0.5
(ii) Probability of don’t get yellow one= 0.8
(iii) Probability of don’t getting either an orange one or a tan one=0.8
(iv) Probability of getting one that in brown or red or yellow or green or orange
Or tan= 1

19
Aung Khant Phyo Math For Computing Batch-29

c. Given: class has 20 student, one is 16 years old, four are 18, nine are19, three are 20, two are 21
and one is 30

To find: probability distribution of x

Solution:

number of favourable outcomes


In probability=
number of possible outcomes
1
Probability of 16 year old = = 0.05
20
4
Probability of 18 year old = = 0.2
20
9
Probability of 19 years old= = 0.45
20
3
Probability of 20 year old= = 0.15
20
2
Probability of 21 year old= = 0.1
20
1
Probability of 30 year old= = 0.05
20
To find the probability distribution of x, we have to sum all the values of ages.

Probability distribution of x =0.05+ 0.2+ 0.45+ 0.15+ 0.1+0.05 = 1

Answer: probability distribution of x is 1

d. Given: 52 playing cards, 2 packs

To find: both cards are diamond

Both cards are black

Both cards are kings

Solution:

Two packs each of 52 playing cards. So that why the total cards are 104.

In 52 cards, there are 13 diamonds cards, the total card is 26 cards.

number of favourable outcomes


In probability =
number of possible outcomes
number of favourable outcomes
Probability of both cards are diamond =
number of possible outcomes
13 13
Probability of both cards are diamond = × = 0.0625
52 52

20
Aung Khant Phyo Math For Computing Batch-29

number of favourable outcomes


Probability of both cards are black =
number of possible outcomes
26 26
Probability of both cards are black = × = 0.25
52 52
number of favourable outcomes
Probability of both cards are kings =
number of possible outcomes
4 4
Probability of both cards are kings = × = 0.0059
52 52
Answer: Probability of both cards are diamond = 0.0625

Probability of both cards are black = 0.25

Probability of both cards are kings = 0.0059

e. Given: ten red beads, five white beads and three blue beads

To find: red, white, black, blue, red or white, not blue

Solution:

Ten red beads, five white beads and three blue beads (given). So the total beads is 18

number of favourable outcomes


In probability =
number of possible outcomes
10
Probability of red= = 0.555
18
5
Probability of white= = 0.277
18
Probability of black = 0 because the question didn’t give us the amount of beads

3
Probability of blue= = 0.166
18
Probability of red or white =probability of red+ probability of white

= 0.555+ 0.277

= 0.832

Probability of not blue= probability of red+ probability of white+ probability of black

= 0.555+ 0.277+ 0

= 0.832

Answer: probability of red is 0.555, probability of white 0.277, probability of black= 0, probability of
red or white is 0.832, probability of not blue is= 0.832

21
Aung Khant Phyo Math For Computing Batch-29

f. Given: P(1)= 0.1, P(2)= 0.15, P(3)= 0.1, P(4)= 0.2, P(5)= 0.2, P(6)= 0.25. A dice is thrown twice.

To find: (a) both scores are ‘6’s (b) both score are ‘1’s (c) the first score is odd and the second is

Even (d) the total score is 10.

Solution:

number of favourable outcomes


In probability =
number of possible outcomes
number of favourable outcomes
Probability of both score are ‘6’s =
number of possible outcomes
1 1 1
Probability of both scores are ‘6’s = × = = 0.0278
6 6 36
number of favourable outcomes
Probability of both score are ‘1’s=
number of possible outcomes
1 1
Probability of both scores are ‘1’s= × = 0.0278
6 6
number of favourable outcomes
Probability first score is odd and the second is even =
number of possible outcomes
Probability first score is odd and the second is even = the first score is odd and the second is eleven

3 3
Probability first score is odd and the second is even = ×
6 6
9
Probability first score is odd and the second is even = = 0.25
36
number of favourable outcomes
Probability of the total score is 10 =
number of possible outcomes
Probability first score is odd and the second is even = probability of score 4 and probability of score
6 + probability of score 5 and probability of score 5 + probability of score 6 and probability of score 4

1 1 1 1 1 1
Probability first score is odd and the second is even = ( × ) +¿ ( × )+¿ ( × )
6 6 6 6 6 6
1 1 1
Probability first score is odd and the second is even = +¿ +¿
36 36 36
3
Probability first score is odd and the second is even = = 0.03125
36
Answer: Probability of both scores are ‘6’s =0.0278

Probability of both scores are ‘1’s = 0.0278

22
Aung Khant Phyo Math For Computing Batch-29

Probability first score is odd and the second is even = 0.25

Probability first score is odd and the second is even = 0.03125

Report
What is the binomial distribution?
Binomial distribution is a statistical distribution that describes the 
possibility that, under a given set of conditions or expectations, a variable takes 
one of two independent values. Binomial distribution's underlying principles are
that for each trial there is only one outcome, that each trial has the same chance
of completion, and that each experiment is completely or exclusive equivalent 
from each other.
Binomial distribution, as opposed to a continuous distribution, such as 
regular distribution, is a common discrete distribution used in statistics. It is 
because there are only two states in the binomial distribution, usually defined as
1 (for achievement) or 0 (for disaster) provided a number of trials in the sample. 
Therefore, the binomial distribution represents the chance of x successes in n 
trials, given a probability of success p of each trial.

IMPORTANT-

Binomial distribution is also used as a building block for models of dichotomous 
outcome variables in social science statistics, such as whether a Republican or 
Democrat will win an upcoming election, whether a person will die within a 
given time frame, etc.

Binomial distribution represents the number of operations or results where 
each experiment has the same probability of a given outcome being obtained. 
The binomial distribution specifies the possibility of a given number of positive 
outcomes being obtained in a prescribed number of samples.

Binomial distribution is the sum of many independent and identically 
distributed trials of Bernoulli. The procedure is supposed to be random in a 
Bernoulli analysis, which will have only two potential results: success or failure. F
or example, tossing a coin is called a Bernoulli experiment; each experiment 
will only take one of two values (heads or tails), each outcome will have the
same possibility (the possibility of tossing a head is 0.5), and the consequences 

23
Aung Khant Phyo Math For Computing Batch-29

of one trial do not impact the outcomes another's. The Bernoulli method is a 
particular case of binomial distribution where n = 1.

Binomial distribution is determined by comparing the chances of success 
increased to the value of the amount of achievements as well as the chance of
failures raised to the value of discrepancy around number of failures and number 
of tests. Simply divide the result, then, by looking at the number of trials with
the number of failures.

What is normal distribution?

Standard function, also known as both the Gaussian distribution, is a
symmetric distribution of probability over the mean, indicating that data near
the mean appear more often than data further away from the mean. Ordinary
distribution should appear as a bell curve in graph form.

Normal distribution was the most commonly assumed form of distribution 
in scientific stock market analysis and other forms of statistical analysis. The
regression coefficient distribution has two variables: the sample size and the
mean. In a typical range, 68% of the measurements are within + /- one
standard mean deviation, 95% within + /- two standard deviations, and 99.7% 
within +-three decimal points.

Note
 The proper term for a probability bell curve is normal distribution.
24
 Normal distribution is rectangular spread but it is not common for all ang
ular processes.

 In fact, most ranges for prices are not completely natural.
Aung Khant Phyo Math For Computing Batch-29

Example of normal distribution

The standard distribution is commonly used for interpreting population 
component distributions. Since the normal distribution approximates very
accurately a lot of natural phenomena, it has grown into a reference model for
other probability problems. Normal / Gaussian Curve is a bellshaped graph that
contains two simple mean and standard deviation terms. It is a rectangular
configuration of a data set, in which the majority of cluster values in the mean
and the remaining taper are horizontally heading towards a certain side. The 
tendency is affected by a variety of genetic influences.

There are 3 types of normal distribution examples which is using are as


following.

Height

Population height is a case in point of natural distribution. Many 
individuals within a given group are of average height. The percentage of 
individuals is approximately equivalent to both higher and loer than the normal 

25
Aung Khant Phyo Math For Computing Batch-29

height, and a relatively limited amount of people are either very tall or incredibly 
thin. Nevertheless, height is not a specific feature, and height is determined by 
many hereditary and environmental influences. And the normal distribution 
proceeds.

A dice rolling

A decent die roll is a fine illustration of regular distribution, too. In an 
example, it was observed that when a dice is rolled 100 times, the chances of
having ' 1 ' are 15 18 percent and when we roll the dice 1000 times, the odds of 
getting ' 1 ' are again the same, about 16.7 percent (1/6). If we roll dual dices
at the same time, there can be 36 variations. Yet again, the likelihood of rolling ' 
1 ' (with six different combinations) ranges about 16.7%, i.e. (6/36). The 
further detailed the amount of dices the usual flow graph would be.

A coin Tossing

Tossing a coin is one of the earliest dispute-settlement processes. 

26
Aung Khant Phyo Math For Computing Batch-29

Before a match or game, we all flipped a coin. The presumed justice when tossin
g a coin resides in the idea that it has equal opportunity to achieve any outcome 
Chances of going up are 1/2, and the same is true for legs. If we connect both,
this is equivalent to one. If we flip coins several times, it will still stay the 
amount of the chance of having heads and tails 1.

What is modular arithmetic


Modular arithmetic, also referred to as arithmetic modulus or clock 
arithmetic, in its most simple form, arithmetic rendered with a sequence that
disables to zero any time a certain amount N greater than one, defined as the m
odule (mod), is reached. Topics include a 24hour optical clock, and resets to 0 at 
midnight (N = 24), and a 360-degree rotating protractor (N = 360).
Modular arithmetic is critical in the theory of numbers, where it is a
fundamental tool for solving Diophantine equations (especially those restricting t
o numeric strategies). Sweeping generalisations of the topic lead to major effor i
n the 19th century to prove Fermat's last theorem and the creation of essential a
spects of modern logic.
Within linear arithmetic (with mod N), the only numbers are 0, 1, 2, ..., N 
− 1, and the modulo N residues are defined as. Contaminants are applied by
taking te normal integer total, then subtracting the modulus from the total all of 
those things as possible to minimize the sum to a number M between 0 and N − 
1 inclusive. M is the amount of the modulo numbers N. Using symbols invented
in 1801 by the German mathematician Carl Friedrich Gauss, one writes, for
example, 2 + 4 + 3 + 7 about 6 (mod 10), where the sign reads "is compatible 
with."
The Swiss mathematician Leonhard Euler invented approach to 
convergence around 1750, when he specifically developed the notion of an
integer N congruence module and proved that this definition splits the integer 
into N congruence groups, or groups of residues. Two numbers, if their variance 
is definable by N, are of the same congruence class modulo N. For examples, if N 
is 5, then −6 and 4 belong to the same congruence class {..., −6, −1, 4, 9, ...}. 
Althoughcongruence class can be described by all of its representatives, this
specific class may be called, for instance, "the −6 modulo 5 congruence class" or 
"the 4 modulo 5 mathematical rigor grades."
Remember that separation is not always feasible where the modulus N is 
not prime. For example, from 2 to 3 to 1 (mod 5), from 2 to 3 to 1 (mod 5). 
Nevertheless, there's no remedy for the formula 1 to 2 to X (mod 4), because
there is no X such that there is 2 to X as well as 1 (mod 4). If the mantissa N 
was nomature, a group described by r may be separated by a class supported by 

27
Aung Khant Phyo Math For Computing Batch-29

s if and only if s and N are fairly prime (i.e., if their only specific factor is 
number 1). For example, from 4 to 4 to 7 (mod 9) 7 to 4 to 4 to 7 (mod 9), 7
and 9 are fairly prime in this case.

The importance of prime number and usage


Greek people were the first to realize that a combination of two prime
numbers can be obtained for increasing natural number different from 1. That's 
why those unique numbers were labeled "Building Blocks," as they had been
parts of a basic Lego that allowed complex figures to be built. There are lots of
theorems about prime numbers as well as many conjectures that have not yet
been confirmed.

That makes its usage significant is the idea that the creation of such 
blocks is special, that is, increasing real number is obtained by multiplying a
particular set of prime numbers. But so, there is no algorithm out there that
helps one to discover the set of numbers! And that is why prime numbers play a 
highly important position in cryptography. There are several common algorithms 
used in communication that use prime numbers to send faxes and certain 
people may reach the details that we wish to remain confidential.
Even the finest computers, which render millions and millions of equations 
every second, require millennia to locate a collection of prime numbers required 
over a certain natural number to be constructed. Evidently the increasing the 
normal number, the further it would take! Though cryptography has become a 
most popular utilization prime numbers, is used in other sectors such as 
electronics, engineering, art history, etc.

28
Aung Khant Phyo Math For Computing Batch-29

The classical explanation is that symmetric (or public key) cryptography 
utilizes prime numbers. Prime numbers and coprimes are often used in 
engineering to prevent vibration and maintain fair wearing of piston hubs 
(through making that all sprockets match through all such wheel recessions).

Hashing and Load balancing


Hash is the method of translating a specified key to a specific value. The
new value is created with a hash function according to several mathematical
algorithm. A hash function output is recognized as a hash value or, literally, a 
hash.
A decent hash function uses this information for one-way hashing, but in 
other terms the hash could not be transformed back to its original key.

Hashing is more widely used to have hash tables introduced. A hash list 
stores key / value pairs in the form of a list which allows access to any item
using its index. Because the number of key / value sets is not constrained, a has
h function may be used to map the keys to the table size; the hash value is the 
index for a given variable.

Load balancing 
Load balancing relates to effectively spreading outgoing internet traffic 
over a secondary storage collection, often known as a data farm or storage pool. 
Digital hightraffic website will handle billions, if not millions, of frequent consume
r or client queries and easily and accurately display the appropriate text, photosv
ideo, or software details. 

29
Aung Khant Phyo Math For Computing Batch-29

A load balancer serves as the "traffic cop" sitting in front of the servers 
and distributing server applications through all resources willing to serve such
requests in a way that maximizes pace and power usage and guarantees that no 
one server becomes overworked which may reduce performance. The database s
erver redirects data to the available online servers if a single node disappears. 
If a single node is connected to the community of servers, the load balancer may 
immediately start submitting applications to it

30

You might also like