Docsity

MFC_AssignmentPaper_HMO, Papers of Mathematics for Computing

Partial preview of the text

Download MFC_AssignmentPaper_HMO and more Papers Mathematics for Computing in PDF only on Docsity!

[Math For Computing

Assignment paper by Htut Myat Oo

Contents

(M2+D2) Calculate probabilities within both binomially distributed and normally

  • Part
  • Part
  • Part
  • Part
  • Part
  • (M1) Identify multiplicative inverses in modular arithmetic.
    • Modular Arithmetic
    • Some common usage of modular arithmetic
    • Modulo Congruence
    • Modular Multiplicative Inverse
    • Applications of Multiplicative Inverse
  • numbers within the field of computing. (D1) Produce a detailed written explanation of the importance of prime
    • What is Prime Number
    • Application of prime number..................................................................
    • Importance of prime numbers
  • involving hashing and load balancing. distributed random variables. And evaluate probability theory to an example
    • Probability...........................................................................................
    • Probability formula
    • Example use of the formula
    • Types of probability
    • Probability Theory
    • Usage of probability
    • Probability Distribution
    • Types of the probability distribution
      • Binomial Distribution
      • Normal Distribution
    • Hashing and Load balancing
    • Usage of probability calculations in hashing
    • Usage of probability calculations in load balancing....................................

Part 1

a. Given: Aung Aung has

red balloon = 62 balloons

white balloon = 25 balloons

orange balloon = 18 balloons

Find: The greatest number of arrangements that he can make if every balloon is used =?

Solution:

To create identical arrangements of balloons for a party, he will have to use H.C.F method. So,

62 = 1, 2, 31, 62

25 = 1, 5, 25

18 = 1, 2, 3, 6, 9, 18

H.C.F = 1

Therefore, the greatest number of arrangements that he can make if every balloon is used is 1.

b. Given: Number of Girls = 40 and Number of Boys = 32

Find: 1) The greatest number of teams that can participate in school activities =?

  1. Boys and girls on each team =?

Solution:

  1. To group the same number of participants on each team, we will have to use H.C.F method. So,

40

= 2 * 20

= 2 * 2 * 10

= 2 * 2 * 2 * 5

H.C.F = 2 * 2 * 2 = 8

Therefore, the greatest number of teams that can participate in school activities is 8.

  1. And we will divide the numbers of girls and boys by the greatest number of teams to get how many numbers of boys and girls will participate on each team. So,

Numbers of boys = (^328)

= 4

Numbers of girls = (^408)

= 5

Therefore, 4 boys and 5 girls will be on each team.

c. Solution: 2 = 2 x 1

6 = 2 x 3

L.C.M = 1 x 2 x 3 = 6

So, they will blink at the same time in 6 seconds 60

Therefore, they will blink 10 times at the same time.

e. Given: Train A makes its stops in 45 minutes.

Train B makes its stops in 60 minutes.

Find: Passed minutes before the two meet =?

Loops of train A and B =?

Solution:

We will use the L.C.M method to know the time that they meet. So,

45 = 3 x 15

= 3 x 3 x 5

60 = 2 x 30

= 2 x 2 x 15

= 2 x 2 x 3 x 5

L.C.M =2 x 2 x 3 x 3 x 5 = 180

Therefore, 180 minutes will pass before the two meet.

And we will have to divide by their stops minutes to know the loops of train A and B.

Loops of train A = (^18045)

= 4

Therefore, train A will make 4 loops.

Loops of train B = (^18060)

= 3

Therefore, train A will make 3 loops

f. Given: Kyaw Kyaw bought

Binders = 21 and Pencils = 30

Find: The greatest number of identical sets Kyaw Kyaw can make using all the supplies =?

Solution:

To create identical sets of office supplies for his classmates, he will have to use H.C.F method. So,

21 = 3 * 7 and

30 = 2 * 15

= 2 * 3 * 5

H.C.F = 3

Therefore, the greatest number of identical sets Kyaw Kyaw can make using all the supplies is 3.

  1. Sn = 300 (Given)

