Professional Documents
Culture Documents
Maths For Computing
Maths For Computing
Godrick Naveen
[COMPANY NAME] [Company address]
Student Name/ID P.V. Godrick Naveen
Unit Title Unit 11 : Maths for Computing
Assignment Number 1 Assessor Ms.Shyamali
Date Received 1st
Submission Date
submission
Date Received 2nd
Re-submission Date
submission
Assessor Feedback:
LO1 Use applied number theory in practical computing scenarios.
Grade:
Assessor Signature: Date:
Grade:
Assessor Signature: Date:
Internal Verifier’s Comments:
* Please note that grade decisions are provisional. They are only confirmed once internal and external
moderation has taken place and grades decisions have been agreed at the assessment board.
Important Points:
1. Check carefully the hand in date and the instructions given with the assignment. Late
submissions will not be accepted.
2. Ensure that you give yourself enough time to complete the assignment by the due date.
3. Don’t leave things such as printing to the last minute – excuses of this nature will not be
accepted for failure to hand in the work on time.
4. You must take responsibility for managing your own time effectively.
5. 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.
6. Failure to achieve at least a PASS grade will result in a REFERRAL grade being given.
Student Declaration
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.
kana013536@esoft.academy
Student’s Signature: Date:
(Provide E-mail ID) (Provide Submission Date)
Unit Tutor
Issue Date
Submission 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.
Part 1
1. Define ‘conditional probability’ with suitable examples.
2. A school which has 100 students in its sixth form, 50 students study mathematics, 29 study biology
and 13 study both subjects. Find the probability of the student studying mathematics given that the
student studies biology.
3. A certain medical disease occurs in 1% of the population. A simple screening procedure is available
and in 8 out of 10 cases where the patient has the disease, it produces a positive result. If the patient
does not have the disease there is still a 0.05 chance that the test will give a positive result. Find the
probability that a randomly selected individual:
(a) Does not have the disease but gives a positive result in the screening test
(b) Gives a positive result on the test
(c) Nilu has taken the test and her result is positive. Deduce the conditional probability that she has the
disease.
Let C represent the event “the patient has the disease” and S represent the event “the screening test gives a
positive result”.
4. In a certain group of 15 students, 5 have graphics calculators and 3 have a computer at home (one
student has both). Two of the students drive themselves to college each day and neither of them has a
graphics calculator nor a computer at home. A student is selected at random from the group.
(a) Find the probability that the student either drives to college or has a graphics calculator.
(b) Show that the events “the student has a graphics calculator” and “the student has a
computer at home” are independent.
Let G represent the event “the student has a graphics calculator”
H represent the event “the student has a computer at home”
D represent the event “the student drives to college each day”
Represent the information in this question by a Venn diagram. Use the above Venn diagram to answer the
Godrick Naveen - HND in Computing |Maths for Computing Assignment 01
Page | 9
questions.
5. A bag contains 6 blue balls, 5 green balls and 4 red balls. Three are selected at random without
replacement. Find the probability that
(a) they are all blue
(b)two are blue and one is green
(c) there is one of each colour
(b) Let X be the number of successes. What are the possible values of X?
(c) Create a probability distribution for X.
12. Colombo City typically has rain on about 16% of days in November.
(a) Calculate the probability that it will rain on exactly 5 days in November? 15 days?
13. From past records, a supermarket finds that 26% of people who enter the supermarket will make a
purchase. 18 people enter the supermarket during a one-hour period.
(a) What is the probability that exactly 10 customers, 18 customers and 3 customers make a
purchase?
(b) Calculate the expected number of customers who make a purchase.
(c) Find the variance and standard deviation of the number of customers who make a purchase.
14.On a recent math test, the mean score was 75 and the standard deviation was 5. Shan got 93. Would his
mark be considered an outlier if the marks were normally distributed? Explain.
15.For each question, construct a normal distribution curve and label the horizontal axis and answer each
question.
The shelf life of a dairy product is normally distributed with a mean of 12 days and a standard deviation of 3
days.
(a) About what percent of the products last between 9 and 15 days?
16.Statistics held by the Road Safety Division of the Police shows that 78% of drivers being tested for their
license pass at the first attempt.
If a group of 120 drivers are tested in one Centre in a year, 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
2. Identify thesurfaces in R
3
that are represented by the following equations?
z=3
y=5
4. Show thatx2 + y2 + z2 + 4x – 6y + 2z + 6 =0 is the equation of a sphere. Also, find its center and
radius.
Part 2
6.
a=(2i+3j) , b=(4i
-2j) and c=(1i+4j) evaluate the volume of the shape.
Part 1
1. Determine the function whose tangent has slope 4x + 1 for each value of x and whose graph
passes through the point (1, 2).
2. Determine the function whose tangent has slope 3x 2 + 6x − 2 for each value of x and whose
graph passes through the point (0, 6).
Part 2
3. It is estimated that t years from now the population of a certain lakeside community will be
changing at the rate of 0.6t 2 + 0.2t + 0.5 thousand people per year. Environmentalists have found that the
level of pollution in the lake increases at the rate of approximately 5 units per 1000 people. Use integral
calculus to find by how much will the pollution in the lake increase during the next 2 years?
4. An object is moving so that its speed after t minutes is v(t) = 1+4t+3t 2 meters per minute. Use
integral calculus to find far does the object travel during 3rd minute?
Part 3
5. Sketch the graph of f(x) = x − 3x 2/3 , analyse maxima and minima where the graph is
increasing/decreasing.
6. Analyse maxima and minima of the graph of f(x)= 3x 4-6X3+3x2 by using the extreme points from
differentiation.
Part 4
7. For the function f(x) = cos 2x, 0.1 ≤ x ≤ 6, find the positions of any local minima or maxima and
distinguish between them.
Activity 1
Part 1
Q1
GCF (Greatest Common Divisor) is the largest common factor of two or more numbers.
a)
120
120 = 2 x 60
120 = 2 x 6 x 10
120 = 2 x 2 x 3 x 2 x 5
30
30 = 2 x 15
30 = 2 x 3 x 5
Prime 2 3 5
#
120 23 31 51
1 1 1
30 2 3 5
GCF 2 3 5
Godrick Naveen - HND in Computing |Maths for Computing Assignment 01
Page | 17
GCF of (120, 30) = 2 x 3 x 5 = 30 students
Mr. Steve possibly have 30 students in his class. Each student will receive 1 piece of paper and 4
pastel sticks.
120
120 = 2 x 60
120 = 2 x 6 x 10
120 = 2 x 2 x 3 x 2 x 5
30
30 = 2 x 15
30 = 2 x 3 x 5
Step 2 - Both of the common factors 120 and 30 are obtained and arranged in a table as shown
below.
Prime 2 3 5
#
120 23 31 51
1 1 1
30 2 3 5
Step 3 - The lowest product from each column is obtained. After that they are multiplied
together to obtain the GCF.
Q2
Prime factorization of 16 and 24
16
16 =8x2
16 =2x4x2
16 =2x2x2x2
24
Prime 2 3
24 = 8 x # 3
24 = 2 x 4 0 4x3
16 2 3
24 = 2 x 2 x 2 x 3
3 1
24 2 3
GCF 8 1
The Euclidean algorithm includes a set of instructions for finding the greatest common divisor of
any two positive integers. It makes use of repeated use of integer division.
The Euclidean formula is a = bq + r where a and b are two positive integers, q is the quotient
and r is the remainder. It is assumed that 0 < r < b.
Repeated division is used until the remainder is zero, as follows:
a = bq1 + r1 where 0 < r1 < b
b = r1q2 + r2 where 0< r2 < r1
r 1 = r2q3 + r3 where 0 < r3 < r2
The following process continues until remainder is zero.
Therefore, GCD(Greatest Common Divisor) (a,b) = last non-zero remainder in the division
process.
Hence, applying the Euclidean algorithm:
11=8(1)+3
8=3(2)+2
3=2(1)+1
Godrick Naveen - HND in Computing |Maths for Computing Assignment 01
Page | 21
2=1(2)
Re-arranging the equations above:
3 = 11-8(1)
2 = 8-3(2)
1 = 3-2(1)
GCD (8,11) = 1
If the above equations are reversed (using extended Euclidean algorithm):
1 = 3-2(1)
1 = 3-(8-3(2)) (1)
= 3-(8-(3(2))
= 3(3)-8
1 = (11-8(1)) (3)-8
= 11(3)-8(4)
= 11(3) +8(-4)
Hence, 1 = 11(3) + 8(-4) which is 1 = 8(-4) mod 11
Multiplicative inverse would be 1=8(7) mod 11
Part 4
Q7
Importance Of Prime numbers within the field of Computing
Are used in the following areas in computing.
Cryptography and Encryption
Most modern computer cryptography works by using the prime factors of large numbers.And
also Prime numbers are used in the RSA (Rivest–Shamir–Adleman) system in cryptography to
calculate public and private keys as a means of encrypting data within messages in a computer
system.
Hash codes
Prime numbers are also used in calculating hash codes in computing.
Activity 2
Part 1
Godrick Naveen - HND in Computing |Maths for Computing Assignment 01
Page | 22
Q1
Conditional probability is the probability of an event occurring given that another event has
already occurred. The concept is one of the quintessential concepts in probability theory. Note
that conditional probability does not state that there is always a causal relationship between the
two events, as well as it does not indicate that both events occur at the same time.
For example,
Two dies are thrown at once and the sum of the numbers obtained is found to be 7. What is the
probability that the number 3 has appeared at least once?
Solution: The sample space S would consist of all the numbers possible by the combination of
two dies. Hence, S consists of 6 × 6 i.e. 36 events.
Event A indicates the combination in which 3 has appeared at least once.
Event B indicates the combination of the numbers which sum up to 7.
A = {(3, 1), (3, 2), (3, 3)(3, 4)(3, 5)(3, 6)(1, 3)(2, 3)(4, 3)(5, 3)(6, 3)}
B = {(1, 6)(2, 5)(3, 4)(4, 3)(5, 2)(6, 1)}
P(A) = 11/36
P(B) = 6/36
A∩B=2
P(A ∩ B) = 2/36
Q2
By using a Venn diagram,
Mathematics Biology
37 13|Maths 16
Godrick Naveen - HND in Computing for Computing Assignment 01
Page | 23
34
n (s) = 100
P (B) = Probability that a student studies Biology
P (M) = Probability that a student studies Mathematics
P (B ∩ M) = Probability that a student studies both Biology and Mathematics Hence,
P (B) = 29/100
P (M) = 50/100
P (B ∩ M) = 13/100
Q3
IF:
C represents ‘Patient has disease’
S represents ‘Screening test gives a positive result’
C’ represents ‘Patient does not have a disease’
S’ represents ‘Screening test does not give a positive result’
Using a tree diagram:
S CS
0.8
P(S)=P(C∩S) + P(C’∩S)
= (0.01 x 0.8) + 0.0495
= 0.0575
c) Probability that Nilu has the disease :-
P (C ∩ S)
P(C|S) =
P(S )
0.008
=
0.0575
= 0.139
Q4
IF:-
G = Event that the student has a graphics calculator
H = Event that the student has a computer at home
D = Event that the student drives to college everyday
This information can be displayed using a Venn diagram as given below:-
2
6 H
Q5
n (s) = 15
Sample space = {BBB, RRR, GGG, BBG, GGB, BGB, GBB, RRB, BBR, BRB, RBR, GRR,
RRG, GRG, GGR}
b) Probability that two are blue and one is green: P (B1B2G3) = 6/15 * 5/14 * 5/13 = 5/91
But there are three arrangements of two blues and one green as follows: -
{B1B2G3, B1G2B3, G1B2B3}
Hence, probability = 3 * 5/91 = 15/91
= 0.165
c) Probability that there is one of each color: P (B1G2R3) = 6/15 * 5/14 * 4/13 = 4/91
However, there are six arrangements of one blue, one green and one red as follows: -
{B1G2R3, B1R2G3, G1B2R3, G1R2B3, R1B2G3, R1G2B3}
Hence, probability = 6 * 4/91 = 24/91
= 0.264
Part 2
Q6
A random variable is a variable whose value is unknown or a function that allocates values to
each of an experiment's outcomes. There are two types of random variables which are: -
Discrete variable
Discrete variables are numeric variables that have a countable number of values between any two
values. A discrete variable is always numeric.
Continuous variable
Continuous variables are numeric variables that have an infinite number of values between any
two values. A continuous variable can be numeric or date/time.
Q7
Let M = the score on the red dice minus the score on the blue dice.
Godrick Naveen - HND in Computing |Maths for Computing Assignment 01
Page | 27
The total possible outcomes for the two fair cubical dice would be = 36
Outcomes are tabulated as shown below: -
Blue dice
Red 1 2 3 4 5 6
dice 1 0 -1 -2 -3 -4 -5
2 1 0 -1 -2 -3 -4
3 2 1 0 -1 -2 -3
4 3 2 1 0 -1 -2
5 4 3 2 1 0 -1
6 5 4 3 2 1 0
P (M = m)
1 2 3 4 5 6 7 4 3 2 1
36 36 36 36 36 36 36 36 36 36 36
M -5 -4 -3 -2 -1 0 1 2 3 4 5
P(M = m) 1 2 3 4 5 6 5 4 3 2 1
3
36 36 36 36 36 6 36 36 36 36 36
M2P 0.694 0.889 0.75 0.44 0.139 0 0.139 0.44 0.75 0.889 0.694
Var (M) = 0.694 + 0.889 + 0.75 + 0.44 + 0.139 + 0 + 0.139 + 0.44 + 0.75 + 0.889 + 0.694
= 5.824
Q8
a) Probability distribution of X: -
X 0 10 20
E(X)=20*¼+10*½+0*¼=10
Q9
The probability distribution is given as: -
X 1 2 3 4
a) Since ∑ P (X) = 1
Part 3
Q 10
Defects (x) 0 1 2 3 4 5
Batches 95 113 87 64 13 8
a) Using the frequency distribution above, the probability distribution for X can be
constructed as follows:
Total number of batches = 95 + 113 + 87 + 64 + 13 + 8 = 380 P(x) can be calculated as
Shown below: -
X 0 1 2 3 4 5
X P(X) x*P(X)
0 0.25 0*0.25 = 0
1 0.30 1*0.30 = 0.30
2 0.23 2*0.23 = 0.46
3 0.17 3*0.17 = 0.51
4 0.03 4*0.03 = 0.12
5 0.02 5*0.02 = 0.10
∑P(X) = 1 ∑X*P(X) = 1.49
mean = 1.49
c) The variance and standard deviation for this probability distribution can be calculated as
shown below: -
x P(x) x2 x2*P(x)
0 0.25 0 0*0.25 =0
= 3.73 – (1.49)2
= 3.73 – 2.12
= 1.51
Q 11
a) Probability that the surgery is successful on exactly 2 patients. P (2) can be calculated if
the number of successful surgeries, X is represented by a binomial distribution where:
Number of trials, n = 3
Probability of a successful surgery, p = 0.75
Probability of the surgery failing, q = 1 - p
= 1 - 0.75 = 0.25
Therefore, P (2) = nC2p2qn-2
= 3C2(0.75)2*(0.25)1
= 0.422
a) If X is the number of successes, then the possible values of X are 0,1,2,3
c)In order to calculate the probability distribution for X, P (0), P (1), P (2) and P (3) need to
be calculated as shown below: -
Godrick Naveen - HND in Computing |Maths for Computing Assignment 01
Page | 33
P (0) = nC0p0qn-0
= 3C0(0.75)0*(0.25)3
= 0.016
P (1) = nC1p1qn-1
= 3C1(0.75)1*(0.25)2
= 0.141
P (2) = nC2p2qn-2
= 3C2(0.75)2*(0.25)1
= 0.422
P(3) = nC3p3qn-3
= 3C3(0.75)3*(0.25)0
= 0.422
Hence, the probability distribution for X is: -
X 0 1 2 3
P (X) 0.016 0.141 0.422 0.422
(e)
μ=n*p
= 30*0.16
= 4.80
c) The variance and standard deviation of the number of days with rain in November are: -
Variance, 2
= n*p*q
= 30*0.16*0.84
= 4.032
= √4.032 = 2.008
Q 13
From past records, a supermarket finds that 26% of people who enter the supermarket will make
a purchase. 18 people enter the supermarket during a one-hour period.
a) Assuming that the customer’s decision to purchase are independent, binomial
distribution can be used to calculate the probability that exactly 10 customers, 18
customers and 3 customers will make a purchase.
If the number of customers who make a purchase is X, then: -
Total number of customers, n = 18
Probability of successful purchase (customer makes purchase), p = 0.26
Probability of failure to purchase (customer does not purchase), q = 1 –p = 1-0.26 = 0.74
Hence,
P (10) = nC10p10qn-10
= 18C10(0.26)10(0.74)8
= 0.00555
P (18) = nC18p18qn-18
Godrick Naveen - HND in Computing |Maths for Computing Assignment 01
Page | 36
= 18C18(0.26)0(0.74)18
= 0.0000000000295
P (3) = nC3p3qn-3
= 18C3(0.26)3(0.74)15
= 0.157
b) The expected number of customers who make a purchase are: -
μ= n * p
=18*0.26
= 4.68
c) The variance and standard deviation of the number of customers who make a purchase
are: -
Variance, 2= n*p*q
= 18*0.26*0.74
= 3.46
Standard deviation,
= √n*p*q
= √3.46
= 1.86
Q 14
The standardized score or Z score can be calculated as: -
Raw score – mean
Standardized score =
Standard deviation
93 – 75
5
= 3.6
Hence, the score is 3.6 standard deviations above the mean indicating that Shan will be in
the 3 percent outside the 3 standard deviations. Hence, it will be an outlier.
The graph below shows application of the bell curve according to the empirical rule: -
34% 34%
13.5%
13.5%
2.35%
0.15% 2.35%
0.15%
3 6 9 12 15 18 21 24 27
Hence, the percent of the products that last between 9 and 15 days will be 68%according to the
empirical rule. This is shown graphically as follows: -
34% 34%
b) In order to calculate the percent of products that last between 12 and 15 days, the z-
score of the two data points should be calculated: -
12 – 12
= =0
3
= 15–12 = 1 (value one standard deviation above the mean) 3
Hence the z-score will be in the range 0 ≤ z ≤1
Hence, the percent of the products that last between 12 and 15 days will be 34% as
shown in the figure below: -
34%
c) In order to calculate the percent of products that last 6 days or less, the z-score of the
should be calculated: z = 6–12= -2 (value two standard deviations below the mean) 3
Hence, the percent of the products that last 6 days or less will be 2.35% + 0.15% = 2.5%
0.15% 2.35%
d) In order to calculate the percent of products that last 15 or more days, the z-score of
the should be calculated = 15–12= 1 (value one standard deviation above the mean) 3
Hence the z-score will be z ≥1
Hence, the percent of the products that last 15 or more days will be 13.5% + 2.35% +
0.15% = 16.0%
This is shown graphically in the figure below: -
13.5% 2.35%
0.15%
Hence using the binomial formula, the following will need to be calculated: -
P(X=100) + P(X=101) +.... + P(X=120)
However, this is difficult to calculate as n is too large and p is not close to 0 or 1. Therefore, it
would be advisable to use the normal distribution.
Using the normal distribution, the mean and standard deviation can be calculated as follows: -
Mean, μ = n * p
= 120*0.78
= 93.6
Standard deviation, = √n*p*q
= √20.592
= 4.538
Part 4
Q 17
(x,y)
r (h,k)
r = √ (x-h)2+(y-k)2
r2 = x2–2xh + h2+ y2–2yk + k2
If r and (h, k) are substituted into the equation, the formula of the circle can be obtained
as
follows: -
r2= x2–2xh + h2+ y2–2yk + k2
13.342= x2–2x*(2) + 22+ y2–2y*(-7) + (-7)2
178 = x2–4x + 4 + y2+ 14y + 49
178 = x2–4x + y2+ 14y + 53
178 -53 = x2–4x + y2+ 14y
Hence, formula of the circle with center (2, -7) and a point on the circle (5,6) will be: -
x2–4x + y2+ 14y = 125
Q2
{(x, y, z}, z = 3} represents that set of all points in R3whose z co-ordinate is 3. This is the
horizontal plane that is parallel to the xy plane and it is 3 units above as shown below :
-
Q3
The equation of a sphere is given as: r2= (x –a)2+ (y –b)2+ (z –c)2
Where the center is (a, b, c) and r is the radius,
Hence, when the center is (h, k, l) and r is the radius, the equation of the sphere will be:
r2= (x –h)2+ (y –k)2+ (z –l)2
Part 2
Q5
The x and y values in the equations 3y = 2x -5 and 2y = 2x + 7 can be graphically evaluated as
follows:
Letting x be zero in the first equation 3y = 2x –5 gives 3y = 2 *0 –5
y= -5/3
y = -1.67
Hence, one co-ordinate would be (0, -1.67)
If y = 0 in the first equation:
3y= 2x –5
3 * 0 = 2x –5-2x = -5x= -5/-2
x= 2.25
Hence, another co-ordinate would be (2.25,0)
x y
0 -1.67
2.250
If y = 0,
2*0 = 2x + 7
0 = 2x + 7
x= -7/2
x= -3.5
Hence, another co-ordinate would be (-3.5,0)
y Axis
3y = 2x -5
2y = 42x + 7
(0,3.5)
) 3
1
(-3.5,0)
) x Axis
-4 -3 -2 -1 0 1 2 3 4
(2.25,0)
-1 )
(0,-1.67)
) -2
Godrick Naveen - HND in Computing |Maths for Computing Assignment 01
-3 Page | 46
-4
The intersection points between the two lines 2y = 2x + 7 and 3y = 2x –5 can be determined as
follows: -
y Axis
5
2y = 2x + 7 3y = 2x -5
4
3
(0,3.5)
2
)
1
(-3.5,0) (2.25,0)
-15 -14 -13 -12 -11 -10 -9 -8 -7 -6 ) -5 -4 ) x Axis
-3 -2 -1 0 1 2 3 4
-1
(0,-1.67)
-2 )
-3
-4
-5
-6
-7
-8
Godrick Naveen - HND in Computing |Maths for Computing Assignment 01
Page | 47
-9
-10
Intersection point
(-15.5,-12)
)
-14
-15
Q6
A tetrahedron’s volume is 1/6 of the volume of a parallelepiped which is formed by vectors a,b,
c.
Volume of a parallelepiped (scalar triple product) = | (a * b) * c |
Hence, the volume of a tetrahedron with a, b. c as co-terminal edges is obtained as: -
Volume = 1/3 * (Area of base) * (height)
Where height = ||c|| * |cos θ|
Hence, Volume = 1/3 * (½* ||a*b||) * ||c||* |cos θ|
= 1/6 * ||a*b|| *|| c ||* |cos θ| Since | (a * b) * c | = ||a*b|| *|| c ||* |cos θ|,
Volume of the tetrahedron = 1/6 * | (a * b) * c |
= 1/6 * [(2i + 3j) * (4i-2j-) * (1i+4j)]
a = (2i + 3j) b = (4i –2j) c = (1i + 4j)
Q2
The slope of the tangent is the derivative of the function f. Hence,
Godrick Naveen - HND in Computing |Maths for Computing Assignment 01
Page | 49
f’(x) = 3x2+ 6x –2 and f(x)is the indefinite integral f(x) = ∫ f’(x)
Hence, to find the function whose tangent has slope 3x 2+ 6x -2 for each value of x and whose
graph passes through the point (0,6) the integral of the function f(x) will be: -
f(x) = ∫ f ’(x)
f(x) = ∫ 3x2+6x –2
= x3+ 3x2–2x + c
Using the fact that the graph of f passes through the point (0,6), to find c, x = 0 and f (0) = 6 is
substituted into the equation as follows: -
f(x) = x3+ 3x2–2x + c
f(0) = 03+3*02–2 *0 + c
6=0+c
c=6
The desired function is f(x) = x3+ 3x2–2x + 6
Part 2
Q3
It is estimated that t years from now the population of a certain lakeside community will be
changing at the rate of 0.6t2+ 0.2t + 0.5 thousand people per year. Environmentalists
have found that the level of pollution in the lakeside increases at the rate of approximately 5
units per 1000 people.
Let P(t) denote the population of the community t years from now.
Then the rate of change of the population with respect to time is the derivative
= P’ (t) = 0. 6t2+ 0.2t + 0.5
However, the population function P(t) is an anti-derivative of 0. 6t2+ 0.2t + 0.5 which
is given by: -
P(t) = ∫ P’(t) dt
=∫ (0. 6t2+ 0.2t + 0.5) dt
=0.2t3+ 0.1t2+ 0.5t + C
Where C is a constant
During the subsequent 2 years, the population will grow by: -
P (2) –P (0) = 0.2 * (2)3+ 0.1 * (2)2+ 0.5*2 + C –
C =1.6+0.4+1
Godrick Naveen - HND in Computing |Maths for Computing Assignment 01
Page | 50
= 3000 people
Hence, the pollution in the lake will increase by 5 units * 3 = 15 units
Q4
If speed of the moving object after t minutes is v(t) = 1 + 4t + 3t2meters per minute, let s(t) be
the displacement of the car after t minutes, Then
v(t) = ds/dt = s’(t)s(t) = ∫ ( )
= ∫ ( 1 + 4t + 3t2)
= t + 2t2+t3+ c
During the third minute, the object travels,
s (3) –s (2) = 3 + 2 * (3) 2+ (3)3+ c –2 + 2*(2) 2–(2)3
= 30 meters
The object travels 30 meters during the third minute.
Part 3
Q5
(x) = x –3x2/3
0 = x –3x2/3
x2/3(x1/3–3) = 0
Hence when f(x) = 0 (y co-ordinate will be 0),
x2/3= 0
x=0
x1/3= 3
x = ∛3= 27
Hence, the x-intercepts are (0,0) and (27,0)
Using the power rule, the first derivative of f(x) is calculated as:-
f ’(x) =(x -3x2/3)
=1 –2x-1/3
= x1/3–2
x1/3
0 = x1/3–2
x1/3
x1/3= 2
x = 23= 8
Also, when f ‘(x) is undefined, x = 0
As f(x) is continuous without any vertical asymptotes, f(x) = x –3x2/3should have A local
maximum at (0, f (0)) which is (0,0) and a local minimum at (8, f (8)) which is :-
(8, (8-3*(82/3) = (8, -4)
To check the concavity of the graph, the second derivative of f(x) which is f “(x) is calculated as
follows: -
f “(x) =(1 –2x-1/3)
=23x-4/32
=3 4/3
When f ‘ (0) does not exist, x = 0 but x ≠0 when f ’’(x) >0, so the curve is a concave up (slope
increases) on any interval that does not contain x = 0.
y Axis
12
4 (27,0)
(0,0)
x Axis
4 8 12 16)
0 4 8 12
)
16 20 24 28
-4
Godrick Naveen - HND in Computing |Maths for Computing Assignment 01
Page | 52
(8,-4)
-8
)
-12
Q6
The graph of f(x) = 3x4–6x3+ 3x2can be drawn by first calculating the first derivative of the
function to locate the stationary points on the graph as follows: f(x) = 3x4–6x3+ 3x2
Factorization of f (x) = 3x2(x2-1) (x2-1)
f ‘(x) = 12x3–18x2+ 6x
According to Fermat’s theorem, if f(x) has a local extremum at x = a and f is differentiable at a,
then f ‘(a) = 0
So when f ‘(x) = 0,
0 = 12x3–18x2+ 6x
By factoring: 0 = 6x (2x2–3x + 1)
x=0
Using the quadratic formula to solve (2x2–3x + 1) results in:
=− ±√ 2−4
2
= −(−3) ± √(−3)2 − (4 ∗ 2 ∗ 1)
2∗2
= 3±√9−8
4
= 3±√1
4
Godrick Naveen - HND in Computing |Maths for Computing Assignment 01
Page | 53
= 3±√1
4
= ½
Hence, the stationary points on the graph will be at x = 0, x = 1 and x = ½
Using the first derivative test:
Part 4
Q7
The second derivative is evaluated at each stationary point to locate the local minima and
maxima as follows:
ⅆ2= -4 cos= 4 >0
f
ⅆx
x2=π
2
Question 8
ⅆ 2f|= 12–1=1> 0
ⅆx x = 1 16 2 4
2
4
Hence, x = indicates a local minimum.
Q9
By further differentiation,
y =12x2–2x
By taking the derivative of the slope:
f ‘(y) = 24x –2
By factoring 2 (12x − 1) = 0
By dividing all by 4(12x−1) = 0
12 12
Using the second derivative test, the second derivative at x = 12 1when f(x) =0 is 24 which is a
positive value. According to this test, if the second derivative is positive, then this is a local
minimum. Hence, x = 121 is a local minimum
Local minimum
y = x2+ 4x + 1
By taking the derivative of the slope:
f ‘(y) = 2x + 4
By factoring 2(x + 2) = 0
Hence, the stationary points when y = 0 are at x = 0 and x = -2.
Using the first derivative test:
Using the second derivative test, the second derivative at x = -2 when f(x) =0 is 2 which is a
positive value. According to this test, if the second derivative is positive, then this is a local
minimum. Therefore, x = -2 is a local minimum.
Local minimum
y = 12x –2x2
By taking the derivative of the slope:
f ‘(y) = 12x –4x
By factoring 4(3 − x) = 0
Hence, the stationary points when y = 0 are at x = 0 and x = 3.
Using the first derivative test:
Using the second derivative test, the second derivative at x = 3 when f(x) =0 is -4 which is a
negative value. According to this test, if the second derivative is negative, then this is a local
maximum. Therefore, x = 3 is a local maximum.
Godrick Naveen - HND in Computing |Maths for Computing Assignment 01
Page | 59
Local maximum
y = -3x2+ 3x + 1
By taking the derivative of the slope:
f ‘(y) = -6x + 3
By factoring
3(−2x + 1) = 0
By dividing all by 4 (−2x+1 ) = 0
-2 -2
Therefore, the stationary points when y =0 are at x = 0 and x = ½
Using the first derivative test:
Using the second derivative test, the second derivative at x = ½ when f(x) =0 is -6 which is a
negative value. According to this test, if the second derivative is negative, then this is a local
maximum. Therefore, x = ½ is a local maximum.