Electrical Engineering  ·  Level 6
Engineering Mathematics IV
Chapter 5: Apply numerical methods
📚 3 Topics

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.

5.1 Define numerical methods

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.

5.1.1 Application of iterative methods to solve equations

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.

Concept of iterative methods

  • Definition: Iterative methods produce a sequence of approximations that converge to the exact solution of an equation.
  • Starting Point: They require an initial guess, which influences the speed and success of convergence.
  • Convergence Criteria: The process continues until the difference between successive approximations is within a specified tolerance.
  • Applicability: Suitable for equations where explicit solutions are unavailable or difficult to compute.
  • Examples in Electrical Engineering: Finding operating points in nonlinear transistor circuits and solving load flow equations in power systems.

Common iterative methods

  • Bisection Method: Repeatedly halves the interval containing the root, guaranteeing convergence but potentially slow.
  • Newton-Raphson Method: Uses the function's derivative to achieve rapid convergence near the root.
  • Secant Method: Approximates the derivative by using two previous points, requiring less computation than Newton-Raphson.
  • Fixed Point Iteration: Transforms the equation into \(x = g(x)\) and iterates using the function \(g\).
  • Regula Falsi (False Position): Combines bisection and secant approaches to improve convergence speed.

Steps to apply the Newton-Raphson method

  1. Identify the nonlinear equation to solve, typically \(f(x) = 0\).
  2. Choose an initial guess \(x_0\) close to the expected root.
  3. Compute the function value \(f(x_0)\) and its derivative \(f'(x_0)\).
  4. Calculate the next approximation using the formula: \(x_1 = x_0 - \frac{f(x_0)}{f'(x_0)}\).
  5. Check for convergence by evaluating \(|x_1 - x_0|\) against a predetermined tolerance.
  6. Repeat steps 3 to 5 with updated values until the solution converges.

Practical considerations in iterative methods

  • Initial Guess Sensitivity: Poor initial guesses can lead to divergence or slow convergence.
  • Multiple Roots: Some methods may converge to unintended roots depending on the starting point.
  • Computational Cost: Derivative calculations in Newton-Raphson can be expensive for complex functions.
  • Stopping Criteria: Tolerance levels must balance accuracy and computational effort.
  • Software Implementation: MATLAB and Python are widely used in Kenya for iterative numerical computations.

Example: Solving a nonlinear diode equation using Newton-Raphson

Given the diode current equation \(I = I_s (e^{\frac{V}{nV_T}} - 1)\), find the voltage \(V\) for a given current \(I\).

  1. Formulate the equation: \(f(V) = I_s (e^{\frac{V}{nV_T}} - 1) - I = 0\).
  2. Initial guess: \(V_0 = 0.7\) V.
  3. Compute derivative: \(f'(V) = \frac{I_s}{nV_T} e^{\frac{V}{nV_T}}\).
  4. Apply Newton-Raphson formula to iterate until convergence.
Worked Example: Newton-Raphson for Diode Equation

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.

  1. Formulate the equation:
    \[ f(V) = I_s (e^{\frac{V}{nV_T}} - 1) - I = 0 \]

  2. Initial guess:
    Let \( V_0 = 0.7 \) V

  3. 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 \]

  4. 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} \]

  5. 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} \]

  6. 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.

The rest of this chapter
🔒

Create a free account to open more of this chapter.

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒5.2 Definition of interpolation and extrapolation

Interpolation and extrapolation are numerical techniques used to estimate unknown values based on known data points. Electrical engineers in Kenya utilize these methods to predict system behavior at unmeasured points, such as voltage levels, signal amplitudes,…

🔒5.3 Application of interpolation and extrapolation

In electrical engineering practice in Kenya, engineers frequently encounter data sets obtained from measurements or simulations that are discrete. To estimate values at points within or outside these data sets, interpolation and extrapolation become essential…

Chapter Summary

This 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.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

Written Assessment

  1. 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)

  2. 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)

🔒18 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with model answers

SECTION A (40 Marks) - Answer ALL Questions

  1. In an electrical circuit analysis, an iterative method is used to solve the nonlinear equation \( V = IR + 0.02I^2 \) for current \( I \) when \( V = 12 \) V and \( R = 5 \, \Omega \). Explain the purpose of using an iterative method in this context. (4 marks)
  2. A power system engineer needs to estimate the voltage at a point between two known nodes where voltages are measured as 230 V and 250 V at distances 100 m and 200 m respectively. Define interpolation and explain its relevance here. (4 marks)
🔒18 more in this section.
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

Create a free account
Test Yourself 18 questions Start quiz ▾
0%
0 / 2
🔒

16 more in this section.

Create a free account