Probability and Statistic (SET1)

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 9

FACULTY SCIENCE COMPUTER AND MATHEMATICS

PROBABILITY & STATISTICS (STA150)

WRITTEN REPORT (GROUP PROJECT)

(SET 1)

STUDENTS NAME:
NORSYAMIMI ATIRAH BINTI KHAIRUL SUHAIRI (2020857884)
NUR JESNITA JUNERA BINTI LUXMAN ALHAKIM (2020877252)

GROUP:
CS143/3C

LECTURER NAME:
MADAM NOR FATIHAH ABD RAZAK

SUBMISSION DATE:
2 DECEMBER 2021
QUESTION 1

Solution:

a) n = 6 r=4
n
i- Pr = 6P4

= 360
i- nr = 64
= 1296
b) Let event A = at most one card is a vowel
n( A)
P(A) =
n (S)

n(A) = (5C1 × 2C1) + (5C2 × 2C0)


= (5 × 2) + (10 × 1)
= 10 + 10
= 20
7 ×6
n(S) =
2!
= 21

n( A)
P(A) =
n (S)

20
=
21
= 0.9524
c) Let event H = none of the items is from Brand B
n(H )
P(H) =
n(S)

n(H) = (3C1 ×2C0 ×5C1) + (3C2 ×2C0 ×5CO) + (3C0 ×2C0 ×5C2)
= (3 × 1 × 5) + (3 × 1 × 1) + (1 × 1 × 10)
= 15 + 3 + 10
= 28
10× 9
n(S) =
2!
= 45

n(H )
P(H) =
n(S)

28
=
45
= 0.6222
QUESTION 2(a)

Solution:

a)i-

E(x) = Ʃx · f(x)
0.25 = (-2 × m) + (-1 × 0.3) + (0 × 0.1) + (1 × n) + (2 × 0.4)
0.25 = -2m – 0.3 + 0 + n + 0.8
0.25 = -2m + n + 0.5
2m – n = 0.5 – 0.25

2m – n = 0.25 ①

m + 0.3 + 0.1 + n + 0.4 = 1


m + n + 0.8 = 1
m+n = 1 – 0.8

m+n = 0.2 ②
2m – n = 0.25 ①

m+n = 0.2 ②

2m + 2n = 0.2 ③

2m + 2n = 0.4 m + 0.05 = 0.2


(-) 2m – n = 0.25 m = 0.15
3n = 0.15
n = 0.05

a)ii- Dfe
a)iii- Gteg
QUESTION 2(b)

Solution:
b)i- Sggxbjsh

b)ii- Shxgusi

b)iii- Syhxgbisuaij
From pevious question
Value of m=0.15
n=0.05
ii) P (X>-1)
P(X=x)= P(X=0)+P(X=1)+P(X=2)
=0.1 + 0.05 + 0.4
=0.55

iii) Variance of x,V(X)

Formula to find variance, δ = E( X 2 ¿−( μ2 )


E( X 2 ¿= ∑ x 2 . f ( x )
=(−22 ×0.15 ¿+ (−12 ×0.3 )+ ( 02 ×0.1 ) + ( 12 ×0.05 ) + ( 22 × 0.4 )
= 0.6 + 0.3 + 0.05 + 1.6
= 2.55

Note , E(X)=μ
Given, E(X)=0.25
E( X ¿¿ 2)¿=0.252
Variance,δ= E( X 2 ¿−( μ2 )
= 2.55 – (0.252 ¿
= 2.4875
a
i) Compute P(2≤ X ≤3 ¿ Formula ; ∫ f ( x ) dx
b
3
3
=∫
2
3
[ 4
(1−x )(x−3) dx ]
=∫ ¿ ¿
2

=∫ ¿ ¿
2
3
−3 x 3 3 x 2 9
=[ 12
+
2 4
+ x ] 2

−3 (33) 3(32 ) 9 −3 (23) 3 (22) 9


=[ 12
+
2
+ (3) −¿
4 12
+
2 ] [
+ (2)
4 ]
27 17
= −
2 2
=5

ii) Expected value of x, E(X) , Formula ; ∫ x . f ( x ) dx


−∞

3
E(X) = ∫ x .
1
( −34 x +3 x− 94 )dx
2

3
−3 3 9
=∫ ( x + 3 x 2− x ¿ ) dx ¿
1 4 4

−3 x 4 3 x 3 9 x2
=[ 16
+
3

8 ]
−3 (34 ) 3(3 3) 9(32 ) −3(1 4) 3 (13) 9(12 )
=[ 16
+
3

8

16 ][+
3

8 ]
27 5
= +
16 16
=2

iii) Variance of x, V(X)

Formula ; δ = E( X 2 ¿−( μ2 )

3
2 2
E(X ¿=∫ x .
1
( −34 x +3 x− 94 )dx
2

3
−3 4 9
=∫ ( x +3 x 3− ¿ x 2)dx ¿
1 4 4
3
5 4 3
−3 x 3 x 9 x
=[ 20
+
4

12 ] 1

−3 (35) 3(34 ) 9(33 ) −3(15 ) 3(1 4) 9(13 )


= [20
+
4

12

20
+
4 ][−
12 ]
81 3
= - (- ¿
20 20
21
¿
5

δ = E( X 2 ¿−( μ2 )
21 1
δ= −( 22 )= (answer)
5 5

You might also like