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.
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? First8C1=8 ways Second8C2=28 ways Third8C3=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(2black∧3blue)=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.1768x 5 2+0.8839x 3 2−1.326x 1 2−¿0.4419x −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. Meanx̄=2+3+4+5+6+6+7+7 8=40 8=5 μ=¿x̄ ± t sx̄ s=√∑(x−¯x)2 n−1=√¿¿¿ =1.852
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: ⌈ 632 41−9 −56−1 ⌉ 6326 3 41 -941 -5 6 -1 -56 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+3x−10 x2−8x+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+3x−10 x2−8x+12=(x−2)(x+5) (x−2)(x−6)=(x+5) (x−6)
lim x→2 x2+3x−10 x2−8x+12= lim x→2 (x+5) (x−6) lim x→2 (x+5) (x−6)=2+5 2−6=7 −4=−1.75 Q1 (i) Calculate the derivative of following function: f(x)=(1 x3−2 x)(x2+x)=x2 x3+x x3−2x2 x−2 f(x)=x2 x3+x x3−2x2 x−2=1 x+1 x2−2x−2 f(x)1 x+1 x2−2x−2. dy dx=f 1 (x)=−1 x2−1 x3−2. Q1 (j) Calculate the integral of and simplify the following function: ∫(x3−2x2)(1 x−5)dx. =∫(x3−2x2)(1 x−5)dx=∫¿¿)dx. =x3 3−5x4 4−x2+10x3 3=11x3 3−5x4 4−x2 =11x3 3−5x4 4−x2 QUESTION 2 Q 2(a) The following table shows the height of 50 male students, measured to the nearest centimeter. 172180179145151148170152160171 156183188159177162153176181190 166157149191189150161187179155
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
147171185148189192188173168165 178142193163152195197178192198 a) Construct a Histogram for the data using suitable intervals. Height(cm)Frequency f 140-1441 145-1495 150-1545 155-1594 160-1644 165-1693 170-1745 175-1796 180-1843 185-1896 190-1946 195-1992 Q 2(b) i)Calculate the Mean, Median and Mode for the height of the students. 140- 144145- 149150- 154155- 159160- 164165- 169170- 174175- 179180- 184185- 189190- 194195- 199 0 1 2 3 4 5 6 7 Histogram Height (cm) Frequency
Meanx̄=∑fx ∑f=8550 50=171cm Meanx̄=171cm Mode= 6 Median= 169.5+(25.5−22 5)5=173cm ii) Calculate the Variance and Standard Deviation for the height of the students. Height(cm)Midpoint(x)X2FrequencyF xf X2 Height(cm)Midpoint(x ) Frequency ffxCumulative frequency 140-1441421142 1 145-149 1475 7356 150-154 1525 76011 155-1591574 62815 160-164 1624 64819 165-1691673 50122 170-1741725 86027 175-1791776 106233 180-1841823 54636 185-189 1876 112242 190-194 1926 115248 195-1991972 39450 ∑f=50∑fx=8550
f 140-144142 20164 1 14220164 145-149 147 21609 5 735108045 150-154 152 23104 5 760115520 155-159157 24649 4 62898596 160-164 162 26244 4 648104976 165-169167 27889 3 50183667 170-174172 29584 5 860147920 175-179177 31329 6 1062187974 180-184182 33124 3 54699372 185-189 187 34969 6 1122209814 190-194 192 36864 6 1152221184 195-199197 38809 2 39477618 ∑f=50∑fx=8550∑fx2=¿¿ 1474850 Variance=∑fx2 ∑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 limitsFrequency fCumulative frequency 140-144139.511
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
145-149144.556 150-154149.5511 155-159154.5415 160-164159.5419 165-169164.5322 170-174169.5527 175-179174.5633 180-184179.5336 185-189184.5642 190-194189.5648 195-199194.5250 students smaller than 160cm=15 students taller than 185cm=50-36=14 Q 2(c) For the following data answer the questions that follow. YX 3261 2554 4074 3565 4377 2960 3868 4470 3663
2957 3459 4877 3054 3261 4582 2740 (i)Draw a scatter plot for the data and comment on the plot. Comment:The two variables have positive correlation. This means that asx increases then y also increase. ii)Calculate and interpret the correlation and regression coefficients. 3540455055606570758085 0 10 20 30 40 50 60 scatter plot of y against x X Y XYX2Y2XY 6132372110241952 542529166251350 7440547616002960 6535422512252275 7743592918493311 602936008411740 6838462414442584 7044490019363080 6336396912962268 572932498411653 5934348111562006 7748592923043696 543029169001620 6132372110241952 8245672420253690 402716007291080 ∑X=1022∑Y=567∑X2=66980∑Y2=20819∑XY=37217
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 Theequationofregressionlineisŷ=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.
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
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−μ σ=5−7 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) =μXe−μ x! P(x=3) =43e−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. 3540455055606570758085 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
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, Proportionpofthosesmoking=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,=x̄1=16.2,s1=0.2 Sample 2:n2=40,=x̄2=15.9,s2=0.2 Hypothesis H0:μ1= μ2(there is no significant difference between the two means) H1:μ1‡μ2(there is significant difference between the two means) z=x̂%1−x̂%2 sx̂%1x̂%2
sx̂%1x̂%2=√(s1 2 n1 +s2 2 n2 )= √(0.22 40+0.22 40)=0.044721 z=x̂%1−x̂%2 sx̂%1x̂%2 =16.2−15.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 =[32−2 531 −381]∧B=[246 −397 2−53]Find A x B A x B=[32−2 531 −381][246 −397 2−53]= [−44026 14254 −285541] A x B=[−44026 14254 −285541] (ii)Solve the following equations using Gaussian Elimination and verify your solution: x + y + z = 1 2x + 2y + 2z = 1 3x + 3y = 2 [111 222 330][x y z]= 1 1 2 x= [111 122 230] [111 222 330]=7−10 0=0
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
y= [111 212 320] [111 222 330]=10−7 0=0 z= [111 211 322] [111 222 330]=13−13 0=0 Q 4(b) (i)Differentiate the following function f(x)=(x−1)(x+2) (x−3)(x+1) Let u=(x−1)(x+2)=x2+x−2 V=(x−3)(x+1)=x2−2x−3 du dx=2x+1. dv dx=2x−2. f1(x)= du dx(v)−udv dx v2 =(2x+1)(x2−2x−3)−(x2+x−2)(2x−2) ¿¿ f1(x)=(2x+1)(x2−2x−3)−(x2+x−2)(2x−2) ¿¿= 2x3−4x2−6x+x2−2x−3−(2x3+2x2−4x−2x2−2x+4) ¿¿ f1(x)=−3x2−2x−7 ¿¿ Find all the Stationary Points of the function y = x3– 9x2+ 15x +10 and sketch the curve. y = x3– 9x2+ 15x +10
At stationary point,dy dx=0 dy dx=3x2−18x+15 3x2−18x+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) x012 dy dx 150-9 sign+ve0-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) x456 dy dx -9015 sign-ve0+Ve The stationary point (5,-15) is minimum. y 17 x 012345 -15
Q 4(c) Integrate the following functions: (i) ∫x2(x2+3x)dx =∫x4+3x3dx=x5 5+3x4 4+C (ii) ∫1 √2x−1dx=∫(2x−1)−0.5dx =2(2x−1)0.5=2(√2x−1)+c