According to Arithmetic Series,

𝑛

2 [2𝑎 + (𝑛 − 1) 𝑑 ]

𝑛

2 [2(55) + (𝑛 − 1)(−5)]

300 = 𝑛 2 [110 − 5𝑛 + 5]

300 = 𝑛 2 [115 − 5𝑛]

5𝑛^2 − 115𝑛 + 600 = 0

𝑛^2 – 23𝑛 + 120 = 0

(n − 15)(n − 8) = 0

When n=15, U 15 = 55 + (15-1) (-5) = 55 – 70 = -

When n=8, U 8 = 55 + (8-1) (-5) = 55 – 35 = 20

Here, rows cannot be a negative number. Therefore, 20 rows can she have in her pattern if she has 300 blocks to play.

b. 1) U 3 = 40, U 6 = -320 (Given)

According to Geometric progression,

40 = 𝑎𝑟^2

−320 = 40 𝑟 2 𝑟^5 (∵ 𝑎 = 40 𝑟 2 )

−320 = 40𝑟^3

𝑟^4 =

320 40

𝑟^3 = 8

So, when r=2,

40

22 =^

40

Here, a is a first term(U 1 ) as geometric progression. Therefore, 10,20, is the first three terms of the geometric sequence in which the 3rd term is 40 and the 6th term is−320.

  1. U 2 = 160, U 4 = 250 (Given)

According to Geometric progression,

Checking

According to Arithmetic Progression,

𝑈𝑛 = 𝑎 + (𝑛 − 1) 𝑑

where n=1,U 1 =5 (∵a=U 1 )

where n=2 and a=5 and d=2,

U 2 = 5 + (2-1) (2) = 7

where n=3 and a=5 and d=2,

U 3 = 5 + (3-1) (2) = 9

where n=4 and a=5 and d=2,

U 4 = 5 + (4-1) (2) = 11

where n=5 and a=5 and d=2,

U 5 = 5 + (5-1) (2) = 13

S 5 = U 1 + U 2 + U 3 + U 4 + U 5

= 5+7+9+11+

= 45

d. Given: a=3, S 8 =2(S 5 )

Find: d=?

Solution:

According to Arithmetic Progression,

𝑆𝑛 = 𝑛 2 [2𝑎 + (𝑛 − 1) 𝑑 ]

Where n=5 and a=

𝑆 5 = 52 [2(3) + (5 − 1) 𝑑 ]

5

Where n=8 and a=

𝑆 8 = 82 [2(3) + (8 − 1) 𝑑 ]

𝑆 8 = 2(𝑆 5 ) [Given]

Therefore, the common different is 0.

e. Given: S 20 =S 22 , d=(-2)

Find: a=?

Solution:

According to Arithmetic Progression,

𝑆𝑛 = 𝑛 2 [2𝑎 + (𝑛 − 1) 𝑑 ]

Where n=20 and d=-

𝑆 20 = 202 [2𝑎 + (20 − 1) (−2) ]

𝑟 = 2when r = 2,

So, where n=1,U 1 =3 (∵a=U 1 )

where n=2, 𝑈 2 = 3 ∗ 22−1^ = 6

where n=3, 𝑈 3 = 3 ∗ 23−1^ = 12

where n=4, U 4 =24 (Given)

where n=5, 𝑈 5 = 3 ∗ 25−1^ = 48

where n=6, 𝑈 6 = 3 ∗ 26−1^ = 96

Therefore, the first six terms of the sequence are 3,6,12,24,48,96.

g. Given: U 2 =-1, U 6 =− 161

Find: a=?, r=?

Solution:

According to Geometric Progression,

where n=2,

−1 = 𝑎𝑟 (∵ U 2 = −1)

1 𝑟 where n=6,

−

16 = −^

𝑟 𝑟

5 (∵ U

6 = −^

1

16 and a = −^

1

r)

1

4

𝑟 = √^16

4

where r=0.63,

1

