Professional Documents
Culture Documents
unit 11
Assignment Brief
Paramanantharasa Ishani
PAGE 1
Programme: Math for computing
Unit: 11
Student Declaration
Student declaration
I certify that the assignment submission is entirely my own work and I fully
understand the consequences of plagiarism. I understand that making a false
declaration is a form of malpractice.
PAGE 2
LO2 Analyse events using probability theory and probability
distributions
LO3 Determine solutions of graphical examples using geometry D3 Construct the scaling of
and vector method simple shapes that are
described by vector
coordinates
P6 Determine shape
parameters using appropriate
vector methods
PAGE 3
Grade achievements
(tick) (tick)
P1 M1
P2 M2
P3 M3
P4 D1
P5 D2
P6 D3
P7
P8
PAGE 4
Task 1
1) A charity worker has 240 books, 200 pens, 80 pencils and 45 chocolates. He
wants to distribute them with a group of children equally.
a) Find the largest number of children he can distribute, so that each student
gets an equal number of books, pens, pencils, and chocolates.
b) Write down how many books, pens, pencils, and chocolate will be given
to each child.
PAGE 5
We also can say the items are not rational, where there is no need
to give large amount of chocolates for children which can cause
harm for children.
2) An artist wants to paint a side wall of a jogging park with black and white squares
representing chess board pattern. The length and the width of a wall are 910
meters and 70 meters.
a) What is the largest square that can be used for this purpose?
PAGE 6
b) How many black squares will be on the wall if he applied white color on
top left corner square?
PAGE 7
PAGE 8
Task 2
1) A polygon has ten sides. The lengths of the sides, starting with the
shortest, form an arithmetic series. The perimeter of the polygon is 675
cm, and the length of the longest side is twice that of the shortest side.
Find the length of the shortest side of the polygon.
PAGE 9
a) Write the number of flowering shrubs is in the first, second and
third rows respectively
PAGE 10
b) How many flowering shrubs are there in the 28th row?
c) How many rows are there with less than 90 flowering shrubs?
d) Find the total number of flowering shrubs are in the flower bed.
PAGE 11
e) How many more red flowering shrubs are in the bed than white
flowering shrubs?
PAGE 12
PAGE 13
3) A rocket was launched by a child from the ground, and it is observed that
30 meters were travelled during the first second and the distance covered
during the second second is 0.9 times the pervious distance covered by
the rocket, while the same pattern continue till the velocity of the rocket is
zero.
a) What is the maximum height that the rocket would reach?
PAGE 14
c) What is the distance travel during 4 the second?
PAGE 15
e) Clearly mention the assumption made in part (b)
Task 2
1) Determine the multiplicative inverse of 15 (mod 29) using Extended
Euclidean Algorithm.
PAGE 16
2) There exists a multiplicative inverse (k ) for k (𝑚𝑜𝑑 𝑛) for any integer
−1
value of k and n . Do you agree with the claim? If not provide counter
argument to disprove the claim and provide a condition for integer k
and n for the existence of the multiplicative inverse (k ) for k (𝑚𝑜𝑑 𝑛)
−1
PAGE 17
Task 4
1) Produce a detailed written explanation of the importance of prime
numbers within the field of computing encompassing the following
areas.
a) Cyber-age security
In today’s ever-evolving digital landscape, prime numbers hold vital role in
safeguarding our online security. A predominant application of prime numbers
in cybersecurity is seen in public-key cryptography, a method utilized to
protect digital exchanges and interactions. This technique relies on the simple
task of multiplying two large primes, yet poses an incredible challenges to
unravel the original primes from the resulting product. This allows for the
creation of a shared public key, while the private key remains undisclosed.
Essentially, prime numbers are the unsung heroes in our digital defence.
d) Cryptography algorithms
Prime numbers paly crucial role in various cryptographic algorithms,
including the well-known Diffie-Hellman key exchange algorithm. This
powerful algorithm enables two parties to establish a shared secret key even
over an unsecure communication channel. Its effectiveness lies in the fact that
while it’s relatively simple to raise a number to a certain power, it proves to be
incredibly challenging to determine the power with only the end result at
hand.
Task 5
1) A candy bag contains 10 candies identical in size. Out of these, 5 are lemon
flavoured and the rest are grape flavoured. Another candy bag contains 12 candies
where 4 of them are lemon flavoured and the rest are grape flavoured. A candy is
PAGE 18
drawn at random from the first bag and placed in the second bag. Another candy
is drawn at random from the first bag and placed in the second bag. Then another
candy is drawn at random from the second bag.
a) Sketch the tree diagram.
b) If The event A occurs when 2 same flavoured candies drawn from the first
bag.
PAGE 19
The event B occurs when the candy drawn from the second bag is grape
flavoured.
Find (𝐴), (𝐵), P (A∩ B), P ( A ⋃ B ) , and P (Ac ∩ B).
PAGE 20
PAGE 21
c) Given that all drawn candies are of the same flavour, find the
probability that they are grape flavoured.
PAGE 22
2) There are 3 paper production companies namely Rock, Paper, and Scissor that
supply paper bundles to the “A-star” publisher. Rock Company supplies 30% of
the total paper bundle supply while Paper and Scissor Companies supply 20% and
50% of the total supply. Usually, 25% of Rock Company’s paper supply is not up
to the acceptable printing standards, and 5% and 15% of the Paper and Scissor
companies’ supply respectively.
1) If a paper bundle is selected at random from the storeroom of the A-star
publisher, what is the probability of it being unsuitable for printing?
PAGE 23
PAGE 24
2) What is the probability that the selected defective bundle was supplied by
the Scissor Company?
3) What is the probability that the selected defective bundle was not supplied
by the rock company?
PAGE 25
4) What is the probability of obtaining exactly one defective paper bundle
when three paper bundles are selected at random from the storeroom of the
A-star publisher?
Task 6
1) A fair four-sided die which the faces are numbered from (-1) to 2, and six-
sided die which the faces are numbered from 1 to 6 are thrown. The
random variable X represents the sum of the scores appeared on two dies.
a) Deduce probability distribution of X and indicate using a tabulation
PAGE 26
b) Deduce the cumulative probability distribution of X.
c) What is the probability that sum of the scores appeared on two dies is less
than 2?
e) Calculate the expected value of sum of the scores appeared on two dices
(E(X)).
PAGE 27
f) Calculate the variance (Var(X)) and the standard deviation of sum of the
scores appeared on two dices.
PAGE 28
2) A semiconductor manufacturing company produces ICs for different
electronic equipment companies. Probability mass function of the number
of days it takes to fix defects in an IC is given bellow P ( X=x ) .
0.15 x=0
P ( X=x ) =¿ kx x=1 , 2 ,3 , 4 ,5
k (10−x ) x=6 , 7 , 8,9,10
PAGE 29
c) Find the value of the constant k and sketch the probability mass
function.
PAGE 30
e) What is the probability that a defective IC will take less than 7
days to be fixed?
PAGE 31
f) What is the probability that a defective IC will take greater than 6
days to be fixed?
PAGE 32
Task 7
1) According to past records, a skin specialist knows that 20% of the
population will have a bad reaction to a certain type of medicinal lotion.
The specialist prescribes this lotion for 12 patients.
a) Find the probability that at most 5 patients suffer a bad reaction.
PAGE 33
PAGE 34
b) Find the probability that less than 2 patients suffer a bad reaction.
c) Find the probability that more than 3 patients suffer a bad reaction.
PAGE 35
d) Find the probability that 3 to 5 patients suffer a bad reaction.
PAGE 36
e) Find the expected number of patients who suffer a bad reaction.
f) What is the probability that 7th, 8th, and 11th patients suffer bad
reaction while other do not suffer?
PAGE 37
g) What is the probability that only 5 consecutive patients suffer bad
reaction while other do not suffer?
2) The length of sweet pea flower stems is normally distributed with mean
18.2 cm and standard deviation 2.3 cm.
a) Find the probability that the length of a flower stem is greater than
15 cm.
b) Find the probability that the length of a flower stem is less than 18
cm.
PAGE 38
d) 12% of the flower stems are longer than h cm. 20% of the flower
stems are shorter than k cm. finds h and k.
PAGE 39
Task 8
1) Load balancing is one of the most important applications of hashing. It is
highly related to the probability theory. Evaluate probability theory to an
example involving hashing and load balancing.
PAGE 40
1/2)? We can view our hash function as a random process, where
keys are mapped evenly and separately to random spots in the
table. In order to optimise search time, it’s crucial to minimize the
number of collisions for hash function. This means finding the
right size for our hash table that strikes a balance between collision
likelihood and memory consumption.
Task 9
1) Derive the general equation of a circle, with the centre ( a , b ) and radius r.
PAGE 41
2) The equation of a particular circle is given as x 2+ y 2+ 2 fx+2 gy + c=0, find
the centre and the radius of the circle in terms of f , g , and c.
PAGE 42
a) Find the coordinates of the point P and the point Q.
PAGE 43
b) Find the equation of l 2 and l 3 ,the tangents at the points P and Q
respectively.
PAGE 44
c) Find the equation of l 4 , the perpendicular bisector of the chord PQ.
PAGE 45
d) Show that the two tangents and the perpendicular bisector intersect
and find the coordinate of R, the point of intersection.
PAGE 46
PAGE 47
e) Calculate the area of the kite APRQ.
PAGE 48
Task 10
1) Let the coordinates of the points O ≡ ( 0 , 0 ) , A ≡ ( 4 , 2 ) , B≡ ( 6 , 6 ) ∧C ≡ ( 2 , 4 ) .
a) Show that ⃗ OC=λ ⃗ AB and ⃗ OA =λ ⃗ CB . Where λ is an unknown
constant.
PAGE 49
b) Show that |⃗
OC|=|⃗
OA|
PAGE 50
^A.
d) Find the angle C O
PAGE 51
e) Hence prove that OABC is a rhombus.
Task 11
1) If a=2 i+2 j+3 k ,b=−i+2 j+k , c=3 i+ j are such that a+ λb is
perpendicular to c , then find the value of λ .
PAGE 52
2) Find the volume of the parallelepiped ABCDEFGH and the area of the base
ABCD where the vertices A , B , D , and E have coordinates
(−1 , 0 ,1),(3 , 0 ,−1),(2 ,2 , 0) and ( 2 , 1, 2 ) .
PAGE 53
PAGE 54
PAGE 55
Task 12
Let the coordinates of the points A ≡(2 ,3), B ≡(2 , 6), C ≡(6 , 6)∧D ≡(6 , 3).
Let the coordinates of the points O ≡ ( 0 , 0 ) , P≡ ( 4 ,2 ) , Q≡ ( 6 , 6 )∧R ≡ ( 2 , 4 ) .
a) Indicate the points ABCD and OPQR in a x− y coordinate system using
GeoGebra mathematics software.
PAGE 56
b) What are the shapes of ABCD and OPQR.
PAGE 57
The shape of ABCD is a rectangle because opposite sides are equal and
parallel, each interior angle is equal to 90 degrees, the sum of all interior
angles is equal to 360 degrees, the diagonals bisect each other, both the
diagonals have the same length, more over a rectangle is a quadrilateral which
satisfies all the properties in ABCD.
The shape of OPQR is the Rhombus because all sides are equal in length,
opposite angles are equal, the diagonals bisect each other at 90 degrees,
adjacent angles add up to 180 degrees.
c) Find the images of ABCD and OPQR separately under the transformations
given by following matrices.
I. (01 10)
PAGE 58
II. (−10 −10 )
PAGE 59
III. (cos 45
sin 45
−sin 45
cos 45 )
PAGE 60
PAGE 61
PAGE 62
PAGE 63
IV. (30 02)
PAGE 64
V. (20 0
−3 )
PAGE 65
d) Briefly explain the transformation criteria of each of the transformation
matrix.
Matrix 1 reflects points across the line y=x.
Matrix 2 reflects points across the line y=-x.
Matrix 3 rotates points 45 degrees counter wise about the origin.
PAGE 66
Matrix 4 scales points by a factor of 3 in the x-direction and 2 in the y-
direction.
Matrix 5 scales and reflects points by a factor of 2 in the x-direction
and -3 in the y-direction (flipping over the x-axis).
I. (01 10)
PAGE 67
II. (−10 −10 )
III. (cos 45
sin 45
−sin 45
cos 45 )
PAGE 68
IV. (30 02)
PAGE 69
V. (20 0
−3 )
PAGE 70
Task 13
1
1) Obtain the gradient function of the function y=3 √ x +¿ +2 x−3 and evaluate
5 √x
the gradient at x = 1.
PAGE 71
2) The decay rate of the mass of a radio wave substance in mg per minutes, at any
time, equals minus 2 times the square of the elapsed time and the time is
measured in minutes.
a) Obtain the mathematical relationship between mass of the substance in mg
and the elapsed time in minutes, given that the total mass is evaporated
after 3 minutes of time.
PAGE 72
b) Calculate the amount of mass remaining after 1.5 minutes.
Task 14
1) Velocity of a car v(t) m/s is observed as a function of t (s) and the relationship is
given by v ( t )=3 t 3−2 t 2 +6 .
a) Find the distance travel by the car after 3 seconds.
PAGE 73
b) Find the distance travel during 4th second.
2) Two trains have just passed a railway station at the same time (t=0) and
travelling along two railway tracks in the same direction. Velocity time
relationships of the two trains are given by v=5+4 t−t 2 and v=0.5 t 2+1. Find the
distance between two trains (gap) when the velocities of both trains are equals.
PAGE 74
PAGE 75
Task 15
1) A wire of given length 2m is cut in to two portions, one portion is bent into the
shape of a circle and the other portion into the shape of a square. Find the
optimum length of the side of the square and the optimum radius of the circle
when sum of the areas is minimum.
PAGE 76
PAGE 77
PAGE 78
2) A rectangular box is to be made having a capacity of 256cm2, with a square base,
but without a lid. Find the dimensions of the cheapest box, if the materials for
rectangular sides cost 8$ and the materials for the base cost 1$.
PAGE 79
PAGE 80
Task 16
1) By further differentiation, identify minimum points of the following curves if
exists.
a) y=x 3−5 x 2 +3 x−12
PAGE 81
3 11 2
b) y=2 x − x −2 x +5
2
PAGE 82
c) y=12 x 3−2 x 2
PAGE 83
d) y=(x 3−5 x 2+ 8 x −4)
PAGE 84
PAGE 85
2) Engineers have found that fuel burning rate F(v) (L/hr) of a bullet train
and its speed (v) in 100 Km/hr has following function of
3 2
F ( v )=2 v −21 v + 60 v +100. Further, maximum speed of the train is
discovered as 600 Km/hr?
a) At what speed do the stationary points of F occur?
PAGE 86
c) Sketch the graph of F against v for v ≥ 0.
PAGE 87
d) Find the optimum speed at which the fuel burning is minimum.
PAGE 88
PAGE 89