










































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











































Student Name/ID Number Unit Number and Title 11: Maths for Computing Academic Year 2019/ Unit Tutor Darshana Hettiarachchi Assignment Title Application of number theory , probability ,Vector geometry & calculus in computing Issue Date 27 th^ September 2020 Submission Date IV Name & Date Gajhanan V. 26/6/ This assignment should be submitted at the end of your lesson, on the week stated at the front of this brief. The assignment can either be word-processed or completed in legible handwriting. If the tasks are completed over multiple pages, ensure that your name and student number are present on each sheet of paper. Each of the section below would help you get guided in achieving the assessment criteria directly and indirectly.
Unit Learning Outcomes LO1 Use applied number theory in practical computing scenarios LO2 Analyse events using probability theory and probability distributions LO3 Determine solutions of graphical examples using geometry and vector methods LO4 Evaluate problems concerning differential and integral calculus.
Consider yourself as the programmer, who is assigned to verify algorithms to solve the below given problem. You’re applying your mathematical knowledge to verify and suggest any remarks accordingly. In addition to the direct answers you may suggest how your derivations can be replicated in coding within what you know. Try to emphasize on importance of prime numbers in computing in your explanations. Part 1
find the probability That more than 99 pass at the first attempt, justifying the most appropriate distribution to be used for this scenario. Part 4
Part 1
Section 1
a) Number of pastel sticks john has = 120 Number of pieces of papers = 30
Definition of prime number A prime number is a natural integer, greater than 1, which can be divided only by 1 or by itself (without generating remainder). Definition of composited number Conversely, a composited number is a natural integer, greater than 1, which can be divided by two or more prime numbers (without generating remainder). Primes: the building blocks of mathematics by the two definitions, we can understand how prime numbers can be considered as the building blocks of mathematics, because with them (along with the number 1, which is a special number) are formed all the natural integers. • 1 (special number = 1 x 1 x 1 x ……) • 2 (prime number) • 3 (prime number) • 4 (composited number) = 2 x 2 • 5 (prime number) • 6 (composited number) = 2 x 3 • 7 (prime number) • 8 (composited number) = 2 x 2 x 2 • 9 (composited number) = 3 x 3 • 10 (composited number) = 2 x 5 • … etcetera … The number 1 is special! Since thousands of years mathematicians have discussed if the number 1 is a prime number or not (as in the modern trend of thought). The number 1 is actually a special number (as the number 0 [zero] is special for other reasons); in fact, it can be at the same time a prime number and a composite number. Here's why: • the number 1 falls in the specificity of prime numbers as it can only be divided by 1 or by itself without generating remainder • the number 1 can, at the same time, be the result of 1x1x..x1 (staying the same) and then fall in the specificity of dialed numbers
Section 2
Conditional probability is defined as the likelihood of an event or outcome occurring, based on the occurrence of a previous event or outcome. Conditional probability is calculated by multiplying the probability of the preceding event by the updated probability of the succeeding, or conditional, event. Conditional Probability Formula P(B|A) = P(A and B) / P(A) which you can also rewrite as: P(B|A) = P(A∩B) / P(A)