Therefore, the first term, a=-1.58 and the common ratio, r=0.63.

h. Given: a=7.5, r=

Find: U 4 =?, U 7 =?, U 15 =?

Solution:

According to Geometric Progression,

𝑤ℎ𝑒𝑟𝑒 𝑛 = 4, 𝑈 4 = 7.5 (4)4−1^ = 480

𝑤ℎ𝑒𝑟𝑒 𝑛 = 7, 𝑈 7 = 7.5 (4)7−1^ = 30720

𝑤ℎ𝑒𝑟𝑒 𝑛 = 15, 𝑈 15 = 7.5 (4)15−1^ = 2013265920

Therefore, the value of: the 4 rd term is 480, the 7th term is 30720,and the 15th term is 2013265920.

c) 𝒆𝟑𝒙^ 𝒔𝒊𝒏𝒙

𝑑𝑦 𝑑𝑥 = 𝑢^

𝑑𝑣 𝑑𝑥 + 𝑣^

𝑑𝑢 𝑑𝑥 = 𝑒3𝑥^ 𝑐𝑜𝑠𝑥 + 𝑠𝑖𝑛𝑥 3𝑒3𝑥

= 𝑒3𝑥(𝑐𝑜𝑠𝑥 + 3 𝑠𝑖𝑛𝑥)

d) (𝒙𝟐^ + 𝟓𝒙 − 𝟒)

𝟏 𝟐

𝐺𝑖𝑣𝑒𝑛 𝑠𝑢𝑚 𝑖𝑠 𝑎 𝑡𝑦𝑝𝑒 𝑜𝑓 𝑚𝑖𝑥 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑡ℎ𝑒𝑛 𝑢𝑠𝑒 𝑐ℎ𝑎𝑖𝑛 𝑟𝑢𝑙𝑒.

𝑙𝑒𝑡 𝑥 = 𝑥^2 + 5𝑥 − 4,

𝑑𝑥

1

𝑑𝑥 =^

1

−^12

𝑑𝑦

𝑑𝑡 =^

𝑑𝑦

𝑑𝑥 ∗^

𝑑𝑥 𝑑𝑡

= (^12 𝑥−

1

1

= 𝑥(1) (^52 )

= 52 (𝑥^2 + 5𝑥 − 4)

2. a) 𝒚 = (𝒕𝟐^ + 𝟏)

𝟏 𝟑

𝑙𝑒𝑡 𝑥 = 𝑡^2 + 1 ,

𝑑𝑥

1

𝑑𝑡 =^

1

−^23

𝑑𝑦

𝑑𝑡 =^

𝑑𝑦

𝑑𝑥 ∗^

𝑑𝑥 𝑑𝑡

2

= 2𝑡 3 (𝑡^2 + 1)−

2 3

b) 𝒚 = 𝒆−𝟐𝒕+𝟑

𝑑𝑦 𝑑𝑡 =^

𝑑𝑦 𝑑𝑥 ∗^

𝑑𝑥 𝑑𝑡 = 𝑒𝑥^ ∗ (−2)

= −2𝑒−2𝑡+

c) 𝒚 = 𝒔𝒊𝒏(𝟑𝒕𝟐^ − 𝟒𝒕 + 𝟗)

𝑙𝑒𝑡 𝑥 = 3𝑡^2 − 4𝑡 + 9 , 𝑑𝑥𝑑𝑡 = 6𝑡 − 4

𝑙𝑒𝑡 𝑦 = sin 𝑥 , 𝑑𝑦𝑑𝑥 = cos 𝑥

𝐴𝑠 𝑐ℎ𝑎𝑖𝑛 𝑟𝑢𝑙𝑒, 𝑑𝑦 𝑑𝑡 =^

𝑑𝑦 𝑑𝑥 ∗^

𝑑𝑥 𝑑𝑡 = cos 𝑥 ∗ (6𝑡 − 4) = 𝑐𝑜𝑠 (3𝑡^2 − 4𝑡 + 9) ∗ (6𝑡 − 4)