Numerical methods are essential tools in electrical engineering, enabling professionals to find approximate solutions to complex mathematical problems that cannot be solved analytically. In the Kenyan electrical engineering sector, these methods facilitate design, analysis, and troubleshooting of electrical circuits, control systems, and signal processing where exact solutions are often impractical. This chapter introduces numerical methods, focusing on iterative techniques for solving equations and the concepts of interpolation and extrapolation. Mastery of these tools enhances engineers' ability to handle real-world problems involving nonlinear equations and data estimation from discrete points.
Numerical methods refer to algorithms used to obtain approximate numerical solutions for mathematical problems that are otherwise difficult or impossible to solve analytically. Electrical engineers in Kenya rely on these methods for simulations, optimization, and modeling of electrical systems under various conditions. These methods improve accuracy and efficiency in computations related to circuit analysis, power system stability, and control systems design.
Iterative methods are numerical techniques that generate successive approximations to the roots of equations. These methods are particularly useful in electrical engineering for solving nonlinear equations arising in diode circuits, power flow analysis, and control system tuning.
Given the diode current equation \(I = I_s (e^{\frac{V}{nV_T}} - 1)\), find the voltage \(V\) for a given current \(I\).
Suppose we have a silicon diode with the following parameters:
- Reverse saturation current, \( I_s = 1 \times 10^{-12} \) A
- Ideality factor, \( n = 1.5 \)
- Thermal voltage, \( V_T = 0.025 \) V
- Desired current, \( I = 2 \times 10^{-3} \) A
We want to find the voltage \( V \) across the diode.
Formulate the equation:
\[
f(V) = I_s (e^{\frac{V}{nV_T}} - 1) - I = 0
\]
Initial guess:
Let \( V_0 = 0.7 \) V
Compute function value:
\[
f(V_0) = 1 \times 10^{-12} (e^{\frac{0.7}{1.5 \times 0.025}} - 1) - 2 \times 10^{-3}
\]
\[
\frac{0.7}{1.5 \times 0.025} = \frac{0.7}{0.0375} = 18.67
\]
\[
e^{18.67} \approx 1.29 \times 10^8
\]
\[
f(0.7) = 1 \times 10^{-12} \times (1.29 \times 10^8 - 1) - 2 \times 10^{-3} = 1.29 \times 10^{-4} - 2 \times 10^{-3} = -0.00187
\]
Compute derivative:
\[
f'(V) = \frac{I_s}{nV_T} e^{\frac{V}{nV_T}}
\]
\[
f'(0.7) = \frac{1 \times 10^{-12}}{1.5 \times 0.025} \times 1.29 \times 10^8 = \frac{1 \times 10^{-12}}{0.0375} \times 1.29 \times 10^8
\]
\[
= 2.67 \times 10^{-11} \times 1.29 \times 10^8 = 3.44 \times 10^{-3}
\]
Apply Newton-Raphson formula:
\[
V_1 = V_0 - \frac{f(V_0)}{f'(V_0)} = 0.7 - \frac{-0.00187}{0.00344} = 0.7 + 0.543 = 1.243 \text{ V}
\]
Second iteration:
\[
f(1.243) = 1 \times 10^{-12} (e^{\frac{1.243}{0.0375}} - 1) - 2 \times 10^{-3}
\]
\[
\frac{1.243}{0.0375} = 33.15
\]
\[
e^{33.15} \approx 3.57 \times 10^{14}
\]
\[
f(1.243) = 1 \times 10^{-12} \times (3.57 \times 10^{14} - 1) - 2 \times 10^{-3} = 357 - 0.002 = 356.998
\]
\[
f'(1.243) = \frac{1 \times 10^{-12}}{0.0375} \times 3.57 \times 10^{14} = 2.67 \times 10^{-11} \times 3.57 \times 10^{14} = 9.54 \times 10^{3}
\]
\[
V_2 = 1.243 - \frac{356.998}{9540} = 1.243 - 0.0375 = 1.2055 \text{ V}
\]
Final Answer:
After two iterations, the voltage across the diode is approximately 1.21 V for the given current.
Create a free account to open more of this chapter.
Free: practical guides, quick cards, workplace scenarios and more.
Create a free accountThis chapter introduced the concept of numerical methods as essential tools for finding approximate solutions to mathematical problems that cannot be solved analytically. It explained how iterative methods are applied to solve equations by repeatedly refining estimates until the desired accuracy is achieved. The chapter then defined interpolation as the process of estimating unknown values within the range of known data points and extrapolation as the estimation of values outside this range. It discussed the practical application of interpolation for constructing new data points within existing datasets. Similarly, the use of extrapolation was presented for predicting values beyond the available data, which is often necessary in engineering analysis. Throughout the chapter, emphasis was placed on understanding these numerical techniques as fundamental methods for solving complex engineering problems where exact solutions are not feasible.
Solve the equation \(x^3 - 5x + 3 = 0\) using the fixed-point iteration method starting with \(x_0 = 1\). Find \(x_1\) and \(x_2\). (2 marks)
Use the Newton-Raphson method to find the root of the equation \(f(x) = x^2 - 4x + 3 = 0\) starting at \(x_0 = 3\). Calculate \(x_1\) and \(x_2\). (3 marks)