Paper: Kenya National Examinations Council (KNEC), Diploma in Electrical and Electronic Engineering, Module III — Engineering Mathematics III, October/November 2024. Paper codes: 2521/303, 2601/303, 2602/303 and 2603/303.
This revision lesson includes all eight questions from the supplied four-page paper with independently prepared worked solutions. Candidates are instructed to answer any five questions; all questions carry equal marks. These explanations are study notes, not an official KNEC marking scheme.
Question 1: Numerical methods
1(a) Newton–Raphson method (11 marks)
Question. For x3 − x2 + 3x − 2 = 0, show that Newton–Raphson gives xn+1 = (2xn3 − xn2 + 2)/(3xn2 − 2xn + 3). Starting with x0 = 0.5, determine the root to six decimal places.
Worked answer.
| n | xn |
|---|---|
| 0 | 0.500000 |
| 1 | 0.727273 |
| 2 | 0.715279 |
| 3 | 0.715225 |
| 4 | 0.715225 |
The root is x ≈ 0.715225238, or 0.715225 to six decimal places.
1(b) Newton–Gregory forward interpolation (9 marks)
Question. The table gives x = −1, 0, 1, 2, 3, 4 and f(x) = −8, −2, 0, 4, 16, 42. Use Newton–Gregory forward interpolation to determine f(x).
Worked answer.
The forward differences are Δf = 6, 2, 4, 12, 26;
f(x) = −8 + 6p − 2p(p − 1) + p(p − 1)(p − 2).
Simplifying gives f(x) = x3 − 2x2 + 3x − 2, which reproduces all six tabulated values.
Question 2: Eigenvalues and dynamic systems
2(a) Eigenvalues and eigenvectors (11 marks)
Question. Determine the eigenvalues and corresponding eigenvectors of A = [[−1, 2], [2, 2]].
Worked answer.
- For λ = 3, an eigenvector is (1,2)T.
- For λ = −2, an eigenvector is (−2,1)T.
2(b) State-transition matrix (9 marks)
Question. For dx/dt = Ax, where A = [[0, 1], [−2, −3]], determine Φ(t) and show that Φ(0) = I.
Worked answer.
The eigenvalues are −1 and −2, with eigenvectors (1,−1)T and (1,−2)T.
Φ(t) = [[2e−t − e−2t, e−t − e−2t], [−2e−t + 2e−2t, −e−t + 2e−2t]].
Setting t = 0 gives Φ(0) = [[1,0],[0,1]] = I.
Question 3: Multiple integrals
3(a) Evaluate a double integral (5 marks)
Question. Show that ∫12∫x2x1/(x2 + y2) dy dx = (ln 2)tan−1(1/3).
Worked answer.
3(b) Change the order of integration (7 marks)
Question. Change the order of integration and evaluate ∫01∫√y11/√[y(1 + x2)] dx dy.
Worked answer.
3(c) Volume between paraboloids (8 marks)
Question. Use a triple integral to find the volume enclosed between z = 2 − x2 − y2 and z = x2 + y2.
Worked answer.
In polar coordinates the surfaces meet at r = 1.
Question 4: Line integrals and Green’s theorem
4(a) Line integral on a circular arc (7 marks)
Question. Evaluate ∫C(x + y2)dx − xy dy, where C is the arc of x2 + y2 = 4 from (2,0) to (0,2).
Worked answer.
The integrand becomes −4sin t cos t − 8sin t.
4(b) Work along a straight line (7 marks)
Question. The force field F = −y2i + x2j moves an object from (1,0) to (0,1) along the line segment joining the two points. Find the work done.
Worked answer.
4(c) Green’s theorem on an upper semicircle (6 marks)
Question. Evaluate ∮C(ex − y2)dx + (ey + x)dy, where C is the counter-clockwise boundary of the upper semicircle x2 + y2 = 1 together with the x-axis.
Worked answer.
Green’s theorem gives the line integral as π/2 + 4/3.
Question 5: Harmonic functions and complex mappings
5(a) Harmonic function and conjugate (11 marks)
Question. Show that u(x,y) = e4xcos 4y − 6x + 2y + 3 is harmonic and determine a conjugate harmonic function v(x,y) such that f(z) = u + jv is analytic.
Worked answer.
the linear terms have zero second derivatives.
5(b) Image circle under the printed transformation (9 marks)
Question. The scan’s transformation is read as w = (z − 2j)/(z + j). The circle |z| = 3 is mapped to the w-plane; determine the centre and radius of the image circle.
Worked answer.
The image circle has centre (11/8,0) and radius 9/8.
Question 6: Fourier series
6(a) Half-range cosine series (7 marks)
Question. Determine the half-range Fourier cosine series of f(t) = π − t, 0 < t < π.
Worked answer.
f(t) = π/2 + (4/π)Σm=0∞cos((2m + 1)t)/(2m + 1)2.
6(b) Fourier series for the capacitor charge (13 marks)
Question. From the graph, determine q(t) over one period and find its Fourier series.
Worked answer.
2π, repeated with period 2π. Its mean a0/2 is zero.
q(t) = Σn=1∞{2[(-1)n − 1]cos(nt)/(π2n2) + [1 − 3(-1)n]sin(nt)/(πn)}.
At the jumps t = 0 and t = π, the series converges to the average of the left- and right-hand limits.
Question 7: Surface integrals and Stokes’ theorem
7(a) Flux through a paraboloid (10 marks)
Question. Evaluate ∬SF·n dS for F = zi + 2xj + 3yk, where S is z = 1 − x2 − y2 above the xy-plane.
Worked answer.
The projection is the unit disk. For the upward orientation, n dS = (2x,2y,1)dxdy.
Each term is odd in x or y over the symmetric disk, so the flux is 0.
7(b) Stokes’ theorem on a triangular plane (10 marks)
Question. Use Stokes’ theorem for F = 3xi + yj + 2yk, where C is the counter-clockwise boundary of x + 2y + z = 1 in the first octant.
Worked answer.
the upward oriented surface element is n dS = (1,2,1)dxdy. The projected triangle has vertices (0,0), (1,0), (0,1/2) and area 1/4.
Question 8: Symmetric matrices and Fourier series
8(a) Determine a symmetric matrix (11 marks)
Question. A 2 × 2 symmetric matrix A has eigenvalues 3 and −1. Given that an eigenvector for λ = 3 is (−1,1)T, determine an eigenvector for λ = −1 and the matrix A.
Worked answer.
For a symmetric matrix, eigenvectors belonging to distinct eigenvalues are orthogonal.
8(b) Fourier series of a periodic triangular function (9 marks)
Question. Over one period, f(t) = π − t for −π < t < 0 and f(t) = π + t for 0 < t < π. Sketch the function and determine its Fourier series.
Worked answer.
f(t) = π/2 + (4/π)Σm=0∞cos((2m + 1)t)/(2m + 1)2.
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.