Paper: Kenya National Examinations Council (KNEC), Diploma in Electrical and Electronic Engineering, Module III — Engineering Mathematics III, March/April 2025. Paper codes: 2521/303, 2601/303, 2602/303 and 2603/303.
This revision lesson follows the supplied four-page paper and includes all eight questions 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 (8 marks)
Question. For 2x3 − 5x + 3 = 0, show that Newton–Raphson gives xn+1 = (4xn3 − 3)/(6xn2 − 5). Starting with x0 = 1.5, determine the root to three decimal places.
Worked answer.
| n | xn |
|---|---|
| 0 | 1.500000 |
| 1 | 1.235294 |
| 2 | 1.092472 |
| 3 | 1.025206 |
| 4 | 1.002967 |
| 5 | 1.000051 |
The polynomial factors as (x − 1)(2x2 + 2x − 3), and this iteration converges to x = 1.
The root to three decimal places is 1.000.
1(b) Newton–Gregory interpolation (12 marks)
Question. The table gives x = 1, 2, 3, 4, 5, 6 and f(x) = 6, 23, 64, 141, 266, 451. Use Newton–Gregory interpolation to estimate f(1.5) and f(5.5).
Worked answer.
The forward differences are Δf = 17, 41, 77, 125, 185;
f(x) = 6 + 17p + 12p(p − 1) + 2p(p − 1)(p − 2) = 2x3 + 3x + 1.
Therefore f(1.5) = 12.25 and f(5.5) = 350.25.
Question 2: Matrices and dynamic systems
2(a) Eigenvalues and eigenvectors (10 marks)
Question. Determine the eigenvalues and corresponding eigenvectors of A = [[0, 1], [8, 2]].
Worked answer.
- For λ = 4, an eigenvector is (1,4)T.
- For λ = −2, an eigenvector is (1,−2)T.
2(b) State-transition matrix (10 marks)
Question. For dx/dt = Cx, where C = [[−2, 0], [0, −3]], determine Φ(t) and show that Φ(0) = I.
Worked answer.
Question 3: Complex variables
3(a) Exponential function (10 marks)
Question. Given f(z) = ez+1, express f(z) as u + jv and show that u and v are harmonic.
Worked answer.
3(b) Verify the Cauchy–Riemann equations (5 marks)
Question. Given f(z) = cosh x cos y + j sinh x sin y, show that its real and imaginary parts satisfy the Cauchy–Riemann equations.
Worked answer.
Both Cauchy–Riemann equations hold.
3(c) Image under a bilinear transformation (5 marks)
Question. Find the image of |z| = 2 under ω = (z + 3j)/(z − 2j).
Worked answer and source note. Rearranging gives z = j(2ω + 3)/(ω − 1). Thus |2ω + 3| = 2|ω − 1|. Writing ω = u + jv and expanding yields 20u + 5 = 0, or u = −1/4. Since the pole z = 2j lies on |z| = 2, the circle maps to the straight line Re(ω) = −1/4, not to a finite circle.
Question 4: Fourier series
4(a) Fourier series of a periodic piecewise function (10 marks)
Question. Over one period, f(t) = 1 − t for −1 < t < 0 and f(t) = t − 1 for 0 < t < 1, with f(t + 2) = f(t). Obtain its Fourier series.
Worked answer.
The period is 2, so L = 1.
f(t) = 1/2 − 4Σm=0∞{cos((2m + 1)πt)/[(2m + 1)2π2] + sin((2m + 1)πt)/[(2m + 1)π]}.
At jump points, the series converges to the midpoint of the one-sided limits.
4(b) Fourier series of a triangular wave (10 marks)
Question. For the periodic wave shown, determine h(x) and obtain its Fourier series.
Worked answer.
h(x) = π/2 + (4/π)Σm=0∞cos((2m + 1)x)/(2m + 1)2.
Question 5: Surface integrals and Green’s theorem
5(a) Flux through a plane (10 marks)
Question. Evaluate ∬SF·n dS for F = 2xi + yj + 3zk, where S is x + y + z = 1 in the first octant.
Worked answer.
5(b) Green’s theorem on a triangular boundary (10 marks)
Question. Evaluate ∮C[xy2dx + xy dy] using Green’s theorem, where C is the counter-clockwise boundary of A(0,0), B(2,0), C(2,2).
Worked answer.
Question 6: Multiple integrals
6(a) Double integral in polar coordinates (10 marks)
Question. Use polar coordinates to evaluate ∬Rx2/√(x2 + y2) dxdy, where R is 1 ≤ x2 + y2 ≤ 4, y ≥ 0.
Worked answer.
The integrand with the Jacobian becomes r2cos2θ.
6(b) Spherical-coordinate integral (5 marks)
Question. Use spherical coordinates to evaluate ∭V1/(x2 + y2 + z2)dV over the unit sphere x2 + y2 + z2 ≤ 1.
Worked answer.
In spherical coordinates the integrand times the Jacobian is sin φ.
The singularity at the origin is integrable.
6(c) Line integral along a curve (5 marks)
Question. Evaluate ∫C(x + 2y)dx where C follows y = x2 + 1 from (0,1) to (6,37).
Worked answer.
Question 7: Vector calculus
7(a) Triple integral in cylindrical coordinates (5 marks)
Question. Evaluate the given triple integral of x2 + y2 using cylindrical coordinates, over 0 ≤ z ≤ 1 and the quarter-cylinder x ≥ 0, y ≥ 0, x2 + y2 ≤ 4.
Worked answer.
7(b) Work along a straight line (5 marks)
Question. For F = (x2 − y2)i + 2xyj, find the work done moving an object along a straight line from (−2,−1) to (4,2).
Worked answer.
7(c) Scalar potential (10 marks)
Question. Show that the line integral of (x3 + y)dx + (x − y3)dy is independent of path and find a scalar potential.
Worked answer.
Question 8: Diagonalisation and divergence theorem
8(a) Modal matrix, spectral matrix and powers of A (10 marks)
Question. A has eigenvalues 4 and 1 with eigenvectors e1 = (1,3)T and e2 = (1,0)T. Determine the modal matrix M, spectral matrix S, A and A3.
Worked answer.
8(b) Divergence theorem on a half-cylinder (10 marks)
Question. Use the divergence theorem to evaluate the outward flux of A = 4xi − 2y2j + z2k over the closed surface bounded by x2 + y2 = 4, y ≥ 0, z = 0 and z = 3.
Worked answer.
Thus the flux is ∭V(4 − 4y + 2z)dV. The three terms contribute 24π, −64 and 18π, respectively, giving a total outward flux of 42π − 64.
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.