Mathematics Assignment

Verified

Added on  2022/11/15

|16
|2027
|333
AI Summary
This Mathematics Assignment includes questions on probability, hypothesis testing, linear regression, and more. It covers topics such as permutations, correlation coefficients, and Ogives. The assignment also includes a survey on mobile phone usage and smoking habits. The output is in JSON format.

Contribute Materials

Your contribution can guide someone’s learning journey. Share your documents today.
Document Page
Mathematics Assignment
Student Name:
Instructor Name:
Course Number:
16th July 2019

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
Question 1
Q1 (a)
In the 100m final of the Olympics there are 8 athletes taking part: In how many ways can they be
placed first, second and third?
First 8C1=8 ways
Second 8C2=28 ways
Third 8C3=56 ways
At the end of the race how many ways can the athletes line up for a photograph? 8C3= 56 ways
Q1 (b)
A person randomly selects 5 balls from a bag containing 3 Red, 5 Black and 6 Blue balls. Find
the probability that 2 Black and 3 Blue balls are chosen.
P ( 2black3 blue ) = 5
14 × 5
14 × 6
14 × 6
14 × 6
14 = 5400
537824
Q1 (c)
Expand the first four terms of ¿
¿= 1
¿ ¿
Expanding ¿= (1)0(- x
2 ¿2.5+2.5(1)1(- x
2 ¿1.5+1.875(1)2(- x
2 ¿0.5+0.3125(1)3(- x
2 ¿-0.5
(1)0(- x
2 ¿2.5+2.5(1)1(- x
2 ¿1.5+1.875(1)2(- x
2 ¿0.5+0.3125(1)3(- x
2 ¿-0.5
= -0.1768 x
5
2 +0.8839 x
3
2 1.326 x
1
2 ¿0.4419 x
1
2
¿
Q1 (d)
For the following eight cars aged 2, 3, 4, 5, 6, 6, 7, and 7 find a 99% Confidence Interval.
Assume that the ages of the cars are normally distributed.
Mean = 2+3+4 +5+6+6 +7+7
8 = 40
8 =5
μ=¿ x̄ ± t sx̄
s= ( x¯x )2
n1 = ¿ ¿ ¿
=1.852
Document Page
sx̄= s
n =1 . 852
8 =0.6548
p(1- 0.01
2 ¿=0.995 ,v-1=8-1=7
When p=0.995 and v=7, then t=3.499
μ=¿ x̄ ± tsx̄= 5 ± 3.499(0.6548)
2 .708 μ 7 .291
Q1 (e)
Explain what Type 1 and Type 2 errors are in Hypothesis Testing.
Type 1 errors-error that occurs when the null hypothesis is rejected instead of being accepted.
Type 2 errors-errors that occur when the null hypothesis is accepted instead of being rejected.
Q1 (f)
Evaluate the determinant of the following matrix:

6 3 2
4 1 9
5 6 1

6 3 2 6 3
4 1 -9 4 1
-5 6 -1 -5 6
Determinant=¿
= (-6+135+8)-(-10-324-12) =137+346=483
Determinant=483
Q1 (g)
Explain the difference between the regression and correlation coefficients.
Regression coefficient is used to show the relationship between the independent and dependent
variable numerically while correlation coefficient is used to show the association strength that
exist between two Variables.
Q1 (h)
Calculate the limit of the following:
lim
x 2
x2+ 3 x 10
x28 x +12
Let’s start by simplifying the expression through factorisation.
x2+3x-10= X2+5x-2x-10
x2 +5x-2x-10=x(x+5)-2(x+5) = (x-2)(x+5)
x2-8x+12= x2-6x-2x+12=x(x-6)-2(x-6)=(x-2)(x-6)
x2 +3 x10
x2 8 x+12 = (x2)(x+5)
(x 2)(x6) = ( x +5)
( x6)
Document Page
lim
x 2
x2+3 x 10
x28 x +12 =
lim
x 2
(x +5)
( x6)
lim
x 2
( x+5)
( x6 ) = 2+5
26 = 7
4 =1.75
Q1 (i)
Calculate the derivative of following function:
f ( x ) = ( 1
x3 2
x ) ( x2 + x )= x2
x3 + x
x3 2 x2
x 2
f ( x )= x2
x3 + x
x3 2 x2
x 2= 1
x + 1
x2 2 x2
f ( x ) 1
x + 1
x2 2 x2.
dy
dx =f
1
( x )=1
x2 1
x3 2.
Q1 (j)
Calculate the integral of and simplify the following function:
( x32 x2 ) ( 1
x 5 )dx.
= ( x32 x2 ) ( 1
x 5)dx=¿ ¿)dx .
= x3
3 5 x4
4 x2+ 10 x3
3 = 11 x3
3 5 x4
4 x2
= 11 x3
3 5 x4
4 x2
QUESTION 2
Q 2(a)
The following table shows the height of 50 male students, measured to the nearest centimeter.
172 180 179 145 151 148 170 152 160 171
156 183 188 159 177 162 153 176 181 190
166 157 149 191 189 150 161 187 179 155

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
147 171 185 148 189 192 188 173 168 165
178 142 193 163 152 195 197 178 192 198
a) Construct a Histogram for the data using suitable intervals.
Height(cm) Frequency f
140-144 1
145-149 5
150-154 5
155-159 4
160-164 4
165-169 3
170-174 5
175-179 6
180-184 3
185-189 6
190-194 6
195-199 2
Q 2(b)
i) Calculate the Mean, Median and Mode for the height of the students.
140-
144 145-
149 150-
154 155-
159 160-
164 165-
169 170-
174 175-
179 180-
184 185-
189 190-
194 195-
199
0
1
2
3
4
5
6
7
Histogram
Height (cm)
Frequency
Document Page
Mean x̄= fx
f = 8550
50 =171cm
Mean =171cm
Mode= 6
Median= 169.5+( 25 .522
5 )5=173 cm
ii) Calculate the Variance and Standard Deviation for the height of the students.
Height(cm) Midpoint(x) X2 Frequency F x f X2
Height(cm) Midpoint(x
)
Frequency f fx Cumulative frequency
140-144 142 1 142
1
145-149
147 5
735 6
150-154
152 5
760 11
155-159 157 4
628 15
160-164
162 4
648 19
165-169 167 3
501 22
170-174 172 5
860 27
175-179 177 6
1062 33
180-184 182 3
546 36
185-189
187 6
1122 42
190-194
192 6
1152 48
195-199 197 2
394 50
f =50 fx=8550
Document Page
f
140-144 142
20164
1
142 20164
145-149
147
21609
5
735 108045
150-154
152
23104
5
760 115520
155-159 157
24649
4
628 98596
160-164
162
26244
4
648 104976
165-169 167
27889
3
501 83667
170-174 172
29584
5
860 147920
175-179 177
31329
6
1062 187974
180-184 182
33124
3
546 99372
185-189
187
34969
6
1122 209814
190-194
192
36864
6
1152 221184
195-199 197
38809
2
394 77618
f =50 fx=8550 f x2 =¿ ¿
1474850
Variance= f x2
fx - ( fx
f ¿ ¿2
= 1474850
50 ¿=29497-29241=256
Variance=256
Standard deviation= variance =256 =16
iii) Construct an Ogive for the data. Use your Ogive to estimate how many students are
smaller than 160cm and how many are taller than 185cm.
Height(cm) Lower limits Frequency f Cumulative frequency
140-144 139.5 1 1

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
145-149 144.5 5 6
150-154 149.5 5 11
155-159 154.5 4 15
160-164 159.5 4 19
165-169 164.5 3 22
170-174 169.5 5 27
175-179 174.5 6 33
180-184 179.5 3 36
185-189 184.5 6 42
190-194 189.5 6 48
195-199 194.5 2 50
students smaller than 160cm=15
students taller than 185cm=50-36=14
Q 2(c)
For the following data answer the questions that follow.
Y X
32 61
25 54
40 74
35 65
43 77
29 60
38 68
44 70
36 63
Document Page
29 57
34 59
48 77
30 54
32 61
45 82
27 40
(i) Draw a scatter plot for the data and comment on the plot.
Comment: The two variables have
positive correlation. This means that
as x increases then y also increase.
ii) Calculate and interpret the
correlation and regression
coefficients.
35 40 45 50 55 60 65 70 75 80 85
0
10
20
30
40
50
60
scatter plot of y against x
X
Y
X Y X2 Y2 XY
61 32 3721 1024 1952
54 25 2916 625 1350
74 40 5476 1600 2960
65 35 4225 1225 2275
77 43 5929 1849 3311
60 29 3600 841 1740
68 38 4624 1444 2584
70 44 4900 1936 3080
63 36 3969 1296 2268
57 29 3249 841 1653
59 34 3481 1156 2006
77 48 5929 2304 3696
54 30 2916 900 1620
61 32 3721 1024 1952
82 45 6724 2025 3690
40 27 1600 729 1080
X=1022 Y =567 X2=66980 Y 2=20819 XY =37217
Document Page
Correlation coefficient r= n xy x y
¿ ¿ ¿
¿ 0.9001
Correlation coefficient r=0.9001
Interpretation: There exist a very strong positive correlation between x and y.
Regression coefficients
Gradient m= n xy x y
n x2¿ ¿ ¿ ¿ = 16 ( 37217 ) 1022 ( 567 )
16 ( 66980 ) 10222 = 15998
27196 =0.5882
m=0.5882
b= y
n m x
n =567
16 0.5882 (1022
16 )=2.131
b=¿2.131
(iii)Calculate the coefficients of the linear regression line. Explain what each coefficient
means.
Gradient m= n xy x y
n x2¿ ¿ ¿ ¿ == 16 ( 37217 ) 1022 ( 567 )
16 ( 66980 ) 10222 = 15998
27196 =0.5882
m=0 . 5882
b= y
n m x
n =567
16 0.5882 (1022
16 )=2.131
b=¿2 .131
ŷ  =mx+b
The equation of regression line is ŷ  =0.5882x-2.131
m=0 . 5882 (positive correlation)
This means that as x increases y also increases.
b= 2 .131 (y-intercept)
This means that when x=0, y=-2.131
Plot the line on the scatter diagram.

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
Q 3(a)
From a survey conducted to find out how long people spent on their mobile phones a
person was selected randomly. In the survey the number of hours were normally
distributed with a mean of 7 hours and a standard deviation of 1 hour.
i) Find the probability that the person spent less than 5 hours a week on the phone.
μ=7, σ=1 and x=5
z= xμ
σ = 57
1 =2
P(x<5) =P (z<2) =0.0228
ii) Students form study groups with the mean number in a group being 4. Find the probability
that in a randomly selected group there will be 3 students?
μ=4, σ=1 and x=4
Using Poisson distribution, P(x=X) = μX eμ
x !
P(x=3) = 43 e 4
3 ! =0.1954
(iii)A survey finds that 21% of women under the age of 25 actively play sport. You
randomly select 5 women under the age of 25 and ask them if they actively play sport.
Find the probability that at least 2 of them play sport.
35 40 45 50 55 60 65 70 75 80 85
0
10
20
30
40
50
60
f(x) = 0.588248271804677 x − 2.13685836152376
R² = 0.810227796154217
scatter plot with best line of fit
X
Y
Document Page
p=0.21
P (at least 2 play) = P (2 play) or P (3 play) or P (4 play) or P (5 play)
P (at least 2 play) = P (2 play) + P (3 play) + P (4 play) + P (5 play)
= 5C2(0.21)2(0.79)3+5C3(0.21)3(0.79)2+5C4(0.21)4(0.79)1+5C5(0.21)5(0.79)0
=0.217430+0.7167+0.007682+0.000408=0.94222
P (at least 2 play) = 0.94222
Q 3(b)
i) As more and more areas are going smoke free it was decided to survey students in DCU
as regards smoking. Previous researches on other campuses suggest that less than 25% are
smokers. From a random sample of 200 students 37 say they are smokers. Test the claim at
the 5% level.
N=200,
Proportion p of those smoking= 37
200 =0.185 , q=1-p=0.815
At 95% confidence level=1.96
Standard error SP=
pq
n =
0.185× 0.815
200 =0.027457
Population proportion P=p± zSP
P=p± z SP=0.185±1.96 (0.027457)
P=0.185±1.96 (0.027457) =0.1312 P 0.2388
0.1312 P 0 . 2388
From the above calculation, the proportion of those smoking ranges from 13.12% and 23.88%.It
is therefore evident that less than 25% are smokers.It is correct to conclude that the claim is true.
ii)Two machines manufacture the same type of bolts. A random sample of 40 bolts is
selected from each machine and the lengths of the bolts are measured and the mean and
standard deviation are calculated. The standard deviation for both samples was 0.2cm and
the means are, Sample 1 mean = 16.2cm and Sample 2 mean = 15.9cm. Is there a difference
in the means at the 8% level?
Sample 1: n1=40, = 1=16.2, s1=0.2
Sample 2: n2=40, = 2=15.9, s2=0.2
Hypothesis H0:μ1= μ2 (there is no significant difference between the two means)
H11‡μ2 (there is significant difference between the two means)
z= x̂ % 1x̂ % 2
s x̂ % 1 x̂ % 2
Document Page
s x̂ % 1 x̂ % 2 = ( s1
2
n1
+ s2
2
n2
)=
( 0 . 22
40 + 0 .22
40 )=0.044721
z= x̂ % 1x̂ % 2
s x̂ % 1 x̂ % 2
=16.215.9
0.044721 =6.708
At 8% level, P (1 - 0.08
2 )=0.96
When p=0.96, z=1.76
The calculated z value (6.708 ¿ is more the z value (1.76) from the table. We therefore reject the
null hypothesis and accept the alternative hypothesis.
Conclusion: There is significant difference between the two means.
Q 4(a)
If A = [ 3 2 2
5 3 1
3 8 1 ] B= [ 2 4 6
3 9 7
2 5 3 ] Find A x B
A x B= [ 3 2 2
5 3 1
3 8 1 ][ 2 4 6
3 9 7
2 5 3 ]=
[ 4 40 26
1 42 54
28 55 41 ]
A x B= [ 4 40 26
1 42 54
28 55 41 ]
(ii) Solve the following equations using Gaussian Elimination and verify your solution:
x + y + z = 1
2x + 2y + 2z = 1
3x + 3y = 2
[ 1 11
2 22
33 0 ][ x
y
z ]=
1
1
2
x=
[1 11
1 22
2 30 ]
[1 11
2 22
33 0 ] = 710
0 =0

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
y=
[ 1 11
2 12
3 20 ]
[ 1 11
2 22
33 0 ] = 107
0 =0
z=
[ 1 11
2 11
3 22 ]
[ 1 11
2 22
330 ] =1313
0 =0
Q 4(b)
(i) Differentiate the following function
f ( x )= ( x1 ) ( x+2 )
( x3 ) ( x +1 )
Let u= ( x1 ) ( x+ 2 )=x2+ x 2
V= ( x3 ) ( x +1 ) =x22 x3
du
dx =2 x+1.
dv
dx =2 x2.
f 1 ( x ) =
du
dx (v )u dv
dx
v2
= ( 2 x +1 ) ( x2 2 x3 ) ( x2 + x2 ) (2 x2)
¿ ¿
f 1 ( x )= ( 2 x +1 ) ( x2 2 x3 ) ( x2 + x2 ) (2 x2)
¿ ¿ =
2 x34 x26 x +x2 2 x3(2 x3 +2 x24 x2 x22 x+4)
¿ ¿
f 1 ( x ) =3 x22 x 7
¿ ¿
Find all the Stationary Points of the function y = x3 – 9x2 + 15x +10 and sketch the curve.
y = x3 – 9x2 + 15x +10
Document Page
At stationary point, dy
dx =0
dy
dx =3 x2 18 x +15
3 x218 x+15=0
(3X-15)(X-1)=0
3x=15, x=5 OR
X-1=0, x=1
When x=1, y= (1)3 – 9(1)2 + 15(1) +10=17
Stationary point (1, 17)
x 0 1 2
dy
dx
15 0 -9
sign +ve 0 -Ve
The stationary point (1, 17) is maximum.
When x=5, y= (5)3 – 9(5)2 + 15(5) +10=-15
Stationary point (5,-15)
x 4 5 6
dy
dx
-9 0 15
sign -ve 0 +Ve
The stationary point (5,-15) is minimum.
y
17
x
0 1 2 3 4 5
-15
Document Page
Q 4(c)
Integrate the following functions:
(i)
x2 ( x2 +3 x ) dx
= x4 +3 x3 dx= x5
5 + 3 x4
4 +C
(ii)
1
2 x1 dx =(2 x 1)0.5 dx
=2(2 x1)0 .5=2 ( 2 x1 )+ c
1 out of 16
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]

Your All-in-One AI-Powered Toolkit for Academic Success.

Available 24*7 on WhatsApp / Email

[object Object]