Maths question
MATH1180 (2021/22) Computational Methods and Numerical Techniques Contribution: 25% of course Course Leader: Dr Kayvan Nejabati Zenouz Coursework 2 Deadline Date: Thursday 17/03/2022 This coursework will be marked anonymously YOU MUST NOT PUT ANY INDICATION OF YOUR IDENTITY IN YOUR SUBMISSION This coursework should take an average student who is up-to-date with tutorial work approximately 50 hours Feedback and grades are normally made available within 15 working days of the coursework deadline Learning Outcomes: 4. Demonstrate knowledge of some of the commonly used statistical techniques (simple linear regression), carry out the required statistical analysis and reflect on results. Plagiarism is presenting somebody else's work as your own. It includes: copying information directly from the Web or books without referencing the material; submitting joint coursework as an individual effort; copying another student's coursework; stealing coursework from another student and submitting it as your own work. Suspected plagiarism will be investigated and if found to have occurred will be dealt with according to the procedures set down by the University. Please see your student handbook for further details of what is / isn't plagiarism. All material copied or amended from any source (e.g. internet, books) must be referenced correctly according to the reference style you are using. Your work will be submitted for plagiarism checking. Any attempt to bypass our plagiarism detection systems will be treated as a severe Assessment Offence. The University website has details of the current Coursework Regulations, including details of penalties for late submission, procedures for Extenuating Circumstances, and penalties for Assessment Offences. See http://www2.gre.ac.uk/current-students/regs Submission Information Your submission should comprise one single PDF document of your work, submitted via the submission link on Moodle before 23:30 on the deadline date. There are several ways to submit your work as a single PDF document, and we list a few below: • For typed submissions on a word or pages file, simply export that file as a PDF document • For handwritten notes completed on a tablet, export that file as a PDF document • If you have access to a scanner, carefully scan your work and collate the output as a final PDF document • You may take photos of your work on your phone or tablet, paste these images into a word or pages document and then export that document as a single PDF document. These are just a few options that are relatively simple. If you are more familiar with other ways to scan your work and submit a PDF document, then please stick with what you are comfortable with. However, please take note of the following points. When you a submitting your work please ensure that your work is: 1. Clearly Legible: incomplete work or work that is difficult to follow because of poor quality scans may not receive any marks; 2. In Order: please answer the questions in order as this makes it easier to mark. 3. Page-Numbered: numbering your pages will make it easier for the marker to follow and will also serve as a quick check that all of your work is submitted. There is no need any more to submit a Banner Header sheet with your coursework as moodle will record who has submitted their coursework and when. Please ensure to submit your coursework in well before the deadline as many simultaneous submissions may cause moodle to crash. MATH1180 COMPUTATIONAL METHODS AND NUMERICAL TECHNIQUES MATH1180 Coursework 2 Kayvan Nejabati Zenouz∗ 15th Feb, 2022 Contents Question 1: Probability of License Plates (20 marks) . . 4 Question 2: Roll a Die Twice (30 marks) . . . . . 4 Question 3: Continuous Random Variable (20 marks) . . 4 Question 4: Expectation and Variance (10 marks) . . . 5 Question 5: Joint Distribution (20 marks) . . . . . 5 Assignment Specification • The coursework will be marked anonymously. Do not indicate your name. Method marks may be awarded for partially completed solutions. • You are required to explain each step of your solutions carefully and present your work clearly in order to avoid losing marks. • Some questions may require you to conduct research and use the resources suggested in the reading list. ∗Office QM315, School of Computing and Mathematical Sciences, University of Greenwich, Old Royal Naval College, London SE10 9LS, Email:
[email protected], Student Drop-in Hours: TUESDAYS 15:00-16:00 (QM315/TEAMS) MATH1180 COURSEWORK 2 4 Question 1: Probability of License Plates (20 marks) In some states, license plates have 5 characters: three letters followed by 2 numbers. 1. How many distinct such plates are possible? (5 marks) 2. If all sequences of five characters are equally likely, what is the probability that the license plate for a new car will contain no duplicate letters or numbers? (5 marks) 3. What is the probability that a randomly selected license plate contains both A and 1? (5 marks) 4. What is the probability that a randomly selected license plate contains both A and 1 given we know that the license plate contains no duplicate letters or numbers? (5 marks) Total: 20 marks Question 2: Roll a Die Twice (30 marks) Roll a fair dice twice. Let X be a discrete random variable representing the number of the first roll minus the number on the second roll; for example, if first roll is 1 and second roll 2, then X(1, 2) = 1− 2 = −1. 1. Write down the sample space of the random variable X. (5 marks) 2. Create in a table for the probability mass function p(x) of X. (5 marks) 3. Find the cumulative distribution function CDF, F (x), for X and plot it against the values of x. (10 marks) 4. Calculate the expectation E(X). (5 marks) 5. Calculate the variance Var(X). (5 marks) Total: 30 marks Question 3: Continuous Random Variable (20 marks) Let X be a continuous random variable and suppose it has probability density function of the form f(x) = { α(1− x)n−1 for 0 ≤ x ≤ 1 0 otherwise, where n is a known integer and n > 0. Kayvan Nejabati Zenouz
[email protected] 15th Feb, 2022 at 16:21 MATH1180 COURSEWORK 2 5 1. Find the value for α so that f(x) is in fact a probability density function. (5 marks) 2. Derive the corresponding cumulative distribution function, F (x). (5 marks) 3. Find a mathematical expression for the 0.25 quantile of X. That is find m so that F (m) = 0.25. (5 marks) 4. Assuming that n = 5, calculate P (0.5 < x="">< 0.75).="" (5="" marks)="" total:="" 20="" marks="" question="" 4:="" expectation="" and="" variance="" (10="" marks)="" let="" x="" be="" a="" continuous="" random="" variable="" and="" y="aX" +="" b="" for="" some="" constants="" a="" and="" b="" prove,="" using="" the="" definition="" for="" expectation="" and="" variance,="" the="" following.="" 1.="" e(y="" )="aE(X)" +="" b.="" (5="" marks)="" 2.="" var(y="" )="a2Var(X)." (5="" marks)="" total:="" 10="" marks="" question="" 5:="" joint="" distribution="" (20="" marks)="" let="" x,="" y="" have="" the="" joint="" pmf="" as="" shown="" in="" the="" following="" table.="" y="" p(x,="" y)="" 1="" 2="" 3="" 4="" 1="" 0.07="" 0.05="" 0.13="" 0.03="" x="" 2="" 0.07="" 0.06="" 0.1="" 0.01="" 3="" 0.09="" 0.24="" 0.07="" 0.08="" 1.="" find="" the="" marginal="" pmf="" for="" x="" and="" y="" .="" (8="" marks)="" 2.="" find="" p="" (0.5="">< x ≤ 2.5). (2 marks) 3. find p (y = 1 | x = 2). (2 marks) 4. find cov(x, y ) covariance for x and y . (8 marks) total: 20 marks end of assignment kayvan nejabati zenouz
[email protected] 15th feb, 2022 at 16:21 question 1: probability of license plates 1mm(20 marks) question 2: roll a die twice 1mm(30 marks) question 3: continuous random variable 1mm(20 marks) question 4: expectation and variance 1mm(10 marks) question 5: joint distribution 1mm(20 marks) x="" ≤="" 2.5).="" (2="" marks)="" 3.="" find="" p="" (y="1" |="" x="2)." (2="" marks)="" 4.="" find="" cov(x,="" y="" )="" covariance="" for="" x="" and="" y="" .="" (8="" marks)="" total:="" 20="" marks="" end="" of="" assignment="" kayvan="" nejabati="" zenouz=""
[email protected]="" 15th="" feb,="" 2022="" at="" 16:21="" question="" 1:="" probability="" of="" license="" plates="" 1mm(20="" marks)="" question="" 2:="" roll="" a="" die="" twice="" 1mm(30="" marks)="" question="" 3:="" continuous="" random="" variable="" 1mm(20="" marks)="" question="" 4:="" expectation="" and="" variance="" 1mm(10="" marks)="" question="" 5:="" joint="" distribution="" 1mm(20=""> x ≤ 2.5). (2 marks) 3. find p (y = 1 | x = 2). (2 marks) 4. find cov(x, y ) covariance for x and y . (8 marks) total: 20 marks end of assignment kayvan nejabati zenouz k.nejabatizenouz@greenwich.ac.uk 15th feb, 2022 at 16:21 question 1: probability of license plates 1mm(20 marks) question 2: roll a die twice 1mm(30 marks) question 3: continuous random variable 1mm(20 marks) question 4: expectation and variance 1mm(10 marks) question 5: joint distribution 1mm(20 marks)>