Professional Documents
Culture Documents
03
Differentiation of Discrete Functions-More Examples
Electrical Engineering
Example 1
To increase the reliability and life of a switch, one needs to turn the switch off as close to the
zero-crossing as possible. To find this time of zero-crossing, the value of E t E t is to be
found at all times given in Table 1, where E t is the voltage and t is the time. To keep
the problem simple, you are asked to find the approximate value of E t E t at t 10 .
Use the forward divided difference approximation of the first derivative to calculate
E t E t at t 10 . Use a step size of t 1 .
Solution
E t i 1 E t i
E t i
t
t i 10
t i 1 11
t t i 1 t i
11 10
1
02.03.1
02.03.2 Chapter 02.03
E 11 E 10
E 10
1
0.725932 (0.896758)
1
0.170826 V/s
E (10) 0.896758
E (10) 0.170826
5.2495 s
Example 2
To increase the reliability and life of a switch, one needs to turn the switch off as close to the
zero-crossing as possible. To find this time of zero-crossing, the value of E t E t is to be
found at all times given in Table 2, where E t is the voltage and t is the time. To keep
the problem simple, you are asked to find the approximate value of E t E t at t 10 .
Using a third order polynomial interpolant for Voltage, find the value of E t E t at
t 10 .
Solution
For a third order polynomial interpolation (also called cubic interpolation), we choose the
voltage given by
E t a0 a1t a 2 t 2 a3t 3
Since we want to find the voltage at t 10 , and we are using a third order polynomial, we
need to choose the four points closest to t 10 that also bracket t 10 to evaluate it.
The four points are t 0 8 , t1 9 , t 2 10 and t 3 11 .
t 0 8, E t 0 0.989992
t1 9, E t1 0.98748
Differentiation of Discrete Functions: Electrical Engineering Examples 02.03.3
t 2 10, E t 2 0.896758
t 3 11, E t 3 0.725932
such that
E 8 0.989992 a 0 a1 8 a 2 8 a3 8
2 3
E 9 0.98748 a0 a1 9 a 2 9 a3 9
2 3
d
E 10 E t t 10
dt
Given that E t 3.1382 1.0742t 0.080582t 2 0.0013510t 3 , 8 t 11 ,
d
E t E t
dt
d
dt
3.13812 1.0742t 0.080582t 2 0.0013510t 3
1.0742 0.16116t 0.004053t 2 , 8 t 11
E 10 1.0742 0.1611610 0.00405310
2
0.13210 V / s
E (10) 0.896758
E (10) 0.13210
6.7872 s
Example 3
To increase the reliability and life of a switch, one needs to turn the switch off as close to the
zero-crossing as possible. To find this time of zero-crossing, the value of E t E t is to be
found at all times given in Table 3, where E t is the voltage and t is the time. To keep
the problem simple, you are asked to find the approximate value of E t E t at t 10 .
Solution
For second order Lagrangian polynomial interpolation, we choose the voltage given by
t t1 t t 2 t t 0 t t 2 t t 0 t t1
E (t ) E (t 0 ) E (t1 ) E (t 2 )
t t
0 1 0 2 t t t t
1 0 1 2 t t t t
2 0 2 1 t t
Differentiation of Discrete Functions: Electrical Engineering Examples 02.03.5
Since we want to find the voltage at t 10 , and we are using a second order Lagrangian
polynomial, we need to choose the three points closest to t 10 that also bracket t 10 to
evaluate it. The three points are t 0 9 , t1 10 , and t 2 11 .
Differentiating the above equation gives
2t t1 t 2 2t t 0 t 2 2t t 0 t1
E t E t0 E t1 E t
t 0 t1 t 0 t 2 t1 t 0 t1 t 2 t 2 t 0 t 2 t1 2
Hence
210 10 11
E 10 0.98748 210 9 11 0.896758
9 10 9 11 10 910 11
210 9 10
0.725932
11 911 10
0.5 0.98748 0 0.896758 0.5 0.725932
0.13077 V / s
E (10) 0.896758
E (10) 0.13077
6.8573 s
DIFFERENTIATION
Topic Discrete Functions-More Examples
Summary Examples of Discrete Functions
Major Electrical Engineering
Authors Autar Kaw
Date January 7, 2021
Web Site http://numericalmethods.eng.usf.edu