Paper: Kenya National Examinations Council (KNEC), Diploma in Electrical and Electronic Engineering, Module III — Engineering Mathematics III, July 2019. This lesson follows the supplied archive scan and preserves its question numbering and printed marks.
Attempt any five of the eight questions, as directed on the paper. These independently prepared worked answers are for revision and are not an official KNEC marking scheme.
Question 1: Matrices and systems
1(a) Eigenvalues and eigenvectors (10 marks)
Question. Determine the eigenvalues and corresponding eigenvectors of A = [[3, 1], [2, 4]].
Worked answer.
The eigenvalues are 5 and 2.
1(b) State transition matrix (10 marks)
Question. A linear time-invariant system is characterized by dx/dt = Ax, where A = [[0, 1], [3, −2]] and x(t) is the system state vector. Determine the state transition matrix Φ(t) of the system.
Worked answer.
The eigenvalues of A are 1 and −3.
Φ(t) = (1/4){et[[3, 1], [3, 1]] + e−3t[[1, −1], [−3, 3]]}.
At t = 0 this reduces to I, as required for a state transition matrix.
Question 2: Numerical methods
2(a) Newton–Raphson method (9 marks)
Question. Given that xn is an approximation to the root of x4 − x2 − 1 = 0, use Newton–Raphson to show that a better approximation is xn+1 = (3xn4 − xn2 + 1)/(4xn3 − 2xn). Taking x0 = 1.3, determine the root correct to four decimal places.
Worked answer.
| n | xn |
|---|---|
| 0 | 1.300000 |
| 1 | 1.273158 |
| 2 | 1.272022 |
| 3 | 1.272020 |
The root correct to four decimal places is 1.2720.
2(b) Newton–Gregory interpolation (11 marks)
Question. Table 1 represents a polynomial f(x): x = −1, 0, 1, 2, 3, 4 and f(x) = −1, −3, −1, 17, 87, 269. Use the Newton–Gregory interpolation formula to determine (i) f(0.2); (ii) f(4.6).
Worked answer.
The forward differences are Δy: −2, 2, 18, 70, 182; Δ2y: 4, 16, 52, 112; Δ3y: 12, 36, 60; and Δ4y: 24, 24.
Using Newton–Gregory forward interpolation from x0 = −1, h = 1, p = 1.2 gives
f(0.2) = −1 + p(−2) + [p(p − 1)/2](4) + [p(p − 1)(p − 2)/6](12) + [p(p − 1)(p − 2)(p − 3)/24](24) = −2.9584.
Using the backward formula from xn = 4 with p = 0.6 gives
f(4.6) = 269 + p(182) + [p(p + 1)/2](112) + [p(p + 1)(p + 2)/6](60) + [p(p + 1)(p + 2)(p + 3)/24](24) = 465.9056.
Question 3: Multiple integrals
3(a) Evaluating double and triple integrals (11 marks)
Question. Evaluate: (i) ∫02∫0√(2x−x²) [x/(x² + y²)] dy dx; (ii) ∫01∫0√(1−y²)∫0√(1−x²−y²) z dz dx dy.
Worked answer (i). The region x2 + y2 ≤ 2x, y ≥ 0 is the upper half of the disk (x − 1)2 + y2 ≤ 1. In polar coordinates, 0 ≤ θ ≤ π/2 and 0 ≤ r ≤ 2cosθ. The integrand times the Jacobian is cosθ, so the integral is ∫0π/2∫02cosθcosθ dr dθ = π/2.
Worked answer (ii). The region is the first-octant part of the unit sphere. Integrating first with respect to z gives 1/2(1 − x2 − y2). In polar coordinates, 0 ≤ r ≤ 1 and 0 ≤ θ ≤ π/2, so the integral is (1/2)∫0π/2∫01(1 − r2)r dr dθ = π/16.
3(b) Area between a curve and a line (9 marks)
Question. Use a double integral to determine the area of the region bounded by the curve x = y2 − y and the line y = x.
Worked answer.
the points are (0, 0) and (2, 2).
Question 4: Line integrals and Green’s theorem
4(a) Line integral along a circular arc (4 marks)
Question. Evaluate ∫C(x2dx + xy dy), where C is the arc of the circle x2 + y2 = 1 from (0, 1) to (1, 0).
Worked answer.
The integral is 0.
4(b) Path independence and potential function (7 marks)
Question. Show that the line integral ∫(0,0)(1,π/2)(x − cos y)dx + (x sin y + 2y)dy is independent of path, and determine its value using a potential function.
Worked answer.
4(c) Green’s theorem on a triangle (9 marks)
Question. Use Green’s theorem in the plane to evaluate ∮C(x2 − y2)dx + x2dy, where C is the boundary of the triangle with vertices (0, 0), (1, 0) and (1/2, 1).
Worked answer.
∮C(P dx + Q dy) = ∫01∫y/21−y/22(x + y) dx dy = 5/6.
Question 5: Fourier series
5(a) Odd extension and half-range sine series (7 marks)
Question. Sketch the odd extension of f(t) = 1 − t2, 0 < t < 1, on the interval −2 < t < 2, and determine its half-range Fourier sine series.
Worked answer.
On −1 < t < 0 the odd extension is t2 − 1; on 0 < t < 1 it is 1 − t2. Repeat this shape with period 2. Over −2 < t < 2 the parabolic arcs are 1 − (t + 2)2 on (−2, −1), t2 − 1 on (−1, 0), 1 − t2 on (0, 1), and (t − 2)2 − 1 on (1, 2); there are jumps at even integers.
For 0 < t <
1 − t2 = Σn=1∞{2/(nπ) + 4[1 − (−1)n]/(n3π3)}sin(nπt), 0 < t < 1.
5(b) Fourier series of a periodic quadratic (13 marks)
Question. Given f(t) = t2, 0 ≤ t ≤ 2π, (i) sketch f(t) in the interval −2π < t < 2π; (ii) determine the Fourier series representation of f(t).
Worked answer.
Use the periodic extension with period 2π. On −2π < t < 0 the graph is (t + 2π)2;
For the 2π-periodic Fourier series, a0/2 = (1/2π)∫02πt2dt = 4π2/3, an = (1/π)∫02πt2cos(nt)dt = 4/n2, and bn = (1/π)∫02πt2sin(nt)dt = −4π/n.
f(t) = 4π2/3 + 4Σn=1∞[cos(nt)/n2 − π sin(nt)/n].
At the jump points t = 2kπ, the Fourier series converges to the mean of the one-sided limits, 2π2.
Question 6: Vector calculus
6(a) Surface area of a cone (5 marks)
Question. Find the surface area of the part of the cone z2 = 16(x2 + y2) that lies between the planes z = 0 and z = 8.
Worked answer.
6(b) Divergence theorem on a sphere (5 marks)
Question. Use the divergence theorem to evaluate the surface integral ∬SF · n dS for F = (x − z)i + (y − x)j + (z − y)k, where S is the sphere x2 + y2 + z2 = 9.
Worked answer.
6(c) Stokes’ theorem on a triangular plane (10 marks)
Question. Use Stokes’ theorem to evaluate ∮CF · dr for F = zi + xj + yk, where C is the boundary of the plane x + y + z = 2 in the first octant.
Worked answer.
Take the positive orientation corresponding to the upward/outward normal (1, 1, 1).
Reversing the boundary orientation changes the sign.
Question 7: Harmonic functions and transformations
7(a) Harmonic conjugate (10 marks)
Question. Given u = e3xcos 3y, (i) show that u is a harmonic function; (ii) determine a conjugate harmonic function V(x,y) such that f(z) = u + jV is analytic.
Worked answer.
7(b) Image of the unit circle under a bilinear transformation (10 marks)
Question. The circle |z| = 1 is mapped onto the w-plane by w = 1/(z + 2j). Determine the centre and radius of the image circle.
Worked answer.
The image circle has centre (0, −2/3) and radius 1/3.
Question 8: Numerical methods and Fourier series
8(a) Newton–Raphson method and root bracketing (8 marks)
Question. Show that one root of x4 + x2 − 10 = 0 lies between x = 1 and x = 2, and use Newton–Raphson to determine the root correct to four decimal places.
Worked answer.
| n | xn |
|---|---|
| 0 | 1.500000 |
| 1 | 1.662879 |
| 2 | 1.643940 |
| 3 | 1.643643 |
| 4 | 1.643643 |
The root is 1.6436 correct to four decimal places.
8(b) Fourier series of a half-wave rectifier (12 marks)
Question. The emf produced by a half-wave rectifier is e(t) = 10 sin t for 0 < t < π, e(t) = 0 for π < t < 2π, and e(t + 2π) = e(t). Determine the Fourier series representation of e(t).
Worked answer.
The period is 2π.
e(t) = 10/π + 5 sin t − (20/π)Σm=1∞cos(2mt)/(4m2 − 1).
Revision note: these independently prepared explanations are for study and are not the official KNEC marking scheme. Check the supplied scan for the original notation and instructions.