Maths (Repaired)
Maths (Repaired)
Higher Nationals in
Computing
Unit 14 : Maths for Computing
Assessor Name:
Is this an Authorised
Assignment Brief published
by Pearson? If so, has it been
amended by the Assessor in
any way? Please give details.
(If using the Authorised
Assignment Brief ‘off the shelf’
with no amendments, please
answer the question marked *
in the checklist only)
*If ‘No’ is recorded the Internal Verifier must recommend actions detailing the issues to be
addressed. The Assessor and the Internal Verifier must then confirm that the action has been
undertaken and that the Assignment Brief is authorised for use before being issued to learners.
Assessor signature
Date
• Constructive?
Y/
• Linked to relevant assessment
criteria? N
Y/
• Identifying opportunities
for improved performance? N
• Agreeing actions?
Y/
N
Y/
N
Give details:
Internal Verifier
Date
signature
Programme Leader
Date
signature (if required)
LO3 Determine solutions of graphical examples using geometry and vector methods.
Pass, Merit & Distinction P5 P6 M3 D3
Descripts
LO4 Evaluate problems concerning differential and integral calculus.
Resubmission Feedback:
General Guidelines
1. A Cover page or title page – You should always attach a title page to your assignment. Use
previous page as your cover sheet and make sure all the details are accurately filled.
2. Attach this brief as the first section of your assignment.
3. All the assignments should be prepared using a word processing software.
4. All the assignments should be printed on A4 sized papers. Use single side printing.
5. Allow 1” for top, bottom , right margins and 1.25” for the left margin of each page.
1. The font size should be 12 point, and should be in the style of Time New Roman.
Important Points:
1. It is strictly prohibited to use textboxes to add texts in the assignments, except for the
compulsory information. eg: Figures, tables of comparison etc. Adding text boxes in the body
except for the before mentioned compulsory information will result in rejection of your work.
2. Avoid using page borders in your assignment body.
3. Carefully check the hand in date and the instructions given in the assignment. Late
submissions will not be accepted.
4. Ensure that you give yourself enough time to complete the assignment by the due date.
5. Excuses of any nature will not be accepted for failure to hand in the work on time.
6. You must take responsibility for managing your own time effectively.
7. If you are unable to hand in your assignment on time and have valid reasons such as illness,
you may apply (in writing) for an extension.
8. Failure to achieve at least PASS criteria will result in a REFERRAL grade .
9. Non-submission of work without valid reasons will lead to an automatic RE FERRAL. You
will then be asked to complete an alternative assignment.
10. If you use other people’s work or ideas in your assignment, reference them properly using
HARVARD referencing system to avoid plagiarism. You have to provide both in-text
citation and a reference list.
11. If you are proven to be guilty of plagiarism or any academic misconduct, your grade could be
reduced to A REFERRAL or at worst you could be expelled from the course
I hereby, declare that I know what plagiarism entails, namely, to use another’s work and to present it
as my own without attributing the sources in the correct way. I further understand what it means to
copy another’s work.
Feedback Form
W A Madhuranga Wijesooriya E141689 9
Action Plan
Summative feedback
Assessor’s
Date
Signature
Student’s
Signature Date
Assignment Brief
Unit Tutor
Issue Date
Submission Format:
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.
LO3 Determine solutions of graphical examples using geometry and vector methods.
Part 1
1. A farmer wants to make square shaped vegetable beds. The required squared area of vegetable beds will
be prepared from a land which is 28 feet in length and 24 feet in width.
a) Find the minimum number of squared vegetable beds that can be prepared from the land without
wasting any area.
b) Briefly explain the technique you used to solve (a).
2. In a company, 5 employees are doing overtime work. First day of the month, all the 5 employees did
overtime work. Afterwards, those 5 employees do the overtime work once in 3,4,6, 8 and 12 days
respectively.
a) On which day of the month, will all the 5 employees do the overtime work together?
b) Briefly explain the technique you used to solve (a).
Part 2
3. In a warehouse, boxes are stored such that 30 boxes on the bottom row and 21 on the top row. There are
10 rows in all, with each row having one more box than the one above it.
a) How many boxes have been stored?
b) Briefly explain the technique you used to solve (a).
Part 3
1. Define the multiplicative inverse in modular arithmetic and identify the multiplicative inverse of 7 mod
8 while explaining the algorithm used.
2. Prime numbers are important to many fields. In the computing field also prime numbers are applied.
Provide examples and in detail explain how prime numbers are important in the field of computing.
Activity 02
Part 1
3. Suppose a survey was done in three states on the Covid-19 pandemic situation. Of the total population
of the three states, 25% live in state X, 45% live in state Y, and 30% live in state Z. In state X, 20% of
the citizens have been infected with Covid-19, in state B, 10% of the citizens have been infected with
Covid-19, and in state C, 15% of the citizens have been infected with Covid-19.
Let X represents the event that the citizen is from state X, Y represents the event that the citizen is
from state Y and Z represents the event that the citizen is from state Z. Let C represents the event that
the citizen has been infected with Covid-19.
a) Find the probability that a randomly selected citizen has not been infected with Covid-19 and lives
in state X.
b) Find the probability that a randomly selected citizen has been infected with Covid-19.
c) Given that a randomly selected citizen has been infected with Covid-19, find the probability that
the selected citizen is from state Y.
4. In a game if the player wins, a random gift will be given. There are 3 types [Watch, Voucher, Pen
Drive] of gifts for the winners. There are 7 Vouchers, 6 Watches and 5 Pen Drives. The number tags of
the gifts are stored in a box. If two players win the game and the number tags of the gifts are selected
randomly without replacement.
a) Find the probability that the both winners get a Voucher.
b) Find the probability that one gift is a Watch and the other gift is a Pen Drive.
c) Find the probability that the two winners get different gifts.
Part 2
6. There are two boxes. In each box there are 4 cards with a different number printed on it. The four cards
have been numbered as 1,2,3,4 in each box. Two cards are drawn random from each box. The random
variable X represents the difference between the number on the card from box 1 minus the number on
the card from box 2.
Y=y 1 2 3 4 5
P(Y=y) 1/8 1/4 1/3 k 1/8
where k is a constant.
a) Find the value of k.
b) Find P(Y≤4).
c) Find P(Y>3).
Part 3
8. The “Winkles” quiz team has a winning rate of 72%. The team is planning to participate in 8 quizzes in
the next month.
a) Let Y be the number of quizzes win by the team. What are the possible values of Y?
b) What is the probability that the team will win exactly 4 quizzes?
c) What is the probability that the team will lose 2 or less quizzes?
d) What is the mean number of quizzes that the team will win?
e) What are the variance and the standard deviation of the number of quizzes that the team will win?
9. In a boys’ school, there are 40 students in grade 9. The weight of the students was measured. The mean
weight of the students was 55 kg and the standard deviation was 2.5 kg. Peter’s weight was 64kg.
Would his weight be considered an outlier, if the weight of the students were normally distributed?
Explain your answer.
10. The working life of a certain electrical equipment is normally distributed with a mean of 180 days and a
standard deviation of 4 days.
For each of the following questions, construct a normal distribution curve and provide the answer.
a) About what percent of the products last between 176 and 184 days?
b) About what percent of the products last between 180 and 184 days?
For each of the following questions, use the standard normal table and provide the answer.
c) About what percent of the products last 172 or less days?
d) About what percent of the products last 184 or more days?
11. In the computing field, there are many applications of Probability theories. Hashing and Load
Activity 03
Part 1
1. Find the equation (formula) of a circle with radius r and center C(h,k) and if the Center of a circle is at
(7,-2) and a point on the circle is (-3,5) find the formula of the circle.
2. Find the equation (formula) of a sphere with radius r and center C(h, k, l) and show that
x2 + y2 + z2 - 14x + 6y - 2z - 3 = 0 is an equation of a sphere. Also, find its center and radius.
Part 2
Construct an equation to find the volume of the given Tetrahedron using vector methods and if the vectors of
the Tetrahedron are a=(2i+j-3k), b=(-i+2j+4k) and c=(5i-7j+k), evaluate the volume of the Tetrahedron.
Activity 04
Part 1
1. Determine the slope of the following functions.
i. f(x) = 4x3 + 5x4 - 9x + 2
ii. f(x) = sin(3x) - 5x3 – 7
2. Let the velocity function of a moving object is V(t) = 7t3 + 5t2 - 4t. What is the function for the
acceleration of the object at time t.
Part 2
3. Find the area between the two curves f(x) = 3x2 - 4 and g(x) = 2x+5 on the interval
(-1) ≤ x ≤ 1.
4. It is estimated that t years from now the bee population of a certain farm will be increasing at the rate of
9t 2 + 10t - 7 hundred bees per year. It has been found that the number of flowers in the nearby botanical
garden increases at the rate of approximately 400 flowers per 10 bees. By how much will the number of
flowers in the nearby botanical garden increase during the next 2 years?
Part 3
5. Sketch the graph of f(x) = x3 - x4 + 6x2 + 3 by applying differentiation methods for analyzing where the
6. Identify the maximum and minimum points of the function f(x)= −4x 2 + 6x + 3 by further
differentiation. [i.e Justify your answer using both first derivative test and second derivative test.]
(Yes/No)
LO1 : Use applied number theory in
practical computing scenarios.
I would like to express a heart full of gratitude to ESOFT Metro Campus for giving me this
opportunity. The completion of this project was made possible by the support of our lecturer
Mr. Anjana who motivated us, and for those who supported us with everything they got, and
finally and my beloved family members who were behind me for everything. Thank you for
all your great support.
Table of Contents
Activity 01...............................................................................................................................23
Part 01.................................................................................................................................23
A farmer wants to make square shaped vegetable beds. The required squared area of
vegetable beds will be prepared from a land which is 28 feet in length and 24 feet in
width.................................................................................................................................23
In a company, 5 employees are doing overtime work. First day of the month, all the 5
employees did overtime work. Afterwards, those 5 employees do the overtime work
once in 3,4,6, 8 and 12 days respectively.........................................................................24
Part 2...................................................................................................................................25
In a warehouse, boxes are stored such that 30 boxes on the bottom row and 21 on the top
row. There are 10 rows in all, with each row having one more box than the one above it
..........................................................................................................................................25
A businessman has done an investment of Rs.200,000.00 on a new business expecting a
5% interest compounded yearly.......................................................................................25
Part 03.................................................................................................................................26
Define the multiplicative inverse in modular arithmetic and identify the multiplicative
inverse of 7 mod 8 while explaining the algorithm used.................................................26
Part 01
A farmer wants to make square shaped vegetable beds. The required squared area of
vegetable beds will be prepared from a land which is 28 feet in length and 24 feet in
width.
a) Find the minimum number of squared vegetable beds that can be prepared
from the land without wasting any area
G.C.F of 28, 24;
28= 2 x 2 x 7 x 1
24= 2 x 2 x 2 x 3 x 1
In a company, 5 employees are doing overtime work. First day of the month, all the 5
employees did overtime work. Afterwards, those 5 employees do the overtime work
once in 3,4,6, 8 and 12 days respectively
a) On which day of the month, will all the 5 employees do the overtime work
together?
3=3x1
4=2x2
6=2x3
8=2x2x2
12 = 2 x 2 x 3
L.C.M = 2 x 2 x 2 x3
N = 24
First day of the month, all the employees did overtime work. Afterwards all
employees do the OT work in 25th day of month,
N+ 1 day
25th day all employees do the OT work
Part 2
In a warehouse, boxes are stored such that 30 boxes on the bottom row and 21 on the
top row. There are 10 rows in all, with each row having one more box than the one
above it
a) How many boxes have been stored?
21,22,23……….30
A1 = 21, N= 10, d = 1
S = n/2 [2a + (n-1) x d]
S= 10/2 [2 x 21 + (10-1) x1]
S = 10/2 [42+9]
S = 255
255 Boxes
b) Briefly explain the technique you used to solve (a)
A set of numbers can be defined as a number sequence. For example, in a
mathematical series, the difference between one term and the next term is
constant, and "a" is the first term, with "d" being the difference between the
Given:
a1 = Rs.200,000.00 (initial investment)
r = 5% or 0.05 (annual interest rate)
n = 6 (number of years)
Sn = a1(1 - rn) / (1 - r)
Substituting these values into the formula,
S6 = 200 000(1 - 0.056) / (1 - 0.05)
S6 = 200,000(1 - 0.000015625) / (1 - 0.05)
S6 = 200,000(0.999984375) / (0.95)
S6 = 199,996.875/ (0.95)
S6 = 210,526.32
Define the multiplicative inverse in modular arithmetic and identify the multiplicative
inverse of 7 mod 8 while explaining the algorithm used
Inverse (A) = 7
Mod (C) = 8
7 x 0 = 0 = 0 (mod 8)
7 x 1 = 7 = 7 (mod 8)
7 x 2 = 14 = 0 (mod 8)
7 x 3 = 21 = 0 (mod 8)
7 x 4 = 28 = 0 (mod 8)
7 x 5 = 35 = 0 (mod 8)
7 x 6 = 42 = 0 (mod 8)
7 x 7 = 49 = 1 (mod 8) found invers
7 x 8 = 56 = 0 (mod 8)
7 will be the modular inverse for 7 mod 8 that can be represented as 6-1 = 7 mod 8.
Prime numbers are important to many fields. In the computing field also, prime
numbers are applied. Provide examples and in detail explain how prime numbers are
important in the field of computing
Prime numbers play a crucial role in various aspects of computing. Here are some
examples that highlight the significance of prime numbers in the field of computing:
Primality Testing: Determining whether a number is prime or composite is a
fundamental problem in number theory. Efficient primality testing algorithms,
such as the Miller-Rabin primality test and the AKS primality test, are
employed in various computing applications. These tests help identify prime
numbers quickly, enabling algorithms to optimize computations or verify
prime factors in various mathematical operations.
Hashing and Data Structures: Prime numbers are often utilized in hashing
functions and data structures like hash tables. The selection of a prime number
as the size of a hash table helps minimize collisions and distribute the stored
data evenly. This improves the efficiency of data retrieval and insertion
operations in hash-based data structures.
Random Number Generation: Prime numbers are utilized in generating
random numbers within a specified range. For instance, the popular method of
Activity 02
P(A|B) = P (A B) / P(B)
Here's an example to illustrate conditional probability:
Let's consider a deck of cards. We want to find the probability of drawing a King
from the deck, given that the card drawn is a face card (a card with a picture on it).
We know that a standard deck of cards contains 52 cards, out of which 12 are face
cards (4 Kings, 4 Queens, and 4 Jacks). The probability of drawing a King from the
deck is P(King) = 4/52 (since there are 4 Kings in a deck of 52 cards). Now, given
An aesthetic club has 100 members. Out of them 40 do dancing, 45 do music and 24 do
drama. 15 do both dancing and music, 11 do both dancing and drama and 13 do both
music and drama and 5 do dancing, music and drama. Remaining members do arts
Let D represents the randomly selected member does dancing, M represents the randomly
selected member does music, R represents the randomly selected member does drama. A
represents the randomly selected member does arts.
100
R24
5 6 D40
19
5
8 10
22
8 A=2
M45
a) Find the probability that a randomly selected member either does dancing or music
70/100
0.7
Suppose a survey was done in three states on the Covid-19 pandemic situation. Of the
total population of the three states, 25% live in state X, 45% live in state Y, and 30%
live in state Z. In state X, 20% of the citizens have been infected with Covid-19, in state
B, 10% of the citizens have been infected with Covid-19, and in state C, 15% of the
citizens have been infected with Covid-19.
Let X represents the event that the citizen is from state X, Y represents the event that the
citizen is from state Y and Z represents the event that the citizen is from state Z. Let C
represents the event that the citizen has been infected with Covid-19
a. Find the probability that a randomly selected citizen has not been infected with
Covid-19 and lives in state X
To find the probability that a randomly selected citizen has not been infected with
Covid-19 and lives in state X, we need to calculate the probability of the event "not
infected with Covid-19" intersecting with the event "from state X" (P (X C))
Total population: Three states (X, Y, Z)
Proportions of population:
State X: 25%
State Y: 45%
State Z: 30%
Infection rates:
State X: 20%
State Y: 10%
State Z: 15%
To find the probability, we can use the following formula:
P(X C) = P(X) x P (C/X)
b. Find the probability that a randomly selected citizen has been infected with
Covid-19.
P(C) = P(X) x P(C|X) + P(Y) x P(C|Y) + P(Z) x P(C|Z)
Given:
P(X) = 25% = 0.25 (proportion of the population in state X)
P(C|X) = 20% = 0.20 (proportion of infected citizens in state X)
P(Y) = 45% = 0.45 (proportion of the population in state Y)
P(C|Y) = 10% = 0.10 (proportion of infected citizens in state Y)
P(Z) = 30% = 0.30 (proportion of the population in state Z)
P(C|Z) = 15% = 0.15 (proportion of infected citizens in state Z)
P(C) = 0.25 x 0.20 + 0.45 x 0.10 + 0.30 x 0.15
= 0.05 + 0.045 + 0.045
= 0.14
Therefore, the probability that a randomly selected citizen has been infected with
Covid-19 is 14%.
c. Given that a randomly selected citizen has been infected with Covid-19, find the
probability that the selected citizen is from state Y
P(Y|C) = (P(Y) x P(C|Y)) / P(C)
Given:
P(Y) = 45% = 0.45
P(C|Y) = 10% = 0.10
P(C) = 14% = 0.14
P(Y|C) = (0.45 x 0.10) / 0.14
= 0.045 / 0.14
= 0.3214 or 32.14%
In a game if the player wins, a random gift will be given. There are 3 types [Watch,
Voucher, Pen Drive] of gifts for the winners. There are 7 Vouchers, 6 Watches and 5
Pen Drives. The number tags of the gifts are stored in a box. If two players win the
game and the number tags of the gifts are selected randomly without replacement
a. Find the probability that the both winners get a Voucher
Total number of gifts = Number of Vouchers + Number of Watches +
Number of Pen Drives
=7+6+5
= 18
For the first winner = 7/18
for the second winner = 6/17
both winners get a Voucher = (7/18) x (6/17)
= 7/51
b. Find the probability that one gift is a Watch and the other gift is a Pen
Drive
one gift is a Watch and the other gift is a Pen Drive,
= (6/18 x 5/17) + (5/18 x 6/17)
= (30/306) + (30/306)
= 60/306
= 10/51
Part 2
There are two boxes. In each box there are 4 cards with a different number printed on
it. The four cards have been numbered as 1,2,3,4 in each box. Two cards are drawn
random from each box. The random variable X represents the difference between the
number on the card from box 1 minus the number on the card from box 2
Possible outcomes for X and their probabilities:
X = 1: (1, 2) or (2, 1) from the two boxes. The probability of each is (1/4) x (1/4)
= 1/16.
X = 2: (3, 1) or (4, 2) from the two boxes. The probability of each is (1/4) x (1/4)
= 1/16.
X = 3: (4, 1) from the two boxes. The probability is (1/4) x (1/4) = 1/16.
E[X] = Σ (X x P(X))
= (1 x 3/16) + (2 x 2/16) + (1 x 1/16) + (-1 x 3/16) + (-2 x 2/16) + (-3 x 1/16) +
(0 x 1/16)
= 0 / 16
=0
Therefore, the mean of the probability distribution is 0
b. Find the variance and standard deviation of this probability distribution.
(i.e., Find V[X] and SD[X])
= ((1 - 0)2 x 1/16) + ((2 - 0)2 x 1/16) + ((3 - 0)2 x 1/16) + ((-1 - 0)2 x 1/16) + ((-2 -
0)2 x 1/16) + ((-3 - 0)2 x 1/16) + ((0 - 0)2 x 1/16)
= (12 x 3/16) + (22 x 2/16) + (32 x 1/16) + (-12 x 3/16) + (-22 x 2/16) + (-32 x
1/16) + (02 x 1/16)
= (1/16) + (4/16) + (9/16) + (1/16) + (4/16) + (9/16) + 0
= 28/16
= 7/4
The random variables M and W are defined as follows:
M = X+5 and W = (1/2) X+5
M=X+5
W = (1/2) X + 5
When comparing their scores, Mary's score (M) has a higher variance (7/4)
compared to William's score (W) with a lower variance (7/16). This means that
Mary's scores will vary more from game to game compared to William's scores.
Y=y 1 2 3 4 5
P(Y=y) 1/8 1/4 1/3 k 1/8
where k is a constant.
a) Find the value of k.
1/8 + 1/4 + 1/3 + k + 1/8 = 1
b) Find P(Y≤4)
Finding P (Y ≤ 4):
P (Y ≤ 4) means finding the probability that the random variable Y takes on a
value less than or equal to 4. We sum the probabilities for Y = 1, 2, 3, and 4.
P (Y ≤ 4) = P (Y = 1) + P (Y = 2) + P (Y = 3) + P (Y = 4)
= 1/8 + 1/4 + 1/3 + 4/24
= 3/24 + 6/24 + 8/24 + 4/24
= 7/8
Therefore, P (Y ≤ 4) is 7/8.
W A Madhuranga Wijesooriya E141689 36
P (Y > 3) = P (Y = 4) + P (Y = 5)
= 1/24 + 1/8
= 4/24 + 3/24
= 7/24
Therefore, P (Y > 3) is 7/24.
Part 3
The “Winkles” quiz team has a winning rate of 72%. The team is planning to
participate in 8 quizzes in the next month.
a) Let Y be the number of quizzes win by the team. What are the possible
values of Y?
The number of quizzes won by the team, Y, can take on values from 0 to 8, as
they are participating in 8 quizzes in the next month
b) What is the probability that the team will win exactly 4 quizzes?
P (y = 4) = 70 x 0.724 x (0.28)4
= 70 x 0.268738 x 0.006146
= 0.1156
c) What is the probability that the team will lose 2 or less quizzes?
Prob = P (x = 6) + P (x = 7) + P (x = 8)
= 8C6 x (0.72)6 x (0.28)2 + 8C7 x (0.72)7(0.28) + 8C8 x (0.72)8(0.28)0
= 0.6027
d) What is the mean number of quizzes that the team will win?
μ=nxp
where n is the number of trials (quizzes) and p is the probability of success
(winning rate).
μ = 8 x 0.72
= 5.76
e) What are the variance and the standard deviation of the number of quizzes
that the team will win?
σ2 = n x p x (1 - p)
σ2 = 8 x 0.72 x (1 - 0.72)
= 1.6128
σ = √1.6128
= 1.27
In a boys’ school, there are 40 students in grade 9. The weight of the students was
measured. The mean weight of the students was 55 kg and the standard deviation was
2.5 kg. Peter’s weight was 64kg. Would his weight be considered an outlier, if the
weight of the students were normally distributed? Explain your answer
z = (x - μ) / σ
x is the value we want to calculate the z-score for (in this case, Peter's weight of 64 kg).
μ is the mean weight of the students (55 kg).
σ is the standard deviation of the weights (2.5 kg).
Plugging in the values, we get:
z = (64 - 55) / 2.5
z = 9 / 2.5
z = 3.6
A z-score of 3.6 indicates that Peter's weight is 3.6 standard deviations above the
mean. In a normally distributed dataset, most of the values lie within 3 standard
deviations of the mean, with approximately 99.7% of the data falling within that
range. Since Peter's weight is more than 3 standard deviations above the mean, it
would be considered an outlier.
b) About what percent of the products last between 180 and 184 days?
For each of the following questions, use the standard normal table and provide
the answer
For 180 days:
z₁ = (180 - 180) / 4 = 0
For 184 days:
z₂ = (184 - 180) / 4 = 1
P (180 ≤ X ≤ 184) = P (Z ≤ 1) - P (Z ≤ 0)
we find that P (Z ≤ 1) is approximately 0.8413 and P (Z ≤ 0) is 0.5.
P (180 ≤ X ≤ 184) = 0.8413 - 0.5 = 0.3413
Therefore, about 34.13% of the products last between 180 and 184 days.
In the computing field, there are many applications of Probability theories. Hashing
and Load Balancing are also included to those. Provide an example for an application
of Probability in Hashing and an example for an application of Probability in Load
Balancing. Then, evaluate in detail how Probability is used for each application while
assessing the importance of using Probability to those applications
Example of Probability in Hashing:
One application of probability in hashing is in designing hash functions for efficient
data retrieval. Hashing is a technique used to map data elements to a fixed-size array
called a hash table. A good hash function aims to evenly distribute the data elements
across the hash table to minimize collisions and ensure efficient retrieval.
To achieve this, probability is utilized in the form of randomization. A common
approach is to use a family of hash functions and select one randomly during the
hashing process. By randomly selecting a hash function, the distribution of data
elements becomes less predictable, reducing the likelihood of collisions.
The importance of using probability in hashing lies in achieving a balanced distribution
of data across the hash table. If a hash function were deterministic and predictable,
certain patterns in the data could lead to an uneven distribution, resulting in more
collisions and degraded performance. By incorporating probability through
randomization, the likelihood of such patterns causing imbalanced hash table usage is
reduced. This improves the overall efficiency and performance of the hash table in terms
of retrieval and storage operations.
Example of Probability in Load Balancing:
Part 1
Find the equation (formula) of a circle with radius r and center C (h, k) and if the
Center of a circle is at (7, -2) and a point on the circle is (-3,5) find the formula of the
circle.
W A Madhuranga Wijesooriya E141689 42
and radius.
Construct an equation to find the volume of the given Tetrahedron using vector
methods and if the vectors of the Tetrahedron are a=(2i+j-3k), b=(-i+2j+4k) and c=(5i-
7j+k), evaluate the volume of the Tetrahedron
Part 1
Find the area between the two curves f(x) = 3x2 - 4 and g(x) = 2x+5 on the interval
(-1) ≤ x ≤ 1.