KIX1001 2020/2021 Semester 1 — Paper 2
Academic session 2020/2021, Semester 1 · Open Book Exam #2 out of 2 · 2 questions
(Question 3 and Question 4), each printed in 10 sets · 21 printed pages.
Students answered only the set matching the last digit of their matrix number :
Last digit of matrix number Set Pages 1 Set #1 2–3 2 Set #2 4–5 3 Set #3 6–7 4 Set #4 8–9 5 Set #5 10–11 6 Set #6 12–13 7 Set #7 14–15 8 Set #8 16–17 9 Set #9 18–19 0 Set #10 20–21
All ten sets share the same structure — a low-pass LRC filter in Question 3 and a
Maclaurin/power-series problem in Question 4 — and differ only in the numbers
(the noise frequency in V i n p u t V_{input} V in p u t and the constant inside the logarithm).
Questions are reproduced in English from the bilingual original. Solutions are worked in
full.
Question 3's circuit figure is shared by all ten sets; Figure Q3(a) as printed for Set #1 is
reproduced below. (The question stem refers to "Figure Q3(b)", but only Figure Q3(a) is
printed anywhere in the 21 pages — a slip in the original paper.)
The part letters of Question 3 run continuously across the sets — Set #1 prints (a), (b);
Set #2 prints (c), (d); … Set #10 prints (s), (t) — and the solutions below reproduce the
letters exactly as printed. Question 4 is lettered (a) and (b) in every set.
No initial conditions are printed anywhere in this paper, so each Question 3 solution
assumes the circuit starts at rest, V o u t p u t ( 0 ) = V o u t p u t ′ ( 0 ) = 0 V_{output}(0) = V_{output}'(0) = 0 V o u tp u t ( 0 ) = V o u tp u t ′ ( 0 ) = 0 ; only the two
arbitrary constants change under other initial conditions.
Reference only — these are not official answers
These solutions are revision aids, not examiner answers . They were produced with the
help of a large language model and then checked, but an LLM can still be wrong :
expect the occasional arithmetic slip, a different method than your lecturer's, or a
misreading of the printed question. The question wording is reproduced by hand from a scan
of the original paper, so it too may differ in small ways from what was printed.
Use this page as a worked suggestion to check, not as ground truth. Always compare
against the original paper (linked above) and your own lecture notes, and if something here
disagrees with your lecturer, trust your lecturer. Marks shown are the paper's allocations,
not a marking scheme.
Set #1 (last matrix digit 1)
Question 3 (Set #1)
Question
Given the governing equation of the low pass filter with LRC circuit, where the inductance (L = 1 L = 1 L = 1 H), resistance (R = 100 Ω R = 100\ \Omega R = 100 Ω ), and capacitance (C = 0.0004 C = 0.0004 C = 0.0004 F) are shown in Figure Q3(b) of the original paper:
L C d 2 V o u t p u t d t 2 + R C d V o u t p u t d t + V o u t p u t = V i n p u t LC\frac{d^2V_{output}}{dt^2} + RC\frac{dV_{output}}{dt} + V_{output} = V_{input} L C d t 2 d 2 V o u tp u t + R C d t d V o u tp u t + V o u tp u t = V in p u t
The shared circuit diagram (Figure Q3(a) in the original paper — the stem's reference to "Figure Q3(b)" is a printing slip, as only Figure Q3(a) is printed) shows a series LRC low-pass filter driven by a source V i n p u t = 10 cos ( t ) + Noise V_{input} = 10\cos(t) + \text{Noise} V in p u t = 10 cos ( t ) + Noise , with R = 100 Ω R = 100\ \Omega R = 100 Ω , C = 400 μ C = 400\ \mu C = 400 μ F, L = 1 L = 1 L = 1 H and the output V o u t p u t V_{output} V o u tp u t taken across the capacitor; see Figure Q3(a) in the original paper.
You are designing the circuit to obtain output voltage, V o u t p u t V_{output} V o u tp u t by reducing/removing the high frequency noise only from the input voltage, V i n p u t V_{input} V in p u t . V i n p u t V_{input} V in p u t for time, t > 0 t > 0 t > 0 is given as:
V i n p u t = 10 cos ( t ) + 10 cos ( 311 t ) V_{input} = 10\cos(t) + 10\cos(311t) V in p u t = 10 cos ( t ) + 10 cos ( 311 t )
Note: Noise = 10 cos ( 311 t ) \text{Noise} = 10\cos(311t) Noise = 10 cos ( 311 t ) .
Question 3(a) (13 marks)
Question
Find the total output voltage, V o u t p u t V_{output} V o u tp u t for time, t > 0 t > 0 t > 0 . Use the trigonometric function (sine & cosine functions) to solve the non-homogeneous part.
Technique. A second-order linear ODE with constant coefficients is solved in two stages: the complementary function from the auxiliary (characteristic) equation, then a particular integral for each driving tone by the method of undetermined coefficients using a sine/cosine trial function.
Step 1 — Substitute the component values.
With L = 1 L = 1 L = 1 H, R = 100 Ω R = 100\ \Omega R = 100 Ω and C = 0.0004 C = 0.0004 C = 0.0004 F,
L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 , LC = (1)(0.0004) = 0.0004, \qquad RC = (100)(0.0004) = 0.04, L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 , so the governing equation is
0.0004 d 2 V o u t p u t d t 2 + 0.04 d V o u t p u t d t + V o u t p u t = V i n p u t ( t ) . 0.0004\,\frac{d^2V_{output}}{dt^2} + 0.04\,\frac{dV_{output}}{dt} + V_{output} = V_{input}(t). 0.0004 d t 2 d 2 V o u tp u t + 0.04 d t d V o u tp u t + V o u tp u t = V in p u t ( t ) . Step 2 — Complementary function (homogeneous part).
Try V o u t p u t = e r t V_{output} = e^{rt} V o u tp u t = e r t . Then
0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 , 0.0004r^2 + 0.04r + 1 = 0 \;\Longrightarrow\; r^2 + 100r + 2500 = 0 \;\Longrightarrow\; (r+50)^2 = 0, 0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 , so r = − 50 r = -50 r = − 50 is a repeated root. Hence
V c ( t ) = ( A + B t ) e − 50 t . V_{c}(t) = (A + Bt)e^{-50t}. V c ( t ) = ( A + B t ) e − 50 t . Step 3 — Particular integral for the wanted signal 10 cos t 10\cos t 10 cos t .
Try V p 1 = a cos t + b sin t V_{p1} = a\cos t + b\sin t V p 1 = a cos t + b sin t , so that V p 1 ′ = − a sin t + b cos t V_{p1}' = -a\sin t + b\cos t V p 1 ′ = − a sin t + b cos t and V p 1 ′ ′ = − a cos t − b sin t V_{p1}'' = -a\cos t - b\sin t V p 1 ′′ = − a cos t − b sin t . Substituting into the ODE and collecting the cos t \cos t cos t and sin t \sin t sin t terms:
( − 0.0004 a + 0.04 b + a ) cos t + ( − 0.0004 b − 0.04 a + b ) sin t = 10 cos t , (-0.0004a + 0.04b + a)\cos t + (-0.0004b - 0.04a + b)\sin t = 10\cos t, ( − 0.0004 a + 0.04 b + a ) cos t + ( − 0.0004 b − 0.04 a + b ) sin t = 10 cos t , cos t : 0.9996 a + 0.04 b = 10 , sin t : − 0.04 a + 0.9996 b = 0. \cos t:\; 0.9996a + 0.04b = 10, \qquad \sin t:\; -0.04a + 0.9996b = 0. cos t : 0.9996 a + 0.04 b = 10 , sin t : − 0.04 a + 0.9996 b = 0. From the second equation
b = 0.04 0.9996 a = 100 2499 a . b = \frac{0.04}{0.9996}\,a = \frac{100}{2499}\,a . b = 0.9996 0.04 a = 2499 100 a . Substituting into the first equation, and writing 0.9996 = 2499 2500 0.9996 = \frac{2499}{2500} 0.9996 = 2500 2499 and 0.04 = 1 25 0.04 = \frac{1}{25} 0.04 = 25 1 ,
a ( 2499 2500 + 4 2499 ) = 10 ⟹ a ⋅ 6255001 6247500 = 10 ⟹ a = 62475000 6255001 ≈ 9.9880 , a\left(\frac{2499}{2500} + \frac{4}{2499}\right) = 10 \;\Longrightarrow\; a\cdot\frac{6255001}{6247500} = 10 \;\Longrightarrow\; a = \frac{62475000}{6255001} \approx 9.9880, a ( 2500 2499 + 2499 4 ) = 10 ⟹ a ⋅ 6247500 6255001 = 10 ⟹ a = 6255001 62475000 ≈ 9.9880 , b = 100 2499 a = 2500000 6255001 ≈ 0.39968. b = \frac{100}{2499}\,a = \frac{2500000}{6255001} \approx 0.39968 . b = 2499 100 a = 6255001 2500000 ≈ 0.39968. Therefore
V p 1 = 9.9880 cos t + 0.39968 sin t . V_{p1} = 9.9880\cos t + 0.39968\sin t . V p 1 = 9.9880 cos t + 0.39968 sin t . Step 4 — Particular integral for the noise 10 cos ( 311 t ) 10\cos(311t) 10 cos ( 311 t ) .
Try V p 2 = c cos 311 t + d sin 311 t V_{p2} = c\cos 311t + d\sin 311t V p 2 = c cos 311 t + d sin 311 t . With ω = 311 \omega = 311 ω = 311 rad/s, ω 2 = 96721 \omega^2 = 96721 ω 2 = 96721 , so V p 2 ′ ′ = − 96721 V p 2 V_{p2}'' = -96721\,V_{p2} V p 2 ′′ = − 96721 V p 2 and V p 2 ′ = 311 ( − c sin 311 t + d cos 311 t ) V_{p2}' = 311(-c\sin 311t + d\cos 311t) V p 2 ′ = 311 ( − c sin 311 t + d cos 311 t ) . Substituting:
( 1 − 0.0004 ( 96721 ) ) c + 0.04 ( 311 ) d = 10 , − 0.04 ( 311 ) c + ( 1 − 0.0004 ( 96721 ) ) d = 0 , (1 - 0.0004(96721))c + 0.04(311)d = 10, \qquad -0.04(311)c + (1 - 0.0004(96721))d = 0, ( 1 − 0.0004 ( 96721 )) c + 0.04 ( 311 ) d = 10 , − 0.04 ( 311 ) c + ( 1 − 0.0004 ( 96721 )) d = 0 , − 37.6884 c + 12.44 d = 10 , − 37.6884 d − 12.44 c = 0. -37.6884\,c + 12.44\,d = 10, \qquad -37.6884\,d - 12.44\,c = 0 . − 37.6884 c + 12.44 d = 10 , − 37.6884 d − 12.44 c = 0. From the second equation d = − 12.44 37.6884 c = − 0.33008 c d = -\frac{12.44}{37.6884}\,c = -0.33008\,c d = − 37.6884 12.44 c = − 0.33008 c . Substituting into the first:
− 37.6884 c + 12.44 ( − 0.33008 c ) = 10 ⟹ − 41.7945 c = 10 ⟹ c = − 0.23927 , -37.6884c + 12.44(-0.33008c) = 10 \;\Longrightarrow\; -41.7945\,c = 10 \;\Longrightarrow\; c = -0.23927, − 37.6884 c + 12.44 ( − 0.33008 c ) = 10 ⟹ − 41.7945 c = 10 ⟹ c = − 0.23927 , d = − 0.33008 ( − 0.23927 ) = 0.078976. d = -0.33008(-0.23927) = 0.078976 . d = − 0.33008 ( − 0.23927 ) = 0.078976. So
V p 2 = − 0.23927 cos 311 t + 0.078976 sin 311 t V_{p2} = -0.23927\cos 311t + 0.078976\sin 311t V p 2 = − 0.23927 cos 311 t + 0.078976 sin 311 t (exactly, c = − 2355525000 9844806841 c = -\frac{2355525000}{9844806841} c = − 9844806841 2355525000 and d = 777500000 9844806841 d = \frac{777500000}{9844806841} d = 9844806841 777500000 ).
Step 5 — Total solution.
Add the complementary function and both particular integrals:
V o u t p u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.23927 cos 311 t + 0.078976 sin 311 t . V_{output}(t) = (A + Bt)e^{-50t} + 9.9880\cos t + 0.39968\sin t - 0.23927\cos 311t + 0.078976\sin 311t . V o u tp u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.23927 cos 311 t + 0.078976 sin 311 t .
Question 3 prints no initial conditions, so A A A and B B B are arbitrary constants and the expression above is the complete general solution for t > 0 t > 0 t > 0 . If the usual "circuit initially at rest" assumption V o u t p u t ( 0 ) = V o u t p u t ′ ( 0 ) = 0 V_{output}(0) = V_{output}'(0) = 0 V o u tp u t ( 0 ) = V o u tp u t ′ ( 0 ) = 0 is imposed, then A = − 9.7487 A = -9.7487 A = − 9.7487 and B = − 512.40 B = -512.40 B = − 512.40 , giving
V o u t p u t ( t ) = ( − 9.7487 − 512.40 t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.23927 cos 311 t + 0.078976 sin 311 t . V_{output}(t) = (-9.7487 - 512.40t)e^{-50t} + 9.9880\cos t + 0.39968\sin t - 0.23927\cos 311t + 0.078976\sin 311t . V o u tp u t ( t ) = ( − 9.7487 − 512.40 t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.23927 cos 311 t + 0.078976 sin 311 t .
Answer: V o u t p u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.23927 cos 311 t + 0.078976 sin 311 t V_{output}(t) = (A + Bt)e^{-50t} + 9.9880\cos t + 0.39968\sin t - 0.23927\cos 311t + 0.078976\sin 311t V o u tp u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.23927 cos 311 t + 0.078976 sin 311 t V for t > 0 t > 0 t > 0 (with A A A , B B B arbitrary; A = − 9.7487 A = -9.7487 A = − 9.7487 , B = − 512.40 B = -512.40 B = − 512.40 if the circuit starts from rest).
Question 3(b) (2 marks)
Question
Refer to the steady state result of V o u t p u t V_{output} V o u tp u t only, check if the noise is successfully reduced/removed (> 90 % > 90\% > 90% amplitude reduction) or not. Hint: amplitude = a 2 + b 2 = \sqrt{a^2 + b^2} = a 2 + b 2 for a cos ( ω t ) + b sin ( ω t ) a\cos(\omega t) + b\sin(\omega t) a cos ( ω t ) + b sin ( ω t ) function.
Technique. The steady state is the particular integral alone: the transient ( A + B t ) e − 50 t (A + Bt)e^{-50t} ( A + B t ) e − 50 t decays to zero because r = − 50 < 0 r = -50 < 0 r = − 50 < 0 . Each steady tone has the form a cos ω t + b sin ω t a\cos\omega t + b\sin\omega t a cos ω t + b sin ω t , whose amplitude is a 2 + b 2 \sqrt{a^2+b^2} a 2 + b 2 .
Wanted signal (ω = 1 \omega = 1 ω = 1 rad/s). With a = 9.9880 a = 9.9880 a = 9.9880 , b = 0.39968 b = 0.39968 b = 0.39968 :
A 1 = 9.9880 2 + 0.39968 2 = 99.760 + 0.1597 = 99.920 = 9.9960. A_{1} = \sqrt{9.9880^2 + 0.39968^2} = \sqrt{99.760 + 0.1597} = \sqrt{99.920} = 9.9960 . A 1 = 9.988 0 2 + 0.3996 8 2 = 99.760 + 0.1597 = 99.920 = 9.9960. Noise (ω = 311 \omega = 311 ω = 311 rad/s). With c = − 0.23927 c = -0.23927 c = − 0.23927 , d = 0.078976 d = 0.078976 d = 0.078976 :
A 311 = ( − 0.23927 ) 2 + ( 0.078976 ) 2 = 0.057248 + 0.006237 = 0.063485 = 0.251963. A_{311} = \sqrt{(-0.23927)^2 + (0.078976)^2} = \sqrt{0.057248 + 0.006237} = \sqrt{0.063485} = 0.251963 . A 311 = ( − 0.23927 ) 2 + ( 0.078976 ) 2 = 0.057248 + 0.006237 = 0.063485 = 0.251963. Amplitude reduction of the noise.
reduction = 10 − 0.251963 10 × 100 % = 97.48 % . \text{reduction} = \frac{10 - 0.251963}{10}\times 100\% = 97.48\% . reduction = 10 10 − 0.251963 × 100% = 97.48%. Since 97.48 % > 90 % 97.48\% > 90\% 97.48% > 90% , the high-frequency noise is successfully reduced — only about 2.5% of its amplitude survives. The wanted signal is passed almost untouched (9.9960 out of 10, a 0.04% loss), which is exactly what a low-pass filter should do.
Short cut: for a single tone of frequency ω \omega ω the steady amplitude is 10 ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 \frac{10}{\sqrt{(1-0.0004\omega^2)^2 + (0.04\omega)^2}} ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 10 , which gives 10 37.6884 2 + 12.44 2 = 10 39.6884 = 0.251963 \frac{10}{\sqrt{37.6884^2 + 12.44^2}} = \frac{10}{39.6884} = 0.251963 37.688 4 2 + 12.4 4 2 10 = 39.6884 10 = 0.251963 for ω = 311 \omega = 311 ω = 311 .
Answer: Noise amplitude = 0.2520 = 0.2520 = 0.2520 V (exactly 25000 99221 \frac{25000}{99221} 99221 25000 V) against 10 V at the input — a 97.48 % 97.48\% 97.48% reduction, so yes , the noise is successfully reduced (> 90 % > 90\% > 90% ).
Question 4 (Set #1)
Parts (a) and (b) are independent statements; part (b) uses the expansion obtained in part (a).
Question 4(a) (4 marks)
Question
Find the power series until the x 5 x^5 x 5 term for the following function
f ( x ) = ln ( 5 + x ) f(x) = \ln(5+x) f ( x ) = ln ( 5 + x )
using the Maclaurin's Series given below
f ( x ) = f ( 0 ) + x f ′ ( 0 ) + x 2 2 ! f ′ ′ ( 0 ) + x 3 3 ! f ′ ′ ′ ( 0 ) + ⋯ f(x) = f(0) + xf'(0) + \frac{x^2}{2!}f''(0) + \frac{x^3}{3!}f'''(0) + \cdots f ( x ) = f ( 0 ) + x f ′ ( 0 ) + 2 ! x 2 f ′′ ( 0 ) + 3 ! x 3 f ′′′ ( 0 ) + ⋯
Technique. Compute the successive derivatives of f f f , evaluate each at x = 0 x = 0 x = 0 , and divide the n n n -th derivative by n ! n! n ! to get the coefficient of x n x^n x n .
f ( x ) = ln ( 5 + x ) , f ′ ( x ) = 1 5 + x , f ′ ′ ( x ) = − 1 ( 5 + x ) 2 , f(x) = \ln(5+x), \qquad f'(x) = \frac{1}{5+x}, \qquad f''(x) = -\frac{1}{(5+x)^2}, f ( x ) = ln ( 5 + x ) , f ′ ( x ) = 5 + x 1 , f ′′ ( x ) = − ( 5 + x ) 2 1 , f ′ ′ ′ ( x ) = 2 ( 5 + x ) 3 , f ( 4 ) ( x ) = − 6 ( 5 + x ) 4 , f ( 5 ) ( x ) = 24 ( 5 + x ) 5 . f'''(x) = \frac{2}{(5+x)^3}, \qquad f^{(4)}(x) = -\frac{6}{(5+x)^4}, \qquad f^{(5)}(x) = \frac{24}{(5+x)^5}. f ′′′ ( x ) = ( 5 + x ) 3 2 , f ( 4 ) ( x ) = − ( 5 + x ) 4 6 , f ( 5 ) ( x ) = ( 5 + x ) 5 24 . At x = 0 x = 0 x = 0 :
n n n f ( n ) ( x ) f^{(n)}(x) f ( n ) ( x ) f ( n ) ( 0 ) f^{(n)}(0) f ( n ) ( 0 ) term x n n ! f ( n ) ( 0 ) \frac{x^n}{n!}f^{(n)}(0) n ! x n f ( n ) ( 0 ) 0 ln ( 5 + x ) \ln(5+x) ln ( 5 + x ) ln 5 \ln 5 ln 5 ln 5 \ln 5 ln 5 1 ( 5 + x ) − 1 (5+x)^{-1} ( 5 + x ) − 1 1 / 5 1/5 1/5 x / 5 x/5 x /5 2 − ( 5 + x ) − 2 -(5+x)^{-2} − ( 5 + x ) − 2 − 1 / 25 -1/25 − 1/25 − x 2 / 50 -x^2/50 − x 2 /50 3 2 ( 5 + x ) − 3 2(5+x)^{-3} 2 ( 5 + x ) − 3 2 / 125 2/125 2/125 x 3 / 375 x^3/375 x 3 /375 4 − 6 ( 5 + x ) − 4 -6(5+x)^{-4} − 6 ( 5 + x ) − 4 − 6 / 625 -6/625 − 6/625 − x 4 / 2500 -x^4/2500 − x 4 /2500 5 24 ( 5 + x ) − 5 24(5+x)^{-5} 24 ( 5 + x ) − 5 24 / 3125 24/3125 24/3125 x 5 / 15625 x^5/15625 x 5 /15625
Substituting into the Maclaurin series:
f ( x ) = ln 5 + x 5 − x 2 2 ⋅ 25 + 2 x 3 6 ⋅ 125 − 6 x 4 24 ⋅ 625 + 24 x 5 120 ⋅ 3125 + ⋯ f(x) = \ln 5 + \frac{x}{5} - \frac{x^2}{2\cdot 25} + \frac{2x^3}{6\cdot 125} - \frac{6x^4}{24\cdot 625} + \frac{24x^5}{120\cdot 3125} + \cdots f ( x ) = ln 5 + 5 x − 2 ⋅ 25 x 2 + 6 ⋅ 125 2 x 3 − 24 ⋅ 625 6 x 4 + 120 ⋅ 3125 24 x 5 + ⋯ f ( x ) = ln 5 + x 5 − x 2 50 + x 3 375 − x 4 2500 + x 5 15625 + ⋯ f(x) = \ln 5 + \frac{x}{5} - \frac{x^2}{50} + \frac{x^3}{375} - \frac{x^4}{2500} + \frac{x^5}{15625} + \cdots f ( x ) = ln 5 + 5 x − 50 x 2 + 375 x 3 − 2500 x 4 + 15625 x 5 + ⋯ Check (standard-series route). ln ( 5 + x ) = ln 5 + ln ( 1 + x 5 ) \ln(5+x) = \ln 5 + \ln\left(1 + \frac{x}{5}\right) ln ( 5 + x ) = ln 5 + ln ( 1 + 5 x ) and ln ( 1 + u ) = u − u 2 2 + u 3 3 − u 4 4 + u 5 5 − ⋯ \ln(1+u) = u - \frac{u^2}{2} + \frac{u^3}{3} - \frac{u^4}{4} + \frac{u^5}{5} - \cdots ln ( 1 + u ) = u − 2 u 2 + 3 u 3 − 4 u 4 + 5 u 5 − ⋯ with u = x 5 u = \frac{x}{5} u = 5 x gives exactly the same coefficients. The expansion is valid for ∣ x ∣ < 5 |x| < 5 ∣ x ∣ < 5 .
Answer: ln ( 5 + x ) = ln 5 + x 5 − x 2 50 + x 3 375 − x 4 2500 + x 5 15625 + ⋯ \ln(5+x) = \ln 5 + \frac{x}{5} - \frac{x^2}{50} + \frac{x^3}{375} - \frac{x^4}{2500} + \frac{x^5}{15625} + \cdots ln ( 5 + x ) = ln 5 + 5 x − 50 x 2 + 375 x 3 − 2500 x 4 + 15625 x 5 + ⋯
Question 4(b) (11 marks)
Question
Apply the power series method and part (a) to find the particular solution at x = 0 x = 0 x = 0 for the following differential equation:
y ′ ′ − 2 x y = ln ( 5 + x ) , y ( 0 ) = y ′ ( 0 ) = 8 y'' - 2xy = \ln(5+x), \qquad y(0) = y'(0) = 8 y ′′ − 2 x y = ln ( 5 + x ) , y ( 0 ) = y ′ ( 0 ) = 8
Technique. Assume a power-series solution y = ∑ n ≥ 0 a n x n y = \sum_{n\ge0} a_n x^n y = ∑ n ≥ 0 a n x n , substitute it into the ODE, and match coefficients of x k x^k x k . The initial conditions fix a 0 a_0 a 0 and a 1 a_1 a 1 , and the part (a) expansion supplies the coefficients of the right-hand side.
Step 1 — Series for each term.
y = ∑ n = 0 ∞ a n x n , y ′ ′ = ∑ n = 2 ∞ n ( n − 1 ) a n x n − 2 = ∑ k = 0 ∞ ( k + 2 ) ( k + 1 ) a k + 2 x k , y = \sum_{n=0}^{\infty} a_n x^n, \qquad y'' = \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2} = \sum_{k=0}^{\infty}(k+2)(k+1)a_{k+2}\,x^{k}, y = n = 0 ∑ ∞ a n x n , y ′′ = n = 2 ∑ ∞ n ( n − 1 ) a n x n − 2 = k = 0 ∑ ∞ ( k + 2 ) ( k + 1 ) a k + 2 x k , 2 x y = ∑ n = 0 ∞ 2 a n x n + 1 = ∑ k = 1 ∞ 2 a k − 1 x k . 2xy = \sum_{n=0}^{\infty} 2a_n x^{n+1} = \sum_{k=1}^{\infty} 2a_{k-1}\,x^{k}. 2 x y = n = 0 ∑ ∞ 2 a n x n + 1 = k = 1 ∑ ∞ 2 a k − 1 x k . From part (a),
ln ( 5 + x ) = ∑ k = 0 ∞ b k x k , b 0 = ln 5 , b 1 = 1 5 , b 2 = − 1 50 , b 3 = 1 375 , b 4 = − 1 2500 , b 5 = 1 15625 . \ln(5+x) = \sum_{k=0}^{\infty} b_k x^k, \qquad b_0 = \ln 5,\; b_1 = \frac{1}{5},\; b_2 = -\frac{1}{50},\; b_3 = \frac{1}{375},\; b_4 = -\frac{1}{2500},\; b_5 = \frac{1}{15625}. ln ( 5 + x ) = k = 0 ∑ ∞ b k x k , b 0 = ln 5 , b 1 = 5 1 , b 2 = − 50 1 , b 3 = 375 1 , b 4 = − 2500 1 , b 5 = 15625 1 . Step 2 — Initial conditions.
y ( 0 ) = a 0 = 8 , y ′ ( 0 ) = a 1 = 8. y(0) = a_0 = 8, \qquad y'(0) = a_1 = 8 . y ( 0 ) = a 0 = 8 , y ′ ( 0 ) = a 1 = 8. Step 3 — Recurrence.
Substituting into y ′ ′ − 2 x y = ln ( 5 + x ) y'' - 2xy = \ln(5+x) y ′′ − 2 x y = ln ( 5 + x ) and equating coefficients of x k x^k x k (with a − 1 ≡ 0 a_{-1} \equiv 0 a − 1 ≡ 0 ):
( k + 2 ) ( k + 1 ) a k + 2 − 2 a k − 1 = b k ( k = 0 , 1 , 2 , … ) . (k+2)(k+1)a_{k+2} - 2a_{k-1} = b_k \qquad (k = 0, 1, 2, \dots). ( k + 2 ) ( k + 1 ) a k + 2 − 2 a k − 1 = b k ( k = 0 , 1 , 2 , … ) . Step 4 — Generate the coefficients.
k k k equation coefficient found 0 2 a 2 = ln 5 2a_2 = \ln 5 2 a 2 = ln 5 a 2 = ln 5 2 ≈ 0.80472 a_2 = \frac{\ln 5}{2} \approx 0.80472 a 2 = 2 l n 5 ≈ 0.80472 1 6 a 3 = 1 5 + 2 ( 8 ) = 81 5 6a_3 = \frac{1}{5} + 2(8) = \frac{81}{5} 6 a 3 = 5 1 + 2 ( 8 ) = 5 81 a 3 = 27 10 = 2.7 a_3 = \frac{27}{10} = 2.7 a 3 = 10 27 = 2.7 2 12 a 4 = − 1 50 + 2 ( 8 ) = 799 50 12a_4 = -\frac{1}{50} + 2(8) = \frac{799}{50} 12 a 4 = − 50 1 + 2 ( 8 ) = 50 799 a 4 = 799 600 ≈ 1.3317 a_4 = \frac{799}{600} \approx 1.3317 a 4 = 600 799 ≈ 1.3317 3 20 a 5 = 1 375 + 2 ( ln 5 2 ) 20a_5 = \frac{1}{375} + 2\left(\frac{\ln 5}{2}\right) 20 a 5 = 375 1 + 2 ( 2 l n 5 ) a 5 = 1 7500 + ln 5 20 ≈ 0.080605 a_5 = \frac{1}{7500} + \frac{\ln 5}{20} \approx 0.080605 a 5 = 7500 1 + 20 l n 5 ≈ 0.080605 4 30 a 6 = − 1 2500 + 2 ( 27 10 ) = 13499 2500 30a_6 = -\frac{1}{2500} + 2\left(\frac{27}{10}\right) = \frac{13499}{2500} 30 a 6 = − 2500 1 + 2 ( 10 27 ) = 2500 13499 a 6 = 13499 75000 ≈ 0.17999 a_6 = \frac{13499}{75000} \approx 0.17999 a 6 = 75000 13499 ≈ 0.17999 5 42 a 7 = 1 15625 + 2 ( 799 600 ) = 499387 187500 42a_7 = \frac{1}{15625} + 2\left(\frac{799}{600}\right) = \frac{499387}{187500} 42 a 7 = 15625 1 + 2 ( 600 799 ) = 187500 499387 a 7 = 71341 1125000 ≈ 0.063414 a_7 = \frac{71341}{1125000} \approx 0.063414 a 7 = 1125000 71341 ≈ 0.063414
Step 5 — Particular solution.
y ( x ) = 8 + 8 x + ln 5 2 x 2 + 27 10 x 3 + 799 600 x 4 + ( 1 7500 + ln 5 20 ) x 5 + 13499 75000 x 6 + 71341 1125000 x 7 + ⋯ y(x) = 8 + 8x + \frac{\ln 5}{2}x^2 + \frac{27}{10}x^3 + \frac{799}{600}x^4 + \left(\frac{1}{7500} + \frac{\ln 5}{20}\right)x^5 + \frac{13499}{75000}x^6 + \frac{71341}{1125000}x^7 + \cdots y ( x ) = 8 + 8 x + 2 ln 5 x 2 + 10 27 x 3 + 600 799 x 4 + ( 7500 1 + 20 ln 5 ) x 5 + 75000 13499 x 6 + 1125000 71341 x 7 + ⋯ Numerically,
y ( x ) ≈ 8 + 8 x + 0.80472 x 2 + 2.7 x 3 + 1.3317 x 4 + 0.080605 x 5 + 0.17999 x 6 + 0.063414 x 7 + ⋯ y(x) \approx 8 + 8x + 0.80472x^2 + 2.7x^3 + 1.3317x^4 + 0.080605x^5 + 0.17999x^6 + 0.063414x^7 + \cdots y ( x ) ≈ 8 + 8 x + 0.80472 x 2 + 2.7 x 3 + 1.3317 x 4 + 0.080605 x 5 + 0.17999 x 6 + 0.063414 x 7 + ⋯ Check. Differentiating term by term and substituting back gives y ′ ′ − 2 x y − ln ( 5 + x ) = O ( x 6 ) y'' - 2xy - \ln(5+x) = O(x^6) y ′′ − 2 x y − ln ( 5 + x ) = O ( x 6 ) , and y ( 0 ) = 8 y(0) = 8 y ( 0 ) = 8 , y ′ ( 0 ) = 8 y'(0) = 8 y ′ ( 0 ) = 8 as required.
Answer: y ( x ) = 8 + 8 x + ln 5 2 x 2 + 27 10 x 3 + 799 600 x 4 + ( 1 7500 + ln 5 20 ) x 5 + 13499 75000 x 6 + 71341 1125000 x 7 + ⋯ y(x) = 8 + 8x + \frac{\ln 5}{2}x^2 + \frac{27}{10}x^3 + \frac{799}{600}x^4 + \left(\frac{1}{7500} + \frac{\ln 5}{20}\right)x^5 + \frac{13499}{75000}x^6 + \frac{71341}{1125000}x^7 + \cdots y ( x ) = 8 + 8 x + 2 l n 5 x 2 + 10 27 x 3 + 600 799 x 4 + ( 7500 1 + 20 l n 5 ) x 5 + 75000 13499 x 6 + 1125000 71341 x 7 + ⋯
Set #2 (last matrix digit 2)
Question 3 (Set #2)
Question
Given the governing equation of the low pass filter with LRC circuit, where the inductance (L = 1 L = 1 L = 1 H), resistance (R = 100 Ω R = 100\ \Omega R = 100 Ω ), and capacitance (C = 0.0004 C = 0.0004 C = 0.0004 F) are shown in Figure Q3(b) of the original paper:
L C d 2 V o u t p u t d t 2 + R C d V o u t p u t d t + V o u t p u t = V i n p u t LC\frac{d^2V_{output}}{dt^2} + RC\frac{dV_{output}}{dt} + V_{output} = V_{input} L C d t 2 d 2 V o u tp u t + R C d t d V o u tp u t + V o u tp u t = V in p u t
The shared circuit diagram (Figure Q3(a) in the original paper — the stem's reference to "Figure Q3(b)" is a printing slip, as only Figure Q3(a) is printed) shows the same series LRC low-pass filter as Set #1: a source V i n p u t = 10 cos ( t ) + Noise V_{input} = 10\cos(t) + \text{Noise} V in p u t = 10 cos ( t ) + Noise in series with R = 100 Ω R = 100\ \Omega R = 100 Ω and L = 1 L = 1 L = 1 H, with C = 400 μ C = 400\ \mu C = 400 μ F across the output V o u t p u t V_{output} V o u tp u t ; see Figure Q3(a) in the original paper.
You are designing the circuit to obtain output voltage, V o u t p u t V_{output} V o u tp u t by reducing/removing the high frequency noise only from the input voltage, V i n p u t V_{input} V in p u t . V i n p u t V_{input} V in p u t for time, t > 0 t > 0 t > 0 is given as:
V i n p u t = 10 cos ( t ) + 10 cos ( 322 t ) V_{input} = 10\cos(t) + 10\cos(322t) V in p u t = 10 cos ( t ) + 10 cos ( 322 t )
Note: Noise = 10 cos ( 322 t ) \text{Noise} = 10\cos(322t) Noise = 10 cos ( 322 t ) .
Question 3(c) (13 marks)
Question
Find the total output voltage, V o u t p u t V_{output} V o u tp u t for time, t > 0 t > 0 t > 0 . Use the trigonometric function (sine & cosine functions) to solve the non-homogeneous part.
Technique. Solve the constant-coefficient linear ODE by (i) the auxiliary (characteristic) equation for the complementary function, then (ii) the method of undetermined coefficients with a sine/cosine trial for each of the two driving tones. Only the noise frequency changes from Set #1.
Step 1 — Substitute the component values.
With L = 1 L = 1 L = 1 H, R = 100 Ω R = 100\ \Omega R = 100 Ω and C = 0.0004 C = 0.0004 C = 0.0004 F,
L C = 0.0004 , R C = 0.04 , LC = 0.0004, \qquad RC = 0.04, L C = 0.0004 , R C = 0.04 , so
0.0004 d 2 V o u t p u t d t 2 + 0.04 d V o u t p u t d t + V o u t p u t = V i n p u t ( t ) . 0.0004\,\frac{d^2V_{output}}{dt^2} + 0.04\,\frac{dV_{output}}{dt} + V_{output} = V_{input}(t). 0.0004 d t 2 d 2 V o u tp u t + 0.04 d t d V o u tp u t + V o u tp u t = V in p u t ( t ) . Step 2 — Complementary function (homogeneous part).
With V o u t p u t = e r t V_{output} = e^{rt} V o u tp u t = e r t :
0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 , 0.0004r^2 + 0.04r + 1 = 0 \;\Longrightarrow\; r^2 + 100r + 2500 = 0 \;\Longrightarrow\; (r+50)^2 = 0, 0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 , so r = − 50 r = -50 r = − 50 is a repeated root and
V c ( t ) = ( A + B t ) e − 50 t . V_{c}(t) = (A + Bt)e^{-50t}. V c ( t ) = ( A + B t ) e − 50 t . Step 3 — Particular integral for the wanted signal 10 cos t 10\cos t 10 cos t .
Try V p 1 = a cos t + b sin t V_{p1} = a\cos t + b\sin t V p 1 = a cos t + b sin t . Collecting cos t \cos t cos t and sin t \sin t sin t :
cos t : 0.9996 a + 0.04 b = 10 , sin t : − 0.04 a + 0.9996 b = 0 , \cos t:\; 0.9996a + 0.04b = 10, \qquad \sin t:\; -0.04a + 0.9996b = 0, cos t : 0.9996 a + 0.04 b = 10 , sin t : − 0.04 a + 0.9996 b = 0 , so b = 0.04 0.9996 a = 100 2499 a b = \frac{0.04}{0.9996}a = \frac{100}{2499}a b = 0.9996 0.04 a = 2499 100 a and
a ( 2499 2500 + 4 2499 ) = 10 ⟹ a = 62475000 6255001 ≈ 9.9880 , b = 2500000 6255001 ≈ 0.39968. a\left(\frac{2499}{2500} + \frac{4}{2499}\right) = 10 \;\Longrightarrow\; a = \frac{62475000}{6255001} \approx 9.9880, \qquad b = \frac{2500000}{6255001} \approx 0.39968 . a ( 2500 2499 + 2499 4 ) = 10 ⟹ a = 6255001 62475000 ≈ 9.9880 , b = 6255001 2500000 ≈ 0.39968. Therefore
V p 1 = 9.9880 cos t + 0.39968 sin t . V_{p1} = 9.9880\cos t + 0.39968\sin t . V p 1 = 9.9880 cos t + 0.39968 sin t . Step 4 — Particular integral for the noise 10 cos ( 322 t ) 10\cos(322t) 10 cos ( 322 t ) .
Try V p 2 = c cos 322 t + d sin 322 t V_{p2} = c\cos 322t + d\sin 322t V p 2 = c cos 322 t + d sin 322 t . Here ω = 322 \omega = 322 ω = 322 rad/s, ω 2 = 103684 \omega^2 = 103684 ω 2 = 103684 , so V p 2 ′ ′ = − 103684 V p 2 V_{p2}'' = -103684\,V_{p2} V p 2 ′′ = − 103684 V p 2 and V p 2 ′ = 322 ( − c sin 322 t + d cos 322 t ) V_{p2}' = 322(-c\sin 322t + d\cos 322t) V p 2 ′ = 322 ( − c sin 322 t + d cos 322 t ) . Substituting:
( 1 − 0.0004 ( 103684 ) ) c + 0.04 ( 322 ) d = 10 , − 0.04 ( 322 ) c + ( 1 − 0.0004 ( 103684 ) ) d = 0 , (1 - 0.0004(103684))c + 0.04(322)d = 10, \qquad -0.04(322)c + (1 - 0.0004(103684))d = 0, ( 1 − 0.0004 ( 103684 )) c + 0.04 ( 322 ) d = 10 , − 0.04 ( 322 ) c + ( 1 − 0.0004 ( 103684 )) d = 0 , − 40.4736 c + 12.88 d = 10 , − 40.4736 d − 12.88 c = 0. -40.4736\,c + 12.88\,d = 10, \qquad -40.4736\,d - 12.88\,c = 0 . − 40.4736 c + 12.88 d = 10 , − 40.4736 d − 12.88 c = 0. From the second equation d = − 12.88 40.4736 c = − 0.31823 c d = -\frac{12.88}{40.4736}\,c = -0.31823\,c d = − 40.4736 12.88 c = − 0.31823 c . Substituting into the first:
− 40.4736 c + 12.88 ( − 0.31823 c ) = 10 ⟹ − 44.5724 c = 10 ⟹ c = − 0.22435 , -40.4736c + 12.88(-0.31823c) = 10 \;\Longrightarrow\; -44.5724\,c = 10 \;\Longrightarrow\; c = -0.22435, − 40.4736 c + 12.88 ( − 0.31823 c ) = 10 ⟹ − 44.5724 c = 10 ⟹ c = − 0.22435 , d = − 0.31823 ( − 0.22435 ) = 0.071397. d = -0.31823(-0.22435) = 0.071397 . d = − 0.31823 ( − 0.22435 ) = 0.071397. So
V p 2 = − 0.22435 cos 322 t + 0.071397 sin 322 t V_{p2} = -0.22435\cos 322t + 0.071397\sin 322t V p 2 = − 0.22435 cos 322 t + 0.071397 sin 322 t (exactly, c = − 39525000 176172529 c = -\frac{39525000}{176172529} c = − 176172529 39525000 and d = 12578125 176172529 d = \frac{12578125}{176172529} d = 176172529 12578125 ).
Step 5 — Total solution.
V o u t p u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.22435 cos 322 t + 0.071397 sin 322 t . V_{output}(t) = (A + Bt)e^{-50t} + 9.9880\cos t + 0.39968\sin t - 0.22435\cos 322t + 0.071397\sin 322t . V o u tp u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.22435 cos 322 t + 0.071397 sin 322 t .
Question 3 prints no initial conditions, so A A A and B B B are arbitrary constants and the expression above is the complete general solution for t > 0 t > 0 t > 0 . If the "circuit initially at rest" assumption V o u t p u t ( 0 ) = V o u t p u t ′ ( 0 ) = 0 V_{output}(0) = V_{output}'(0) = 0 V o u tp u t ( 0 ) = V o u tp u t ′ ( 0 ) = 0 is imposed, then A = − 9.7637 A = -9.7637 A = − 9.7637 and B = − 511.57 B = -511.57 B = − 511.57 , giving
V o u t p u t ( t ) = ( − 9.7637 − 511.57 t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.22435 cos 322 t + 0.071397 sin 322 t . V_{output}(t) = (-9.7637 - 511.57t)e^{-50t} + 9.9880\cos t + 0.39968\sin t - 0.22435\cos 322t + 0.071397\sin 322t . V o u tp u t ( t ) = ( − 9.7637 − 511.57 t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.22435 cos 322 t + 0.071397 sin 322 t .
Answer: V o u t p u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.22435 cos 322 t + 0.071397 sin 322 t V_{output}(t) = (A + Bt)e^{-50t} + 9.9880\cos t + 0.39968\sin t - 0.22435\cos 322t + 0.071397\sin 322t V o u tp u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.22435 cos 322 t + 0.071397 sin 322 t V for t > 0 t > 0 t > 0 (with A A A , B B B arbitrary; A = − 9.7637 A = -9.7637 A = − 9.7637 , B = − 511.57 B = -511.57 B = − 511.57 if the circuit starts from rest).
Question 3(d) (2 marks)
Question
Refer to the steady state result of V o u t p u t V_{output} V o u tp u t only, check if the noise is successfully reduced/removed (> 90 % > 90\% > 90% amplitude reduction) or not. Hint: amplitude = a 2 + b 2 = \sqrt{a^2 + b^2} = a 2 + b 2 for a cos ( ω t ) + b sin ( ω t ) a\cos(\omega t) + b\sin(\omega t) a cos ( ω t ) + b sin ( ω t ) function.
Technique. The steady state is the particular integral alone (the ( A + B t ) e − 50 t (A+Bt)e^{-50t} ( A + B t ) e − 50 t transient dies out since r = − 50 < 0 r = -50 < 0 r = − 50 < 0 ). Each steady tone a cos ω t + b sin ω t a\cos\omega t + b\sin\omega t a cos ω t + b sin ω t has amplitude a 2 + b 2 \sqrt{a^2+b^2} a 2 + b 2 .
Wanted signal (ω = 1 \omega = 1 ω = 1 rad/s). With a = 9.9880 a = 9.9880 a = 9.9880 , b = 0.39968 b = 0.39968 b = 0.39968 :
A 1 = 9.9880 2 + 0.39968 2 = 99.760 + 0.1597 = 99.920 = 9.9960. A_{1} = \sqrt{9.9880^2 + 0.39968^2} = \sqrt{99.760 + 0.1597} = \sqrt{99.920} = 9.9960 . A 1 = 9.988 0 2 + 0.3996 8 2 = 99.760 + 0.1597 = 99.920 = 9.9960. Noise (ω = 322 \omega = 322 ω = 322 rad/s). With c = − 0.22435 c = -0.22435 c = − 0.22435 , d = 0.071397 d = 0.071397 d = 0.071397 :
A 322 = ( − 0.22435 ) 2 + ( 0.071397 ) 2 = 0.050335 + 0.005098 = 0.055432 = 0.235440. A_{322} = \sqrt{(-0.22435)^2 + (0.071397)^2} = \sqrt{0.050335 + 0.005098} = \sqrt{0.055432} = 0.235440 . A 322 = ( − 0.22435 ) 2 + ( 0.071397 ) 2 = 0.050335 + 0.005098 = 0.055432 = 0.235440. Amplitude reduction of the noise.
reduction = 10 − 0.235440 10 × 100 % = 97.65 % . \text{reduction} = \frac{10 - 0.235440}{10}\times 100\% = 97.65\% . reduction = 10 10 − 0.235440 × 100% = 97.65%. Since 97.65 % > 90 % 97.65\% > 90\% 97.65% > 90% , the high-frequency noise is successfully reduced. The wanted signal passes almost untouched (9.9960 out of 10, a 0.04% loss).
Short cut: the steady amplitude of a single tone is 10 ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 \frac{10}{\sqrt{(1-0.0004\omega^2)^2 + (0.04\omega)^2}} ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 10 ; for ω = 322 \omega = 322 ω = 322 this is 10 40.4736 2 + 12.88 2 = 10 42.4736 = 0.235440 \frac{10}{\sqrt{40.4736^2 + 12.88^2}} = \frac{10}{42.4736} = 0.235440 40.473 6 2 + 12.8 8 2 10 = 42.4736 10 = 0.235440 .
Answer: Noise amplitude = 0.2354 = 0.2354 = 0.2354 V (exactly 6250 26546 \frac{6250}{26546} 26546 6250 V) against 10 V at the input — a 97.65 % 97.65\% 97.65% reduction, so yes , the noise is successfully reduced (> 90 % > 90\% > 90% ).
Question 4 (Set #2)
Parts (a) and (b) are independent statements; part (b) uses the expansion obtained in part (a).
Question 4(a) (4 marks)
Question
Find the power series until the x 5 x^5 x 5 term for the following function
f ( x ) = ln ( 10 + x ) f(x) = \ln(10+x) f ( x ) = ln ( 10 + x )
using the Maclaurin's Series given below
f ( x ) = f ( 0 ) + x f ′ ( 0 ) + x 2 2 ! f ′ ′ ( 0 ) + x 3 3 ! f ′ ′ ′ ( 0 ) + ⋯ f(x) = f(0) + xf'(0) + \frac{x^2}{2!}f''(0) + \frac{x^3}{3!}f'''(0) + \cdots f ( x ) = f ( 0 ) + x f ′ ( 0 ) + 2 ! x 2 f ′′ ( 0 ) + 3 ! x 3 f ′′′ ( 0 ) + ⋯
Technique. Differentiate repeatedly, evaluate each derivative at x = 0 x = 0 x = 0 , then divide the n n n -th derivative by n ! n! n ! for the coefficient of x n x^n x n .
f ( x ) = ln ( 10 + x ) , f ′ ( x ) = 1 10 + x , f ′ ′ ( x ) = − 1 ( 10 + x ) 2 , f(x) = \ln(10+x), \qquad f'(x) = \frac{1}{10+x}, \qquad f''(x) = -\frac{1}{(10+x)^2}, f ( x ) = ln ( 10 + x ) , f ′ ( x ) = 10 + x 1 , f ′′ ( x ) = − ( 10 + x ) 2 1 , f ′ ′ ′ ( x ) = 2 ( 10 + x ) 3 , f ( 4 ) ( x ) = − 6 ( 10 + x ) 4 , f ( 5 ) ( x ) = 24 ( 10 + x ) 5 . f'''(x) = \frac{2}{(10+x)^3}, \qquad f^{(4)}(x) = -\frac{6}{(10+x)^4}, \qquad f^{(5)}(x) = \frac{24}{(10+x)^5}. f ′′′ ( x ) = ( 10 + x ) 3 2 , f ( 4 ) ( x ) = − ( 10 + x ) 4 6 , f ( 5 ) ( x ) = ( 10 + x ) 5 24 . At x = 0 x = 0 x = 0 :
n n n f ( n ) ( x ) f^{(n)}(x) f ( n ) ( x ) f ( n ) ( 0 ) f^{(n)}(0) f ( n ) ( 0 ) term x n n ! f ( n ) ( 0 ) \frac{x^n}{n!}f^{(n)}(0) n ! x n f ( n ) ( 0 ) 0 ln ( 10 + x ) \ln(10+x) ln ( 10 + x ) ln 10 \ln 10 ln 10 ln 10 \ln 10 ln 10 1 ( 10 + x ) − 1 (10+x)^{-1} ( 10 + x ) − 1 1 / 10 1/10 1/10 x / 10 x/10 x /10 2 − ( 10 + x ) − 2 -(10+x)^{-2} − ( 10 + x ) − 2 − 1 / 100 -1/100 − 1/100 − x 2 / 200 -x^2/200 − x 2 /200 3 2 ( 10 + x ) − 3 2(10+x)^{-3} 2 ( 10 + x ) − 3 2 / 1000 2/1000 2/1000 x 3 / 3000 x^3/3000 x 3 /3000 4 − 6 ( 10 + x ) − 4 -6(10+x)^{-4} − 6 ( 10 + x ) − 4 − 6 / 10000 -6/10000 − 6/10000 − x 4 / 40000 -x^4/40000 − x 4 /40000 5 24 ( 10 + x ) − 5 24(10+x)^{-5} 24 ( 10 + x ) − 5 24 / 100000 24/100000 24/100000 x 5 / 500000 x^5/500000 x 5 /500000
Substituting into the Maclaurin series:
f ( x ) = ln 10 + x 10 − x 2 2 ⋅ 100 + 2 x 3 6 ⋅ 1000 − 6 x 4 24 ⋅ 10000 + 24 x 5 120 ⋅ 100000 + ⋯ f(x) = \ln 10 + \frac{x}{10} - \frac{x^2}{2\cdot 100} + \frac{2x^3}{6\cdot 1000} - \frac{6x^4}{24\cdot 10000} + \frac{24x^5}{120\cdot 100000} + \cdots f ( x ) = ln 10 + 10 x − 2 ⋅ 100 x 2 + 6 ⋅ 1000 2 x 3 − 24 ⋅ 10000 6 x 4 + 120 ⋅ 100000 24 x 5 + ⋯ f ( x ) = ln 10 + x 10 − x 2 200 + x 3 3000 − x 4 40000 + x 5 500000 + ⋯ f(x) = \ln 10 + \frac{x}{10} - \frac{x^2}{200} + \frac{x^3}{3000} - \frac{x^4}{40000} + \frac{x^5}{500000} + \cdots f ( x ) = ln 10 + 10 x − 200 x 2 + 3000 x 3 − 40000 x 4 + 500000 x 5 + ⋯ Check (standard-series route). ln ( 10 + x ) = ln 10 + ln ( 1 + x 10 ) \ln(10+x) = \ln 10 + \ln\left(1 + \frac{x}{10}\right) ln ( 10 + x ) = ln 10 + ln ( 1 + 10 x ) with ln ( 1 + u ) = u − u 2 2 + u 3 3 − u 4 4 + u 5 5 − ⋯ \ln(1+u) = u - \frac{u^2}{2} + \frac{u^3}{3} - \frac{u^4}{4} + \frac{u^5}{5} - \cdots ln ( 1 + u ) = u − 2 u 2 + 3 u 3 − 4 u 4 + 5 u 5 − ⋯ and u = x 10 u = \frac{x}{10} u = 10 x gives the same coefficients. The expansion is valid for ∣ x ∣ < 10 |x| < 10 ∣ x ∣ < 10 .
Answer: ln ( 10 + x ) = ln 10 + x 10 − x 2 200 + x 3 3000 − x 4 40000 + x 5 500000 + ⋯ \ln(10+x) = \ln 10 + \frac{x}{10} - \frac{x^2}{200} + \frac{x^3}{3000} - \frac{x^4}{40000} + \frac{x^5}{500000} + \cdots ln ( 10 + x ) = ln 10 + 10 x − 200 x 2 + 3000 x 3 − 40000 x 4 + 500000 x 5 + ⋯
Question 4(b) (11 marks)
Question
Apply the power series method and part (a) to find the particular solution at x = 0 x = 0 x = 0 for the following differential equation
y ′ ′ − 2 x y = ln ( 10 + x ) , y ( 0 ) = y ′ ( 0 ) = 3 y'' - 2xy = \ln(10+x), \qquad y(0) = y'(0) = 3 y ′′ − 2 x y = ln ( 10 + x ) , y ( 0 ) = y ′ ( 0 ) = 3
Technique. Assume y = ∑ n ≥ 0 a n x n y = \sum_{n\ge0} a_n x^n y = ∑ n ≥ 0 a n x n , substitute into the ODE and match coefficients of x k x^k x k . The initial conditions give a 0 a_0 a 0 and a 1 a_1 a 1 ; the part (a) expansion gives the right-hand-side coefficients.
Step 1 — Series for each term.
y = ∑ n = 0 ∞ a n x n , y ′ ′ = ∑ n = 2 ∞ n ( n − 1 ) a n x n − 2 = ∑ k = 0 ∞ ( k + 2 ) ( k + 1 ) a k + 2 x k , y = \sum_{n=0}^{\infty} a_n x^n, \qquad y'' = \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2} = \sum_{k=0}^{\infty}(k+2)(k+1)a_{k+2}\,x^{k}, y = n = 0 ∑ ∞ a n x n , y ′′ = n = 2 ∑ ∞ n ( n − 1 ) a n x n − 2 = k = 0 ∑ ∞ ( k + 2 ) ( k + 1 ) a k + 2 x k , 2 x y = ∑ n = 0 ∞ 2 a n x n + 1 = ∑ k = 1 ∞ 2 a k − 1 x k . 2xy = \sum_{n=0}^{\infty} 2a_n x^{n+1} = \sum_{k=1}^{\infty} 2a_{k-1}\,x^{k}. 2 x y = n = 0 ∑ ∞ 2 a n x n + 1 = k = 1 ∑ ∞ 2 a k − 1 x k . From part (a),
ln ( 10 + x ) = ∑ k = 0 ∞ b k x k , b 0 = ln 10 , b 1 = 1 10 , b 2 = − 1 200 , b 3 = 1 3000 , b 4 = − 1 40000 , b 5 = 1 500000 . \ln(10+x) = \sum_{k=0}^{\infty} b_k x^k, \qquad b_0 = \ln 10,\; b_1 = \frac{1}{10},\; b_2 = -\frac{1}{200},\; b_3 = \frac{1}{3000},\; b_4 = -\frac{1}{40000},\; b_5 = \frac{1}{500000}. ln ( 10 + x ) = k = 0 ∑ ∞ b k x k , b 0 = ln 10 , b 1 = 10 1 , b 2 = − 200 1 , b 3 = 3000 1 , b 4 = − 40000 1 , b 5 = 500000 1 . Step 2 — Initial conditions.
y ( 0 ) = a 0 = 3 , y ′ ( 0 ) = a 1 = 3. y(0) = a_0 = 3, \qquad y'(0) = a_1 = 3 . y ( 0 ) = a 0 = 3 , y ′ ( 0 ) = a 1 = 3. Step 3 — Recurrence.
Substituting into y ′ ′ − 2 x y = ln ( 10 + x ) y'' - 2xy = \ln(10+x) y ′′ − 2 x y = ln ( 10 + x ) and equating coefficients of x k x^k x k (with a − 1 ≡ 0 a_{-1} \equiv 0 a − 1 ≡ 0 ):
( k + 2 ) ( k + 1 ) a k + 2 − 2 a k − 1 = b k ( k = 0 , 1 , 2 , … ) . (k+2)(k+1)a_{k+2} - 2a_{k-1} = b_k \qquad (k = 0, 1, 2, \dots). ( k + 2 ) ( k + 1 ) a k + 2 − 2 a k − 1 = b k ( k = 0 , 1 , 2 , … ) . Step 4 — Generate the coefficients.
k k k equation coefficient found 0 2 a 2 = ln 10 2a_2 = \ln 10 2 a 2 = ln 10 a 2 = ln 10 2 ≈ 1.15129 a_2 = \frac{\ln 10}{2} \approx 1.15129 a 2 = 2 l n 10 ≈ 1.15129 1 6 a 3 = 1 10 + 2 ( 3 ) = 61 10 6a_3 = \frac{1}{10} + 2(3) = \frac{61}{10} 6 a 3 = 10 1 + 2 ( 3 ) = 10 61 a 3 = 61 60 ≈ 1.01667 a_3 = \frac{61}{60} \approx 1.01667 a 3 = 60 61 ≈ 1.01667 2 12 a 4 = − 1 200 + 2 ( 3 ) = 1199 200 12a_4 = -\frac{1}{200} + 2(3) = \frac{1199}{200} 12 a 4 = − 200 1 + 2 ( 3 ) = 200 1199 a 4 = 1199 2400 ≈ 0.499583 a_4 = \frac{1199}{2400} \approx 0.499583 a 4 = 2400 1199 ≈ 0.499583 3 20 a 5 = 1 3000 + 2 ( ln 10 2 ) 20a_5 = \frac{1}{3000} + 2\left(\frac{\ln 10}{2}\right) 20 a 5 = 3000 1 + 2 ( 2 l n 10 ) a 5 = 1 60000 + ln 10 20 ≈ 0.115146 a_5 = \frac{1}{60000} + \frac{\ln 10}{20} \approx 0.115146 a 5 = 60000 1 + 20 l n 10 ≈ 0.115146 4 30 a 6 = − 1 40000 + 2 ( 61 60 ) = 243997 120000 30a_6 = -\frac{1}{40000} + 2\left(\frac{61}{60}\right) = \frac{243997}{120000} 30 a 6 = − 40000 1 + 2 ( 60 61 ) = 120000 243997 a 6 = 243997 3600000 ≈ 0.0677769 a_6 = \frac{243997}{3600000} \approx 0.0677769 a 6 = 3600000 243997 ≈ 0.0677769 5 42 a 7 = 1 500000 + 2 ( 1199 2400 ) = 1498753 1500000 42a_7 = \frac{1}{500000} + 2\left(\frac{1199}{2400}\right) = \frac{1498753}{1500000} 42 a 7 = 500000 1 + 2 ( 2400 1199 ) = 1500000 1498753 a 7 = 1498753 63000000 ≈ 0.0237897 a_7 = \frac{1498753}{63000000} \approx 0.0237897 a 7 = 63000000 1498753 ≈ 0.0237897
Step 5 — Particular solution.
y ( x ) = 3 + 3 x + ln 10 2 x 2 + 61 60 x 3 + 1199 2400 x 4 + ( 1 60000 + ln 10 20 ) x 5 + 243997 3600000 x 6 + 1498753 63000000 x 7 + ⋯ y(x) = 3 + 3x + \frac{\ln 10}{2}x^2 + \frac{61}{60}x^3 + \frac{1199}{2400}x^4 + \left(\frac{1}{60000} + \frac{\ln 10}{20}\right)x^5 + \frac{243997}{3600000}x^6 + \frac{1498753}{63000000}x^7 + \cdots y ( x ) = 3 + 3 x + 2 ln 10 x 2 + 60 61 x 3 + 2400 1199 x 4 + ( 60000 1 + 20 ln 10 ) x 5 + 3600000 243997 x 6 + 63000000 1498753 x 7 + ⋯ Numerically,
y ( x ) ≈ 3 + 3 x + 1.15129 x 2 + 1.01667 x 3 + 0.499583 x 4 + 0.115146 x 5 + 0.0677769 x 6 + 0.0237897 x 7 + ⋯ y(x) \approx 3 + 3x + 1.15129x^2 + 1.01667x^3 + 0.499583x^4 + 0.115146x^5 + 0.0677769x^6 + 0.0237897x^7 + \cdots y ( x ) ≈ 3 + 3 x + 1.15129 x 2 + 1.01667 x 3 + 0.499583 x 4 + 0.115146 x 5 + 0.0677769 x 6 + 0.0237897 x 7 + ⋯ Check. Differentiating term by term and substituting back gives y ′ ′ − 2 x y − ln ( 10 + x ) = O ( x 6 ) y'' - 2xy - \ln(10+x) = O(x^6) y ′′ − 2 x y − ln ( 10 + x ) = O ( x 6 ) , and y ( 0 ) = 3 y(0) = 3 y ( 0 ) = 3 , y ′ ( 0 ) = 3 y'(0) = 3 y ′ ( 0 ) = 3 as required.
Answer: y ( x ) = 3 + 3 x + ln 10 2 x 2 + 61 60 x 3 + 1199 2400 x 4 + ( 1 60000 + ln 10 20 ) x 5 + 243997 3600000 x 6 + 1498753 63000000 x 7 + ⋯ y(x) = 3 + 3x + \frac{\ln 10}{2}x^2 + \frac{61}{60}x^3 + \frac{1199}{2400}x^4 + \left(\frac{1}{60000} + \frac{\ln 10}{20}\right)x^5 + \frac{243997}{3600000}x^6 + \frac{1498753}{63000000}x^7 + \cdots y ( x ) = 3 + 3 x + 2 l n 10 x 2 + 60 61 x 3 + 2400 1199 x 4 + ( 60000 1 + 20 l n 10 ) x 5 + 3600000 243997 x 6 + 63000000 1498753 x 7 + ⋯
Set #3 (last matrix digit 3)
Question 3(e) (13 marks)
Question
Given the governing equation of the low-pass filter with an LRC circuit, where the inductance L = 1 H L = 1\ \text{H} L = 1 H , resistance R = 100 Ω R = 100\ \Omega R = 100 Ω and capacitance C = 0.0004 F C = 0.0004\ \text{F} C = 0.0004 F are shown in Figure Q3(b) — the circuit is the RLC low-pass filter of Figure Q3(a) in the original paper, with R = 100 Ω R = 100\ \Omega R = 100 Ω in series with the source, C = 400 μ F C = 400\ \mu\text{F} C = 400 μ F in parallel with the output and L = 1 H L = 1\ \text{H} L = 1 H in the return leg:
L C d 2 V o u t p u t d t 2 + R C d V o u t p u t d t + V o u t p u t = V i n p u t LC\frac{d^2V_{output}}{dt^2} + RC\frac{dV_{output}}{dt} + V_{output} = V_{input} L C d t 2 d 2 V o u tp u t + R C d t d V o u tp u t + V o u tp u t = V in p u t
You are designing the circuit to obtain output voltage, V o u t p u t V_{output} V o u tp u t by reducing/removing the high frequency noise only from the input voltage, V i n p u t V_{input} V in p u t . V i n p u t V_{input} V in p u t for time, t > 0 t > 0 t > 0 is given as:
V i n p u t = 10 cos ( t ) + 10 cos ( ( 333 ) ( t ) ) , Noise = 10 cos ( 333 t ) V_{input} = 10\cos(t) + 10\cos\big((333)(t)\big), \qquad \text{Noise} = 10\cos(333t) V in p u t = 10 cos ( t ) + 10 cos ( ( 333 ) ( t ) ) , Noise = 10 cos ( 333 t )
Find the total output voltage, V o u t p u t V_{output} V o u tp u t for time, t > 0 t > 0 t > 0 . Use the trigonometric function (sine and cosine functions) to solve the non-homogeneous part. (13 marks)
Step 1 — Substitute the component values.
L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 LC = (1)(0.0004) = 0.0004, \qquad RC = (100)(0.0004) = 0.04 L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 so the equation to solve is
0.0004 d 2 V o u t p u t d t 2 + 0.04 d V o u t p u t d t + V o u t p u t = 10 cos t + 10 cos 333 t 0.0004\frac{d^2V_{output}}{dt^2} + 0.04\frac{dV_{output}}{dt} + V_{output} = 10\cos t + 10\cos 333t 0.0004 d t 2 d 2 V o u tp u t + 0.04 d t d V o u tp u t + V o u tp u t = 10 cos t + 10 cos 333 t This is a linear, second-order, constant-coefficient ODE with a sinusoidal (non-homogeneous) right-hand side. Its general solution is V o u t p u t = V h + V p V_{output} = V_h + V_p V o u tp u t = V h + V p .
Step 2 — Complementary function V h V_h V h .
Try V = e r t V = e^{rt} V = e r t ; the auxiliary equation is
0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 0.0004r^2 + 0.04r + 1 = 0 \qquad \Longrightarrow \qquad r^2 + 100r + 2500 = 0 \qquad \Longrightarrow \qquad (r+50)^2 = 0 0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 So r = − 50 r = -50 r = − 50 is a repeated root and
V h = ( A + B t ) e − 50 t V_h = (A + Bt)e^{-50t} V h = ( A + B t ) e − 50 t Step 3 — Particular integral by undetermined coefficients.
Because the ODE is linear we may treat the two input frequencies separately. For an input term 10 cos ( ω t ) 10\cos(\omega t) 10 cos ( ω t ) try
V p = a cos ( ω t ) + b sin ( ω t ) V_p = a\cos(\omega t) + b\sin(\omega t) V p = a cos ( ω t ) + b sin ( ω t ) V p ′ = − a ω sin ( ω t ) + b ω cos ( ω t ) , V p ′ ′ = − a ω 2 cos ( ω t ) − b ω 2 sin ( ω t ) V_p' = -a\omega\sin(\omega t) + b\omega\cos(\omega t), \qquad V_p'' = -a\omega^2\cos(\omega t) - b\omega^2\sin(\omega t) V p ′ = − aω sin ( ω t ) + bω cos ( ω t ) , V p ′′ = − a ω 2 cos ( ω t ) − b ω 2 sin ( ω t ) Substituting into 0.0004 V p ′ ′ + 0.04 V p ′ + V p = 10 cos ω t 0.0004V_p'' + 0.04V_p' + V_p = 10\cos\omega t 0.0004 V p ′′ + 0.04 V p ′ + V p = 10 cos ω t and collecting cos \cos cos and sin \sin sin terms:
cos: a ( 1 − 0.0004 ω 2 ) + 0.04 ω b = 10 , sin: − 0.04 ω a + b ( 1 − 0.0004 ω 2 ) = 0 \text{cos: } \; a(1 - 0.0004\omega^2) + 0.04\omega\,b = 10, \qquad \text{sin: } \; -0.04\omega\,a + b(1 - 0.0004\omega^2) = 0 cos: a ( 1 − 0.0004 ω 2 ) + 0.04 ω b = 10 , sin: − 0.04 ω a + b ( 1 − 0.0004 ω 2 ) = 0 Write D = 1 − 0.0004 ω 2 D = 1 - 0.0004\omega^2 D = 1 − 0.0004 ω 2 and E = 0.04 ω E = 0.04\omega E = 0.04 ω . Then
a D + b E = 10 , − a E + b D = 0 ⇒ b = a E D aD + bE = 10, \qquad -aE + bD = 0 \;\Rightarrow\; b = \frac{aE}{D} a D + b E = 10 , − a E + b D = 0 ⇒ b = D a E a ( D + E 2 D ) = 10 ⟹ a = 10 D D 2 + E 2 , b = 10 E D 2 + E 2 a\left(D + \frac{E^2}{D}\right) = 10 \;\Longrightarrow\; a = \frac{10D}{D^2+E^2}, \qquad b = \frac{10E}{D^2+E^2} a ( D + D E 2 ) = 10 ⟹ a = D 2 + E 2 10 D , b = D 2 + E 2 10 E and since D 2 + E 2 = ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 = ( 1 + 0.0004 ω 2 ) 2 D^2 + E^2 = (1-0.0004\omega^2)^2 + (0.04\omega)^2 = (1 + 0.0004\omega^2)^2 D 2 + E 2 = ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 = ( 1 + 0.0004 ω 2 ) 2 , the amplitudes collapse neatly to
a = 10 D ( 1 + 0.0004 ω 2 ) 2 , b = 10 E ( 1 + 0.0004 ω 2 ) 2 a = \frac{10D}{(1 + 0.0004\omega^2)^2}, \qquad b = \frac{10E}{(1 + 0.0004\omega^2)^2} a = ( 1 + 0.0004 ω 2 ) 2 10 D , b = ( 1 + 0.0004 ω 2 ) 2 10 E Step 4 — The wanted signal, ω = 1 \omega = 1 ω = 1 .
D = 1 − 0.0004 ( 1 ) 2 = 0.9996 , E = 0.04 ( 1 ) = 0.04 , ( 1 + 0.0004 ) 2 = 1.00080016 D = 1 - 0.0004(1)^2 = 0.9996, \qquad E = 0.04(1) = 0.04, \qquad (1 + 0.0004)^2 = 1.00080016 D = 1 − 0.0004 ( 1 ) 2 = 0.9996 , E = 0.04 ( 1 ) = 0.04 , ( 1 + 0.0004 ) 2 = 1.00080016 a 1 = 9.996 1.00080016 = 9.98801 , b 1 = 0.4 1.00080016 = 0.399680 a_1 = \frac{9.996}{1.00080016} = 9.98801, \qquad b_1 = \frac{0.4}{1.00080016} = 0.399680 a 1 = 1.00080016 9.996 = 9.98801 , b 1 = 1.00080016 0.4 = 0.399680 V p , 1 = 9.9880 cos t + 0.3997 sin t V_{p,1} = 9.9880\cos t + 0.3997\sin t V p , 1 = 9.9880 cos t + 0.3997 sin t Step 5 — The noise, ω = 333 \omega = 333 ω = 333 .
ω 2 = 110889 , 0.0004 ω 2 = 44.3556 \omega^2 = 110889, \qquad 0.0004\omega^2 = 44.3556 ω 2 = 110889 , 0.0004 ω 2 = 44.3556 D = 1 − 44.3556 = − 43.3556 , E = 0.04 ( 333 ) = 13.32 D = 1 - 44.3556 = -43.3556, \qquad E = 0.04(333) = 13.32 D = 1 − 44.3556 = − 43.3556 , E = 0.04 ( 333 ) = 13.32 D 2 + E 2 = ( − 43.3556 ) 2 + ( 13.32 ) 2 = 1879.7081 + 177.4224 = 2057.1304 ( = 45.3556 2 ) D^2 + E^2 = (-43.3556)^2 + (13.32)^2 = 1879.7081 + 177.4224 = 2057.1304 \quad (= 45.3556^2) D 2 + E 2 = ( − 43.3556 ) 2 + ( 13.32 ) 2 = 1879.7081 + 177.4224 = 2057.1304 ( = 45.355 6 2 ) a 2 = 10 ( − 43.3556 ) 2057.1304 = − 0.210758 , b 2 = 10 ( 13.32 ) 2057.1304 = 0.0647504 a_2 = \frac{10(-43.3556)}{2057.1304} = -0.210758, \qquad b_2 = \frac{10(13.32)}{2057.1304} = 0.0647504 a 2 = 2057.1304 10 ( − 43.3556 ) = − 0.210758 , b 2 = 2057.1304 10 ( 13.32 ) = 0.0647504 V p , 2 = − 0.2108 cos 333 t + 0.06475 sin 333 t V_{p,2} = -0.2108\cos 333t + 0.06475\sin 333t V p , 2 = − 0.2108 cos 333 t + 0.06475 sin 333 t Step 6 — General solution.
V o u t p u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.3997 sin t − 0.2108 cos 333 t + 0.06475 sin 333 t V_{output}(t) = (A + Bt)e^{-50t} + 9.9880\cos t + 0.3997\sin t - 0.2108\cos 333t + 0.06475\sin 333t V o u tp u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.3997 sin t − 0.2108 cos 333 t + 0.06475 sin 333 t Step 7 — Apply the initial conditions.
The paper does not print initial conditions, so we take the standard physical starting state of a filter switched on at t = 0 t = 0 t = 0 from rest (capacitor uncharged, no initial current): V o u t p u t ( 0 ) = 0 V_{output}(0) = 0 V o u tp u t ( 0 ) = 0 and V o u t p u t ′ ( 0 ) = 0 V_{output}'(0) = 0 V o u tp u t ′ ( 0 ) = 0 (see the note below).
V o u t p u t ( 0 ) = A + 9.98801 − 0.210758 = 0 ⟹ A = − 9.77725 V_{output}(0) = A + 9.98801 - 0.210758 = 0 \;\Longrightarrow\; A = -9.77725 V o u tp u t ( 0 ) = A + 9.98801 − 0.210758 = 0 ⟹ A = − 9.77725 Differentiating the general solution,
V o u t p u t ′ ( t ) = [ B − 50 ( A + B t ) ] e − 50 t − 9.9880 sin t + 0.3997 cos t + 70.1824 sin 333 t + 21.5619 cos 333 t V_{output}'(t) = \big[B - 50(A+Bt)\big]e^{-50t} - 9.9880\sin t + 0.3997\cos t + 70.1824\sin 333t + 21.5619\cos 333t V o u tp u t ′ ( t ) = [ B − 50 ( A + B t ) ] e − 50 t − 9.9880 sin t + 0.3997 cos t + 70.1824 sin 333 t + 21.5619 cos 333 t At t = 0 t = 0 t = 0 :
V o u t p u t ′ ( 0 ) = B − 50 A + 0.3997 + 21.5619 = 0 V_{output}'(0) = B - 50A + 0.3997 + 21.5619 = 0 V o u tp u t ′ ( 0 ) = B − 50 A + 0.3997 + 21.5619 = 0 B = 50 ( − 9.77725 ) − 0.3997 − 21.5619 = − 488.863 − 21.9616 = − 510.82 B = 50(-9.77725) - 0.3997 - 21.5619 = -488.863 - 21.9616 = -510.82 B = 50 ( − 9.77725 ) − 0.3997 − 21.5619 = − 488.863 − 21.9616 = − 510.82 Step 8 — Total output voltage.
V o u t p u t ( t ) = ( − 9.7773 − 510.82 t ) e − 50 t + 9.988 cos t + 0.3997 sin t − 0.2108 cos 333 t + 0.06475 sin 333 t V , t > 0 V_{output}(t) = \left(-9.7773 - 510.82\,t\right)e^{-50t} + 9.988\cos t + 0.3997\sin t - 0.2108\cos 333t + 0.06475\sin 333t \ \ \text{V}, \qquad t > 0 V o u tp u t ( t ) = ( − 9.7773 − 510.82 t ) e − 50 t + 9.988 cos t + 0.3997 sin t − 0.2108 cos 333 t + 0.06475 sin 333 t V , t > 0 The exponential term decays with time constant 1 / 50 = 0.02 1/50 = 0.02 1/50 = 0.02 s, so within about 0.1 0.1 0.1 s the output is the steady-state (particular) part
V s s ( t ) = 9.988 cos t + 0.3997 sin t − 0.2108 cos 333 t + 0.06475 sin 333 t V V_{ss}(t) = 9.988\cos t + 0.3997\sin t - 0.2108\cos 333t + 0.06475\sin 333t \ \ \text{V} V ss ( t ) = 9.988 cos t + 0.3997 sin t − 0.2108 cos 333 t + 0.06475 sin 333 t V
The printed question gives the governing equation and V i n p u t V_{input} V in p u t but no values for V o u t p u t ( 0 ) V_{output}(0) V o u tp u t ( 0 ) and V o u t p u t ′ ( 0 ) V_{output}'(0) V o u tp u t ′ ( 0 ) . The standard reading for a filter that starts at t = 0 t = 0 t = 0 is the rest state V o u t p u t ( 0 ) = V o u t p u t ′ ( 0 ) = 0 V_{output}(0) = V_{output}'(0) = 0 V o u tp u t ( 0 ) = V o u tp u t ′ ( 0 ) = 0 (capacitor uncharged, zero initial current); that is what is used above. If different initial conditions were supplied, only A A A and B B B would change — the steady-state (particular) part is unaffected.
Answer: V o u t p u t ( t ) = ( − 9.777 − 510.8 t ) e − 50 t + 9.988 cos t + 0.3997 sin t − 0.2108 cos 333 t + 0.06475 sin 333 t V_{output}(t) = \left(-9.777 - 510.8\,t\right)e^{-50t} + 9.988\cos t + 0.3997\sin t - 0.2108\cos 333t + 0.06475\sin 333t V o u tp u t ( t ) = ( − 9.777 − 510.8 t ) e − 50 t + 9.988 cos t + 0.3997 sin t − 0.2108 cos 333 t + 0.06475 sin 333 t V for t > 0 t > 0 t > 0 .
Question 3(f) (2 marks)
Question
Refer to the steady state result of V o u t p u t V_{output} V o u tp u t only, check if the noise is successfully reduced/removed (> 90% amplitude reduction) or not. Hint: amplitude = a 2 + b 2 = \sqrt{a^2 + b^2} = a 2 + b 2 for a cos ( ω t ) + b sin ( ω t ) a\cos(\omega t) + b\sin(\omega t) a cos ( ω t ) + b sin ( ω t ) function. (2 marks)
From part (e), the steady-state output is
V s s ( t ) = 9.9880 cos t + 0.3997 sin t − 0.2108 cos 333 t + 0.06475 sin 333 t V_{ss}(t) = 9.9880\cos t + 0.3997\sin t - 0.2108\cos 333t + 0.06475\sin 333t V ss ( t ) = 9.9880 cos t + 0.3997 sin t − 0.2108 cos 333 t + 0.06475 sin 333 t Apply amplitude = a 2 + b 2 = \sqrt{a^2+b^2} = a 2 + b 2 to each component separately.
Wanted signal, ω = 1 \omega = 1 ω = 1 :
amplitude = ( 9.9880 ) 2 + ( 0.3997 ) 2 = 99.760 + 0.1598 = 99.920 = 9.9960 V \text{amplitude} = \sqrt{(9.9880)^2 + (0.3997)^2} = \sqrt{99.760 + 0.1598} = \sqrt{99.920} = 9.9960 \ \text{V} amplitude = ( 9.9880 ) 2 + ( 0.3997 ) 2 = 99.760 + 0.1598 = 99.920 = 9.9960 V The input signal amplitude is 10 10 10 V, so the wanted signal passes essentially unchanged (99.96 % 99.96\% 99.96% ).
Noise, ω = 333 \omega = 333 ω = 333 :
amplitude = ( − 0.210758 ) 2 + ( 0.0647504 ) 2 = 0.044419 + 0.004193 = 0.048612 = 0.22048 V \text{amplitude} = \sqrt{(-0.210758)^2 + (0.0647504)^2} = \sqrt{0.044419 + 0.004193} = \sqrt{0.048612} = 0.22048 \ \text{V} amplitude = ( − 0.210758 ) 2 + ( 0.0647504 ) 2 = 0.044419 + 0.004193 = 0.048612 = 0.22048 V The input noise amplitude is 10 10 10 V, so
reduction = 10 − 0.22048 10 × 100 % = 97.80 % \text{reduction} = \frac{10 - 0.22048}{10}\times 100\% = 97.80\% reduction = 10 10 − 0.22048 × 100% = 97.80% Equivalently, using the transfer-function magnitude ∣ H ( ω ) ∣ = 1 1 + 0.0004 ω 2 |H(\omega)| = \dfrac{1}{1 + 0.0004\omega^2} ∣ H ( ω ) ∣ = 1 + 0.0004 ω 2 1 : the noise amplitude is 10 / ( 1 + 0.0004 × 110889 ) = 10 / 45.3556 = 0.2205 10/(1 + 0.0004 \times 110889) = 10/45.3556 = 0.2205 10/ ( 1 + 0.0004 × 110889 ) = 10/45.3556 = 0.2205 V.
Since 97.80 % > 90 % 97.80\% > 90\% 97.80% > 90% , the high-frequency noise has been successfully reduced .
Answer: Yes — the noise amplitude falls from 10 10 10 V to 0.2205 0.2205 0.2205 V, a 97.8 % 97.8\% 97.8% reduction (> 90%), so the noise is successfully removed.
Question 4(a) (4 marks)
Question
Find the power series until the x 5 x^5 x 5 term for the following function
f ( x ) = ln ( 6 + x ) f(x) = \ln(6 + x) f ( x ) = ln ( 6 + x )
using the Maclaurin's Series given below
f ( x ) = f ( 0 ) + x f ′ ( 0 ) + x 2 2 ! f ′ ′ ( 0 ) + x 3 3 ! f ′ ′ ′ ( 0 ) + ⋯ f(x) = f(0) + xf'(0) + \frac{x^2}{2!}f''(0) + \frac{x^3}{3!}f'''(0) + \cdots f ( x ) = f ( 0 ) + x f ′ ( 0 ) + 2 ! x 2 f ′′ ( 0 ) + 3 ! x 3 f ′′′ ( 0 ) + ⋯
(4 marks)
Differentiate f ( x ) = ln ( 6 + x ) f(x) = \ln(6+x) f ( x ) = ln ( 6 + x ) repeatedly and evaluate each derivative at x = 0 x = 0 x = 0 .
n n n f ( n ) ( x ) f^{(n)}(x) f ( n ) ( x ) f ( n ) ( 0 ) f^{(n)}(0) f ( n ) ( 0 ) term x n n ! f ( n ) ( 0 ) \dfrac{x^n}{n!}f^{(n)}(0) n ! x n f ( n ) ( 0 ) 0 ln ( 6 + x ) \ln(6+x) ln ( 6 + x ) ln 6 = 1.791759 \ln 6 = 1.791759 ln 6 = 1.791759 ln 6 \ln 6 ln 6 1 1 6 + x \dfrac{1}{6+x} 6 + x 1 1 6 \dfrac{1}{6} 6 1 x 6 \dfrac{x}{6} 6 x 2 − 1 ( 6 + x ) 2 -\dfrac{1}{(6+x)^2} − ( 6 + x ) 2 1 − 1 36 -\dfrac{1}{36} − 36 1 − x 2 2 ! ⋅ 1 36 = − x 2 72 -\dfrac{x^2}{2!}\cdot\dfrac{1}{36} = -\dfrac{x^2}{72} − 2 ! x 2 ⋅ 36 1 = − 72 x 2 3 2 ( 6 + x ) 3 \dfrac{2}{(6+x)^3} ( 6 + x ) 3 2 2 216 = 1 108 \dfrac{2}{216} = \dfrac{1}{108} 216 2 = 108 1 x 3 3 ! ⋅ 1 108 = x 3 648 \dfrac{x^3}{3!}\cdot\dfrac{1}{108} = \dfrac{x^3}{648} 3 ! x 3 ⋅ 108 1 = 648 x 3 4 − 6 ( 6 + x ) 4 -\dfrac{6}{(6+x)^4} − ( 6 + x ) 4 6 − 6 1296 = − 1 216 -\dfrac{6}{1296} = -\dfrac{1}{216} − 1296 6 = − 216 1 − x 4 4 ! ⋅ 1 216 = − x 4 5184 -\dfrac{x^4}{4!}\cdot\dfrac{1}{216} = -\dfrac{x^4}{5184} − 4 ! x 4 ⋅ 216 1 = − 5184 x 4 5 24 ( 6 + x ) 5 \dfrac{24}{(6+x)^5} ( 6 + x ) 5 24 24 7776 = 1 324 \dfrac{24}{7776} = \dfrac{1}{324} 7776 24 = 324 1 x 5 5 ! ⋅ 1 324 = x 5 38880 \dfrac{x^5}{5!}\cdot\dfrac{1}{324} = \dfrac{x^5}{38880} 5 ! x 5 ⋅ 324 1 = 38880 x 5
Therefore
f ( x ) = ln 6 + x 6 − x 2 72 + x 3 648 − x 4 5184 + x 5 38880 + ⋯ f(x) = \ln 6 + \frac{x}{6} - \frac{x^2}{72} + \frac{x^3}{648} - \frac{x^4}{5184} + \frac{x^5}{38880} + \cdots f ( x ) = ln 6 + 6 x − 72 x 2 + 648 x 3 − 5184 x 4 + 38880 x 5 + ⋯ Numerically,
ln ( 6 + x ) ≈ 1.79176 + 0.166667 x − 0.0138889 x 2 + 0.00154321 x 3 − 0.000192901 x 4 + 0.0000257202 x 5 \ln(6+x) \approx 1.79176 + 0.166667x - 0.0138889x^2 + 0.00154321x^3 - 0.000192901x^4 + 0.0000257202x^5 ln ( 6 + x ) ≈ 1.79176 + 0.166667 x − 0.0138889 x 2 + 0.00154321 x 3 − 0.000192901 x 4 + 0.0000257202 x 5 Check. Using ln ( 6 + x ) = ln 6 + ln ( 1 + x 6 ) \ln(6+x) = \ln 6 + \ln\left(1 + \frac{x}{6}\right) ln ( 6 + x ) = ln 6 + ln ( 1 + 6 x ) and ln ( 1 + u ) = u − u 2 2 + u 3 3 − ⋯ \ln(1+u) = u - \frac{u^2}{2} + \frac{u^3}{3} - \cdots ln ( 1 + u ) = u − 2 u 2 + 3 u 3 − ⋯ with u = x / 6 u = x/6 u = x /6 gives ln 6 + x 6 − x 2 72 + x 3 648 − ⋯ \ln 6 + \frac{x}{6} - \frac{x^2}{72} + \frac{x^3}{648} - \cdots ln 6 + 6 x − 72 x 2 + 648 x 3 − ⋯ , which agrees term by term.
Answer: ln ( 6 + x ) = ln 6 + x 6 − x 2 72 + x 3 648 − x 4 5184 + x 5 38880 + ⋯ = 1.79176 + 0.166667 x − 0.0138889 x 2 + 0.00154321 x 3 − 0.000192901 x 4 + 0.0000257202 x 5 \ln(6+x) = \ln 6 + \dfrac{x}{6} - \dfrac{x^2}{72} + \dfrac{x^3}{648} - \dfrac{x^4}{5184} + \dfrac{x^5}{38880} + \cdots = 1.79176 + 0.166667x - 0.0138889x^2 + 0.00154321x^3 - 0.000192901x^4 + 0.0000257202x^5 ln ( 6 + x ) = ln 6 + 6 x − 72 x 2 + 648 x 3 − 5184 x 4 + 38880 x 5 + ⋯ = 1.79176 + 0.166667 x − 0.0138889 x 2 + 0.00154321 x 3 − 0.000192901 x 4 + 0.0000257202 x 5
Question 4(b) (11 marks)
Question
Apply the power series method and part (a) to find the particular solution at x = 0 x = 0 x = 0 for the following differential equation
y ′ ′ − 2 x y = ln ( 6 + x ) , y ( 0 ) = y ′ ( 0 ) = 4 y'' - 2xy = \ln(6+x), \qquad y(0) = y'(0) = 4 y ′′ − 2 x y = ln ( 6 + x ) , y ( 0 ) = y ′ ( 0 ) = 4
(11 marks)
Step 1 — Assume a power series solution about x = 0 x = 0 x = 0 .
y = ∑ n = 0 ∞ a n x n , y ′ = ∑ n = 1 ∞ n a n x n − 1 , y ′ ′ = ∑ n = 2 ∞ n ( n − 1 ) a n x n − 2 y = \sum_{n=0}^{\infty} a_n x^n, \qquad y' = \sum_{n=1}^{\infty} n a_n x^{n-1}, \qquad y'' = \sum_{n=2}^{\infty} n(n-1) a_n x^{n-2} y = n = 0 ∑ ∞ a n x n , y ′ = n = 1 ∑ ∞ n a n x n − 1 , y ′′ = n = 2 ∑ ∞ n ( n − 1 ) a n x n − 2 The initial conditions fix the first two coefficients:
y ( 0 ) = a 0 = 4 , y ′ ( 0 ) = a 1 = 4 y(0) = a_0 = 4, \qquad y'(0) = a_1 = 4 y ( 0 ) = a 0 = 4 , y ′ ( 0 ) = a 1 = 4 Step 2 — Substitute into the ODE, using the result of part (a).
∑ n = 2 ∞ n ( n − 1 ) a n x n − 2 − 2 x ∑ n = 0 ∞ a n x n = ln 6 + x 6 − x 2 72 + x 3 648 − x 4 5184 + x 5 38880 + ⋯ \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2} - 2x\sum_{n=0}^{\infty} a_n x^n = \ln 6 + \frac{x}{6} - \frac{x^2}{72} + \frac{x^3}{648} - \frac{x^4}{5184} + \frac{x^5}{38880} + \cdots n = 2 ∑ ∞ n ( n − 1 ) a n x n − 2 − 2 x n = 0 ∑ ∞ a n x n = ln 6 + 6 x − 72 x 2 + 648 x 3 − 5184 x 4 + 38880 x 5 + ⋯ Note that 2 x ∑ a n x n = ∑ n = 0 ∞ 2 a n x n + 1 2x\sum a_n x^n = \sum_{n=0}^{\infty} 2a_n x^{n+1} 2 x ∑ a n x n = ∑ n = 0 ∞ 2 a n x n + 1 .
Step 3 — Compare coefficients of x k x^k x k .
Collecting the coefficient of x k x^k x k (k = 0 , 1 , 2 , … k = 0, 1, 2, \dots k = 0 , 1 , 2 , … ) on both sides, with c k c_k c k the coefficient of x k x^k x k in ln ( 6 + x ) \ln(6+x) ln ( 6 + x ) :
term coefficient of x k x^k x k y ′ ′ y'' y ′′ ( k + 2 ) ( k + 1 ) a k + 2 (k+2)(k+1)a_{k+2} ( k + 2 ) ( k + 1 ) a k + 2 − 2 x y -2xy − 2 x y − 2 a k − 1 -2a_{k-1} − 2 a k − 1 (zero for k = 0 k = 0 k = 0 )ln ( 6 + x ) \ln(6+x) ln ( 6 + x ) c k c_k c k
This gives the recurrence
( k + 2 ) ( k + 1 ) a k + 2 = 2 a k − 1 + c k , k = 0 , 1 , 2 , … , a − 1 = 0 (k+2)(k+1)a_{k+2} = 2a_{k-1} + c_k, \qquad k = 0,1,2,\dots, \qquad a_{-1} = 0 ( k + 2 ) ( k + 1 ) a k + 2 = 2 a k − 1 + c k , k = 0 , 1 , 2 , … , a − 1 = 0 where c 0 = ln 6 = 1.791759 c_0 = \ln 6 = 1.791759 c 0 = ln 6 = 1.791759 , c 1 = 1 6 c_1 = \dfrac{1}{6} c 1 = 6 1 , c 2 = − 1 72 c_2 = -\dfrac{1}{72} c 2 = − 72 1 , c 3 = 1 648 c_3 = \dfrac{1}{648} c 3 = 648 1 , c 4 = − 1 5184 c_4 = -\dfrac{1}{5184} c 4 = − 5184 1 , c 5 = 1 38880 c_5 = \dfrac{1}{38880} c 5 = 38880 1 .
Step 4 — Generate the coefficients.
k k k recurrence result 0 2 ⋅ 1 a 2 = 2 a − 1 + ln 6 2\cdot 1\,a_2 = 2a_{-1} + \ln 6 2 ⋅ 1 a 2 = 2 a − 1 + ln 6 a 2 = ln 6 2 = 0.895880 a_2 = \dfrac{\ln 6}{2} = 0.895880 a 2 = 2 ln 6 = 0.895880 1 3 ⋅ 2 a 3 = 2 a 0 + 1 6 = 8 + 1 6 = 49 6 3\cdot 2\,a_3 = 2a_0 + \dfrac{1}{6} = 8 + \dfrac{1}{6} = \dfrac{49}{6} 3 ⋅ 2 a 3 = 2 a 0 + 6 1 = 8 + 6 1 = 6 49 a 3 = 49 36 = 1.36111 a_3 = \dfrac{49}{36} = 1.36111 a 3 = 36 49 = 1.36111 2 4 ⋅ 3 a 4 = 2 a 1 − 1 72 = 8 − 1 72 = 575 72 4\cdot 3\,a_4 = 2a_1 - \dfrac{1}{72} = 8 - \dfrac{1}{72} = \dfrac{575}{72} 4 ⋅ 3 a 4 = 2 a 1 − 72 1 = 8 − 72 1 = 72 575 a 4 = 575 864 = 0.665509 a_4 = \dfrac{575}{864} = 0.665509 a 4 = 864 575 = 0.665509 3 5 ⋅ 4 a 5 = 2 a 2 + 1 648 = ln 6 + 1 648 5\cdot 4\,a_5 = 2a_2 + \dfrac{1}{648} = \ln 6 + \dfrac{1}{648} 5 ⋅ 4 a 5 = 2 a 2 + 648 1 = ln 6 + 648 1 a 5 = ln 6 20 + 1 12960 = 0.0896651 a_5 = \dfrac{\ln 6}{20} + \dfrac{1}{12960} = 0.0896651 a 5 = 20 ln 6 + 12960 1 = 0.0896651 4 6 ⋅ 5 a 6 = 2 a 3 − 1 5184 = 14111 5184 6\cdot 5\,a_6 = 2a_3 - \dfrac{1}{5184} = \dfrac{14111}{5184} 6 ⋅ 5 a 6 = 2 a 3 − 5184 1 = 5184 14111 a 6 = 14111 155520 = 0.0907343 a_6 = \dfrac{14111}{155520} = 0.0907343 a 6 = 155520 14111 = 0.0907343 5 7 ⋅ 6 a 7 = 2 a 4 + 1 38880 = 51751 38880 7\cdot 6\,a_7 = 2a_4 + \dfrac{1}{38880} = \dfrac{51751}{38880} 7 ⋅ 6 a 7 = 2 a 4 + 38880 1 = 38880 51751 a 7 = 7393 233280 = 0.0316915 a_7 = \dfrac{7393}{233280} = 0.0316915 a 7 = 233280 7393 = 0.0316915
For example, for k = 1 k = 1 k = 1 : a 3 = 1 6 ( 8 + 1 6 ) = 49 36 a_3 = \dfrac{1}{6}\left(8 + \dfrac{1}{6}\right) = \dfrac{49}{36} a 3 = 6 1 ( 8 + 6 1 ) = 36 49 ; for k = 2 k = 2 k = 2 : a 4 = 1 12 ( 8 − 1 72 ) = 575 864 a_4 = \dfrac{1}{12}\left(8 - \dfrac{1}{72}\right) = \dfrac{575}{864} a 4 = 12 1 ( 8 − 72 1 ) = 864 575 .
Step 5 — Particular solution.
y ( x ) = 4 + 4 x + 0.895880 x 2 + 1.36111 x 3 + 0.665509 x 4 + 0.0896651 x 5 + 0.0907343 x 6 + 0.0316915 x 7 + ⋯ y(x) = 4 + 4x + 0.895880x^2 + 1.36111x^3 + 0.665509x^4 + 0.0896651x^5 + 0.0907343x^6 + 0.0316915x^7 + \cdots y ( x ) = 4 + 4 x + 0.895880 x 2 + 1.36111 x 3 + 0.665509 x 4 + 0.0896651 x 5 + 0.0907343 x 6 + 0.0316915 x 7 + ⋯ or exactly,
y ( x ) = 4 + 4 x + ln 6 2 x 2 + 49 36 x 3 + 575 864 x 4 + ( ln 6 20 + 1 12960 ) x 5 + 14111 155520 x 6 + 7393 233280 x 7 + ⋯ y(x) = 4 + 4x + \frac{\ln 6}{2}x^2 + \frac{49}{36}x^3 + \frac{575}{864}x^4 + \left(\frac{\ln 6}{20} + \frac{1}{12960}\right)x^5 + \frac{14111}{155520}x^6 + \frac{7393}{233280}x^7 + \cdots y ( x ) = 4 + 4 x + 2 ln 6 x 2 + 36 49 x 3 + 864 575 x 4 + ( 20 ln 6 + 12960 1 ) x 5 + 155520 14111 x 6 + 233280 7393 x 7 + ⋯ Check. y ( 0 ) = 4 y(0) = 4 y ( 0 ) = 4 and y ′ ( 0 ) = 4 y'(0) = 4 y ′ ( 0 ) = 4 as required. Also y ′ ′ ( 0 ) = 2 a 2 = ln 6 = ln ( 6 + 0 ) y''(0) = 2a_2 = \ln 6 = \ln(6+0) y ′′ ( 0 ) = 2 a 2 = ln 6 = ln ( 6 + 0 ) , which is exactly the ODE at x = 0 x = 0 x = 0 since the 2 x y 2xy 2 x y term vanishes there.
How far the series can be taken
Part (a) supplies ln ( 6 + x ) \ln(6+x) ln ( 6 + x ) only as far as the x 5 x^5 x 5 term, and the 2 x y 2xy 2 x y term shifts the index by one; the printed data therefore determine the coefficients a 2 a_2 a 2 through a 7 a_7 a 7 (terms up to x 7 x^7 x 7 ). Further terms follow from the same recurrence using more terms of the logarithm series, c k = ( − 1 ) k + 1 k 6 k c_k = \dfrac{(-1)^{k+1}}{k\,6^k} c k = k 6 k ( − 1 ) k + 1 for k ≥ 1 k \ge 1 k ≥ 1 .
Answer: y ( x ) = 4 + 4 x + 0.8959 x 2 + 1.3611 x 3 + 0.6655 x 4 + 0.08967 x 5 + 0.09073 x 6 + 0.03169 x 7 + ⋯ y(x) = 4 + 4x + 0.8959x^2 + 1.3611x^3 + 0.6655x^4 + 0.08967x^5 + 0.09073x^6 + 0.03169x^7 + \cdots y ( x ) = 4 + 4 x + 0.8959 x 2 + 1.3611 x 3 + 0.6655 x 4 + 0.08967 x 5 + 0.09073 x 6 + 0.03169 x 7 + ⋯
Set #4 (last matrix digit 4)
Question 3(g) (13 marks)
Question
Given the governing equation of the low-pass filter with an LRC circuit, where the inductance L = 1 H L = 1\ \text{H} L = 1 H , resistance R = 100 Ω R = 100\ \Omega R = 100 Ω and capacitance C = 0.0004 F C = 0.0004\ \text{F} C = 0.0004 F are shown in Figure Q3(b) — the circuit is the RLC low-pass filter of Figure Q3(a) in the original paper, with R = 100 Ω R = 100\ \Omega R = 100 Ω in series with the source, C = 400 μ F C = 400\ \mu\text{F} C = 400 μ F in parallel with the output and L = 1 H L = 1\ \text{H} L = 1 H in the return leg:
L C d 2 V o u t p u t d t 2 + R C d V o u t p u t d t + V o u t p u t = V i n p u t LC\frac{d^2V_{output}}{dt^2} + RC\frac{dV_{output}}{dt} + V_{output} = V_{input} L C d t 2 d 2 V o u tp u t + R C d t d V o u tp u t + V o u tp u t = V in p u t
You are designing the circuit to obtain output voltage, V o u t p u t V_{output} V o u tp u t by reducing/removing the high frequency noise only from the input voltage, V i n p u t V_{input} V in p u t . V i n p u t V_{input} V in p u t for time, t > 0 t > 0 t > 0 is given as:
V i n p u t = 10 cos ( t ) + 10 cos ( ( 344 ) ( t ) ) , Noise = 10 cos ( 344 t ) V_{input} = 10\cos(t) + 10\cos\big((344)(t)\big), \qquad \text{Noise} = 10\cos(344t) V in p u t = 10 cos ( t ) + 10 cos ( ( 344 ) ( t ) ) , Noise = 10 cos ( 344 t )
Find the total output voltage, V o u t p u t V_{output} V o u tp u t for time, t > 0 t > 0 t > 0 . Use the trigonometric function (sine and cosine functions) to solve the non-homogeneous part. (13 marks)
Step 1 — Substitute the component values. The components are the same as in Set #3, so
L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 LC = (1)(0.0004) = 0.0004, \qquad RC = (100)(0.0004) = 0.04 L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 0.0004 d 2 V o u t p u t d t 2 + 0.04 d V o u t p u t d t + V o u t p u t = 10 cos t + 10 cos 344 t 0.0004\frac{d^2V_{output}}{dt^2} + 0.04\frac{dV_{output}}{dt} + V_{output} = 10\cos t + 10\cos 344t 0.0004 d t 2 d 2 V o u tp u t + 0.04 d t d V o u tp u t + V o u tp u t = 10 cos t + 10 cos 344 t Step 2 — Complementary function.
0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 0.0004r^2 + 0.04r + 1 = 0 \;\Longrightarrow\; r^2 + 100r + 2500 = 0 \;\Longrightarrow\; (r+50)^2 = 0 0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 so r = − 50 r = -50 r = − 50 is a repeated root and
V h = ( A + B t ) e − 50 t V_h = (A + Bt)e^{-50t} V h = ( A + B t ) e − 50 t Step 3 — Particular integral. For 10 cos ( ω t ) 10\cos(\omega t) 10 cos ( ω t ) take V p = a cos ( ω t ) + b sin ( ω t ) V_p = a\cos(\omega t) + b\sin(\omega t) V p = a cos ( ω t ) + b sin ( ω t ) . Substituting and comparing cos \cos cos and sin \sin sin terms, with D = 1 − 0.0004 ω 2 D = 1 - 0.0004\omega^2 D = 1 − 0.0004 ω 2 and E = 0.04 ω E = 0.04\omega E = 0.04 ω :
a D + b E = 10 , − a E + b D = 0 ⟹ a = 10 D D 2 + E 2 , b = 10 E D 2 + E 2 aD + bE = 10, \qquad -aE + bD = 0 \;\Longrightarrow\; a = \frac{10D}{D^2+E^2}, \qquad b = \frac{10E}{D^2+E^2} a D + b E = 10 , − a E + b D = 0 ⟹ a = D 2 + E 2 10 D , b = D 2 + E 2 10 E and D 2 + E 2 = ( 1 + 0.0004 ω 2 ) 2 D^2 + E^2 = (1 + 0.0004\omega^2)^2 D 2 + E 2 = ( 1 + 0.0004 ω 2 ) 2 .
Step 4 — Wanted signal, ω = 1 \omega = 1 ω = 1 .
D = 0.9996 , E = 0.04 , D 2 + E 2 = 1.00080016 D = 0.9996, \qquad E = 0.04, \qquad D^2+E^2 = 1.00080016 D = 0.9996 , E = 0.04 , D 2 + E 2 = 1.00080016 a 1 = 9.996 1.00080016 = 9.98801 , b 1 = 0.4 1.00080016 = 0.399680 a_1 = \frac{9.996}{1.00080016} = 9.98801, \qquad b_1 = \frac{0.4}{1.00080016} = 0.399680 a 1 = 1.00080016 9.996 = 9.98801 , b 1 = 1.00080016 0.4 = 0.399680 V p , 1 = 9.9880 cos t + 0.3997 sin t V_{p,1} = 9.9880\cos t + 0.3997\sin t V p , 1 = 9.9880 cos t + 0.3997 sin t Step 5 — Noise, ω = 344 \omega = 344 ω = 344 .
ω 2 = 118336 , 0.0004 ω 2 = 47.3344 \omega^2 = 118336, \qquad 0.0004\omega^2 = 47.3344 ω 2 = 118336 , 0.0004 ω 2 = 47.3344 D = 1 − 47.3344 = − 46.3344 , E = 0.04 ( 344 ) = 13.76 D = 1 - 47.3344 = -46.3344, \qquad E = 0.04(344) = 13.76 D = 1 − 47.3344 = − 46.3344 , E = 0.04 ( 344 ) = 13.76 D 2 + E 2 = ( − 46.3344 ) 2 + ( 13.76 ) 2 = 2146.8766 + 189.3376 = 2336.2142 ( = 48.3344 2 ) D^2 + E^2 = (-46.3344)^2 + (13.76)^2 = 2146.8766 + 189.3376 = 2336.2142 \quad (= 48.3344^2) D 2 + E 2 = ( − 46.3344 ) 2 + ( 13.76 ) 2 = 2146.8766 + 189.3376 = 2336.2142 ( = 48.334 4 2 ) a 2 = 10 ( − 46.3344 ) 2336.2142 = − 0.198331 , b 2 = 10 ( 13.76 ) 2336.2142 = 0.0588987 a_2 = \frac{10(-46.3344)}{2336.2142} = -0.198331, \qquad b_2 = \frac{10(13.76)}{2336.2142} = 0.0588987 a 2 = 2336.2142 10 ( − 46.3344 ) = − 0.198331 , b 2 = 2336.2142 10 ( 13.76 ) = 0.0588987 V p , 2 = − 0.1983 cos 344 t + 0.05890 sin 344 t V_{p,2} = -0.1983\cos 344t + 0.05890\sin 344t V p , 2 = − 0.1983 cos 344 t + 0.05890 sin 344 t Step 6 — General solution.
V o u t p u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.3997 sin t − 0.1983 cos 344 t + 0.05890 sin 344 t V_{output}(t) = (A + Bt)e^{-50t} + 9.9880\cos t + 0.3997\sin t - 0.1983\cos 344t + 0.05890\sin 344t V o u tp u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.3997 sin t − 0.1983 cos 344 t + 0.05890 sin 344 t Step 7 — Initial conditions. As in Set #3 the paper prints no initial conditions, so we use the rest state V o u t p u t ( 0 ) = V o u t p u t ′ ( 0 ) = 0 V_{output}(0) = V_{output}'(0) = 0 V o u tp u t ( 0 ) = V o u tp u t ′ ( 0 ) = 0 .
V o u t p u t ( 0 ) = A + 9.98801 − 0.198331 = 0 ⟹ A = − 9.78968 V_{output}(0) = A + 9.98801 - 0.198331 = 0 \;\Longrightarrow\; A = -9.78968 V o u tp u t ( 0 ) = A + 9.98801 − 0.198331 = 0 ⟹ A = − 9.78968 V o u t p u t ′ ( t ) = [ B − 50 ( A + B t ) ] e − 50 t − 9.9880 sin t + 0.3997 cos t + 68.2259 sin 344 t + 20.2612 cos 344 t V_{output}'(t) = \big[B - 50(A+Bt)\big]e^{-50t} - 9.9880\sin t + 0.3997\cos t + 68.2259\sin 344t + 20.2612\cos 344t V o u tp u t ′ ( t ) = [ B − 50 ( A + B t ) ] e − 50 t − 9.9880 sin t + 0.3997 cos t + 68.2259 sin 344 t + 20.2612 cos 344 t V o u t p u t ′ ( 0 ) = B − 50 A + 0.3997 + 20.2612 = 0 V_{output}'(0) = B - 50A + 0.3997 + 20.2612 = 0 V o u tp u t ′ ( 0 ) = B − 50 A + 0.3997 + 20.2612 = 0 B = 50 ( − 9.78968 ) − 20.6609 = − 489.484 − 20.661 = − 510.14 B = 50(-9.78968) - 20.6609 = -489.484 - 20.661 = -510.14 B = 50 ( − 9.78968 ) − 20.6609 = − 489.484 − 20.661 = − 510.14 Step 8 — Total output voltage.
V o u t p u t ( t ) = ( − 9.7897 − 510.14 t ) e − 50 t + 9.988 cos t + 0.3997 sin t − 0.1983 cos 344 t + 0.05890 sin 344 t V , t > 0 V_{output}(t) = \left(-9.7897 - 510.14\,t\right)e^{-50t} + 9.988\cos t + 0.3997\sin t - 0.1983\cos 344t + 0.05890\sin 344t \ \ \text{V}, \qquad t > 0 V o u tp u t ( t ) = ( − 9.7897 − 510.14 t ) e − 50 t + 9.988 cos t + 0.3997 sin t − 0.1983 cos 344 t + 0.05890 sin 344 t V , t > 0 The transient dies away with time constant 0.02 0.02 0.02 s, leaving the steady state
V s s ( t ) = 9.988 cos t + 0.3997 sin t − 0.1983 cos 344 t + 0.05890 sin 344 t V V_{ss}(t) = 9.988\cos t + 0.3997\sin t - 0.1983\cos 344t + 0.05890\sin 344t \ \ \text{V} V ss ( t ) = 9.988 cos t + 0.3997 sin t − 0.1983 cos 344 t + 0.05890 sin 344 t V
The printed question gives the governing equation and V i n p u t V_{input} V in p u t but no values for V o u t p u t ( 0 ) V_{output}(0) V o u tp u t ( 0 ) and V o u t p u t ′ ( 0 ) V_{output}'(0) V o u tp u t ′ ( 0 ) . The standard reading for a filter that starts at t = 0 t = 0 t = 0 is the rest state V o u t p u t ( 0 ) = V o u t p u t ′ ( 0 ) = 0 V_{output}(0) = V_{output}'(0) = 0 V o u tp u t ( 0 ) = V o u tp u t ′ ( 0 ) = 0 (capacitor uncharged, zero initial current); that is what is used above. Different initial conditions would change only A A A and B B B , not the steady-state part.
Answer: V o u t p u t ( t ) = ( − 9.790 − 510.1 t ) e − 50 t + 9.988 cos t + 0.3997 sin t − 0.1983 cos 344 t + 0.05890 sin 344 t V_{output}(t) = \left(-9.790 - 510.1\,t\right)e^{-50t} + 9.988\cos t + 0.3997\sin t - 0.1983\cos 344t + 0.05890\sin 344t V o u tp u t ( t ) = ( − 9.790 − 510.1 t ) e − 50 t + 9.988 cos t + 0.3997 sin t − 0.1983 cos 344 t + 0.05890 sin 344 t V for t > 0 t > 0 t > 0 .
Question 3(h) (2 marks)
Question
Refer to the steady state result of V o u t p u t V_{output} V o u tp u t only, check if the noise is successfully reduced/removed (> 90% amplitude reduction) or not. Hint: amplitude = a 2 + b 2 = \sqrt{a^2 + b^2} = a 2 + b 2 for a cos ( ω t ) + b sin ( ω t ) a\cos(\omega t) + b\sin(\omega t) a cos ( ω t ) + b sin ( ω t ) function. (2 marks)
From part (g), the steady-state output is
V s s ( t ) = 9.9880 cos t + 0.3997 sin t − 0.1983 cos 344 t + 0.05890 sin 344 t V_{ss}(t) = 9.9880\cos t + 0.3997\sin t - 0.1983\cos 344t + 0.05890\sin 344t V ss ( t ) = 9.9880 cos t + 0.3997 sin t − 0.1983 cos 344 t + 0.05890 sin 344 t Wanted signal, ω = 1 \omega = 1 ω = 1 :
amplitude = ( 9.9880 ) 2 + ( 0.3997 ) 2 = 99.920 = 9.9960 V \text{amplitude} = \sqrt{(9.9880)^2 + (0.3997)^2} = \sqrt{99.920} = 9.9960 \ \text{V} amplitude = ( 9.9880 ) 2 + ( 0.3997 ) 2 = 99.920 = 9.9960 V so the wanted signal passes almost unchanged (input amplitude 10 10 10 V).
Noise, ω = 344 \omega = 344 ω = 344 :
amplitude = ( − 0.198331 ) 2 + ( 0.0588987 ) 2 = 0.039335 + 0.003469 = 0.042804 = 0.20689 V \text{amplitude} = \sqrt{(-0.198331)^2 + (0.0588987)^2} = \sqrt{0.039335 + 0.003469} = \sqrt{0.042804} = 0.20689 \ \text{V} amplitude = ( − 0.198331 ) 2 + ( 0.0588987 ) 2 = 0.039335 + 0.003469 = 0.042804 = 0.20689 V The input noise amplitude is 10 10 10 V, so
reduction = 10 − 0.20689 10 × 100 % = 97.93 % \text{reduction} = \frac{10 - 0.20689}{10}\times 100\% = 97.93\% reduction = 10 10 − 0.20689 × 100% = 97.93% Equivalently, ∣ H ( ω ) ∣ = 1 1 + 0.0004 ω 2 |H(\omega)| = \dfrac{1}{1 + 0.0004\omega^2} ∣ H ( ω ) ∣ = 1 + 0.0004 ω 2 1 , so the noise amplitude is 10 / ( 1 + 0.0004 × 118336 ) = 10 / 48.3344 = 0.2069 10/(1 + 0.0004\times 118336) = 10/48.3344 = 0.2069 10/ ( 1 + 0.0004 × 118336 ) = 10/48.3344 = 0.2069 V.
Since 97.93 % > 90 % 97.93\% > 90\% 97.93% > 90% , the high-frequency noise has been successfully reduced .
Answer: Yes — the noise amplitude falls from 10 10 10 V to 0.2069 0.2069 0.2069 V, a 97.9 % 97.9\% 97.9% reduction (> 90%), so the noise is successfully removed.
Question 4(a) (4 marks)
Question
Find the power series until the x 5 x^5 x 5 term for the following function
f ( x ) = ln ( 9 + x ) f(x) = \ln(9 + x) f ( x ) = ln ( 9 + x )
using the Maclaurin's Series given below
f ( x ) = f ( 0 ) + x f ′ ( 0 ) + x 2 2 ! f ′ ′ ( 0 ) + x 3 3 ! f ′ ′ ′ ( 0 ) + ⋯ f(x) = f(0) + xf'(0) + \frac{x^2}{2!}f''(0) + \frac{x^3}{3!}f'''(0) + \cdots f ( x ) = f ( 0 ) + x f ′ ( 0 ) + 2 ! x 2 f ′′ ( 0 ) + 3 ! x 3 f ′′′ ( 0 ) + ⋯
(4 marks)
Differentiate f ( x ) = ln ( 9 + x ) f(x) = \ln(9+x) f ( x ) = ln ( 9 + x ) repeatedly and evaluate each derivative at x = 0 x = 0 x = 0 .
n n n f ( n ) ( x ) f^{(n)}(x) f ( n ) ( x ) f ( n ) ( 0 ) f^{(n)}(0) f ( n ) ( 0 ) term x n n ! f ( n ) ( 0 ) \dfrac{x^n}{n!}f^{(n)}(0) n ! x n f ( n ) ( 0 ) 0 ln ( 9 + x ) \ln(9+x) ln ( 9 + x ) ln 9 = 2.197225 \ln 9 = 2.197225 ln 9 = 2.197225 ln 9 \ln 9 ln 9 1 1 9 + x \dfrac{1}{9+x} 9 + x 1 1 9 \dfrac{1}{9} 9 1 x 9 \dfrac{x}{9} 9 x 2 − 1 ( 9 + x ) 2 -\dfrac{1}{(9+x)^2} − ( 9 + x ) 2 1 − 1 81 -\dfrac{1}{81} − 81 1 − x 2 2 ! ⋅ 1 81 = − x 2 162 -\dfrac{x^2}{2!}\cdot\dfrac{1}{81} = -\dfrac{x^2}{162} − 2 ! x 2 ⋅ 81 1 = − 162 x 2 3 2 ( 9 + x ) 3 \dfrac{2}{(9+x)^3} ( 9 + x ) 3 2 2 729 \dfrac{2}{729} 729 2 x 3 3 ! ⋅ 2 729 = x 3 2187 \dfrac{x^3}{3!}\cdot\dfrac{2}{729} = \dfrac{x^3}{2187} 3 ! x 3 ⋅ 729 2 = 2187 x 3 4 − 6 ( 9 + x ) 4 -\dfrac{6}{(9+x)^4} − ( 9 + x ) 4 6 − 6 6561 -\dfrac{6}{6561} − 6561 6 − x 4 4 ! ⋅ 6 6561 = − x 4 26244 -\dfrac{x^4}{4!}\cdot\dfrac{6}{6561} = -\dfrac{x^4}{26244} − 4 ! x 4 ⋅ 6561 6 = − 26244 x 4 5 24 ( 9 + x ) 5 \dfrac{24}{(9+x)^5} ( 9 + x ) 5 24 24 59049 \dfrac{24}{59049} 59049 24 x 5 5 ! ⋅ 24 59049 = x 5 295245 \dfrac{x^5}{5!}\cdot\dfrac{24}{59049} = \dfrac{x^5}{295245} 5 ! x 5 ⋅ 59049 24 = 295245 x 5
Therefore
f ( x ) = ln 9 + x 9 − x 2 162 + x 3 2187 − x 4 26244 + x 5 295245 + ⋯ f(x) = \ln 9 + \frac{x}{9} - \frac{x^2}{162} + \frac{x^3}{2187} - \frac{x^4}{26244} + \frac{x^5}{295245} + \cdots f ( x ) = ln 9 + 9 x − 162 x 2 + 2187 x 3 − 26244 x 4 + 295245 x 5 + ⋯ Numerically,
ln ( 9 + x ) ≈ 2.19722 + 0.111111 x − 0.00617284 x 2 + 0.000457248 x 3 − 0.0000381039 x 4 + 0.0000033870 x 5 \ln(9+x) \approx 2.19722 + 0.111111x - 0.00617284x^2 + 0.000457248x^3 - 0.0000381039x^4 + 0.0000033870x^5 ln ( 9 + x ) ≈ 2.19722 + 0.111111 x − 0.00617284 x 2 + 0.000457248 x 3 − 0.0000381039 x 4 + 0.0000033870 x 5 Check. Using ln ( 9 + x ) = ln 9 + ln ( 1 + x 9 ) \ln(9+x) = \ln 9 + \ln\left(1 + \frac{x}{9}\right) ln ( 9 + x ) = ln 9 + ln ( 1 + 9 x ) with ln ( 1 + u ) = u − u 2 2 + u 3 3 − ⋯ \ln(1+u) = u - \frac{u^2}{2} + \frac{u^3}{3} - \cdots ln ( 1 + u ) = u − 2 u 2 + 3 u 3 − ⋯ and u = x / 9 u = x/9 u = x /9 reproduces the same terms.
Answer: ln ( 9 + x ) = ln 9 + x 9 − x 2 162 + x 3 2187 − x 4 26244 + x 5 295245 + ⋯ = 2.19722 + 0.111111 x − 0.00617284 x 2 + 0.000457248 x 3 − 0.0000381039 x 4 + 0.0000033870 x 5 \ln(9+x) = \ln 9 + \dfrac{x}{9} - \dfrac{x^2}{162} + \dfrac{x^3}{2187} - \dfrac{x^4}{26244} + \dfrac{x^5}{295245} + \cdots = 2.19722 + 0.111111x - 0.00617284x^2 + 0.000457248x^3 - 0.0000381039x^4 + 0.0000033870x^5 ln ( 9 + x ) = ln 9 + 9 x − 162 x 2 + 2187 x 3 − 26244 x 4 + 295245 x 5 + ⋯ = 2.19722 + 0.111111 x − 0.00617284 x 2 + 0.000457248 x 3 − 0.0000381039 x 4 + 0.0000033870 x 5
Question 4(b) (11 marks)
Question
Apply the power series method and part (a) to find the particular solution at x = 0 x = 0 x = 0 for the following differential equation
y ′ ′ − 2 x y = ln ( 9 + x ) , y ( 0 ) = y ′ ( 0 ) = 2 y'' - 2xy = \ln(9+x), \qquad y(0) = y'(0) = 2 y ′′ − 2 x y = ln ( 9 + x ) , y ( 0 ) = y ′ ( 0 ) = 2
(11 marks)
Step 1 — Assume a power series solution about x = 0 x = 0 x = 0 .
y = ∑ n = 0 ∞ a n x n , y ′ = ∑ n = 1 ∞ n a n x n − 1 , y ′ ′ = ∑ n = 2 ∞ n ( n − 1 ) a n x n − 2 y = \sum_{n=0}^{\infty} a_n x^n, \qquad y' = \sum_{n=1}^{\infty} n a_n x^{n-1}, \qquad y'' = \sum_{n=2}^{\infty} n(n-1) a_n x^{n-2} y = n = 0 ∑ ∞ a n x n , y ′ = n = 1 ∑ ∞ n a n x n − 1 , y ′′ = n = 2 ∑ ∞ n ( n − 1 ) a n x n − 2 The initial conditions give
y ( 0 ) = a 0 = 2 , y ′ ( 0 ) = a 1 = 2 y(0) = a_0 = 2, \qquad y'(0) = a_1 = 2 y ( 0 ) = a 0 = 2 , y ′ ( 0 ) = a 1 = 2 Step 2 — Substitute into the ODE, using part (a).
∑ n = 2 ∞ n ( n − 1 ) a n x n − 2 − ∑ n = 0 ∞ 2 a n x n + 1 = ln 9 + x 9 − x 2 162 + x 3 2187 − x 4 26244 + x 5 295245 + ⋯ \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2} - \sum_{n=0}^{\infty} 2a_n x^{n+1} = \ln 9 + \frac{x}{9} - \frac{x^2}{162} + \frac{x^3}{2187} - \frac{x^4}{26244} + \frac{x^5}{295245} + \cdots n = 2 ∑ ∞ n ( n − 1 ) a n x n − 2 − n = 0 ∑ ∞ 2 a n x n + 1 = ln 9 + 9 x − 162 x 2 + 2187 x 3 − 26244 x 4 + 295245 x 5 + ⋯ Step 3 — Compare coefficients of x k x^k x k .
term coefficient of x k x^k x k y ′ ′ y'' y ′′ ( k + 2 ) ( k + 1 ) a k + 2 (k+2)(k+1)a_{k+2} ( k + 2 ) ( k + 1 ) a k + 2 − 2 x y -2xy − 2 x y − 2 a k − 1 -2a_{k-1} − 2 a k − 1 (zero for k = 0 k = 0 k = 0 )ln ( 9 + x ) \ln(9+x) ln ( 9 + x ) c k c_k c k
so the recurrence is
( k + 2 ) ( k + 1 ) a k + 2 = 2 a k − 1 + c k , k = 0 , 1 , 2 , … , a − 1 = 0 (k+2)(k+1)a_{k+2} = 2a_{k-1} + c_k, \qquad k = 0,1,2,\dots, \qquad a_{-1} = 0 ( k + 2 ) ( k + 1 ) a k + 2 = 2 a k − 1 + c k , k = 0 , 1 , 2 , … , a − 1 = 0 with c 0 = ln 9 = 2.197225 c_0 = \ln 9 = 2.197225 c 0 = ln 9 = 2.197225 , c 1 = 1 9 c_1 = \dfrac{1}{9} c 1 = 9 1 , c 2 = − 1 162 c_2 = -\dfrac{1}{162} c 2 = − 162 1 , c 3 = 1 2187 c_3 = \dfrac{1}{2187} c 3 = 2187 1 , c 4 = − 1 26244 c_4 = -\dfrac{1}{26244} c 4 = − 26244 1 , c 5 = 1 295245 c_5 = \dfrac{1}{295245} c 5 = 295245 1 .
Step 4 — Generate the coefficients.
k k k recurrence result 0 2 ⋅ 1 a 2 = 2 a − 1 + ln 9 2\cdot 1\,a_2 = 2a_{-1} + \ln 9 2 ⋅ 1 a 2 = 2 a − 1 + ln 9 a 2 = ln 9 2 = 1.098612 a_2 = \dfrac{\ln 9}{2} = 1.098612 a 2 = 2 ln 9 = 1.098612 1 3 ⋅ 2 a 3 = 2 a 0 + 1 9 = 4 + 1 9 = 37 9 3\cdot 2\,a_3 = 2a_0 + \dfrac{1}{9} = 4 + \dfrac{1}{9} = \dfrac{37}{9} 3 ⋅ 2 a 3 = 2 a 0 + 9 1 = 4 + 9 1 = 9 37 a 3 = 37 54 = 0.685185 a_3 = \dfrac{37}{54} = 0.685185 a 3 = 54 37 = 0.685185 2 4 ⋅ 3 a 4 = 2 a 1 − 1 162 = 4 − 1 162 = 647 162 4\cdot 3\,a_4 = 2a_1 - \dfrac{1}{162} = 4 - \dfrac{1}{162} = \dfrac{647}{162} 4 ⋅ 3 a 4 = 2 a 1 − 162 1 = 4 − 162 1 = 162 647 a 4 = 647 1944 = 0.332819 a_4 = \dfrac{647}{1944} = 0.332819 a 4 = 1944 647 = 0.332819 3 5 ⋅ 4 a 5 = 2 a 2 + 1 2187 = ln 9 + 1 2187 5\cdot 4\,a_5 = 2a_2 + \dfrac{1}{2187} = \ln 9 + \dfrac{1}{2187} 5 ⋅ 4 a 5 = 2 a 2 + 2187 1 = ln 9 + 2187 1 a 5 = ln 9 20 + 1 43740 = 0.109884 a_5 = \dfrac{\ln 9}{20} + \dfrac{1}{43740} = 0.109884 a 5 = 20 ln 9 + 43740 1 = 0.109884 4 6 ⋅ 5 a 6 = 2 a 3 − 1 26244 6\cdot 5\,a_6 = 2a_3 - \dfrac{1}{26244} 6 ⋅ 5 a 6 = 2 a 3 − 26244 1 a 6 = 35963 787320 = 0.0456777 a_6 = \dfrac{35963}{787320} = 0.0456777 a 6 = 787320 35963 = 0.0456777 5 7 ⋅ 6 a 7 = 2 a 4 + 1 295245 7\cdot 6\,a_7 = 2a_4 + \dfrac{1}{295245} 7 ⋅ 6 a 7 = 2 a 4 + 295245 1 a 7 = 786109 49601160 = 0.0158486 a_7 = \dfrac{786109}{49601160} = 0.0158486 a 7 = 49601160 786109 = 0.0158486
For example, for k = 1 k = 1 k = 1 : a 3 = 1 6 ( 4 + 1 9 ) = 37 54 a_3 = \dfrac{1}{6}\left(4 + \dfrac{1}{9}\right) = \dfrac{37}{54} a 3 = 6 1 ( 4 + 9 1 ) = 54 37 ; for k = 2 k = 2 k = 2 : a 4 = 1 12 ( 4 − 1 162 ) = 647 1944 a_4 = \dfrac{1}{12}\left(4 - \dfrac{1}{162}\right) = \dfrac{647}{1944} a 4 = 12 1 ( 4 − 162 1 ) = 1944 647 .
Step 5 — Particular solution.
y ( x ) = 2 + 2 x + 1.098612 x 2 + 0.685185 x 3 + 0.332819 x 4 + 0.109884 x 5 + 0.0456777 x 6 + 0.0158486 x 7 + ⋯ y(x) = 2 + 2x + 1.098612x^2 + 0.685185x^3 + 0.332819x^4 + 0.109884x^5 + 0.0456777x^6 + 0.0158486x^7 + \cdots y ( x ) = 2 + 2 x + 1.098612 x 2 + 0.685185 x 3 + 0.332819 x 4 + 0.109884 x 5 + 0.0456777 x 6 + 0.0158486 x 7 + ⋯ or exactly,
y ( x ) = 2 + 2 x + ln 9 2 x 2 + 37 54 x 3 + 647 1944 x 4 + ( ln 9 20 + 1 43740 ) x 5 + 35963 787320 x 6 + 786109 49601160 x 7 + ⋯ y(x) = 2 + 2x + \frac{\ln 9}{2}x^2 + \frac{37}{54}x^3 + \frac{647}{1944}x^4 + \left(\frac{\ln 9}{20} + \frac{1}{43740}\right)x^5 + \frac{35963}{787320}x^6 + \frac{786109}{49601160}x^7 + \cdots y ( x ) = 2 + 2 x + 2 ln 9 x 2 + 54 37 x 3 + 1944 647 x 4 + ( 20 ln 9 + 43740 1 ) x 5 + 787320 35963 x 6 + 49601160 786109 x 7 + ⋯ Check. y ( 0 ) = 2 y(0) = 2 y ( 0 ) = 2 and y ′ ( 0 ) = 2 y'(0) = 2 y ′ ( 0 ) = 2 as required, and y ′ ′ ( 0 ) = 2 a 2 = ln 9 = ln ( 9 + 0 ) y''(0) = 2a_2 = \ln 9 = \ln(9+0) y ′′ ( 0 ) = 2 a 2 = ln 9 = ln ( 9 + 0 ) , which is the ODE evaluated at x = 0 x = 0 x = 0 (the 2 x y 2xy 2 x y term vanishes there).
How far the series can be taken
Part (a) supplies ln ( 9 + x ) \ln(9+x) ln ( 9 + x ) only as far as the x 5 x^5 x 5 term, and the 2 x y 2xy 2 x y term shifts the index by one; the printed data therefore determine the coefficients a 2 a_2 a 2 through a 7 a_7 a 7 (terms up to x 7 x^7 x 7 ). Further terms follow from the same recurrence using more terms of the logarithm series, c k = ( − 1 ) k + 1 k 9 k c_k = \dfrac{(-1)^{k+1}}{k\,9^k} c k = k 9 k ( − 1 ) k + 1 for k ≥ 1 k \ge 1 k ≥ 1 .
Answer: y ( x ) = 2 + 2 x + 1.0986 x 2 + 0.68519 x 3 + 0.33282 x 4 + 0.10988 x 5 + 0.045678 x 6 + 0.015849 x 7 + ⋯ y(x) = 2 + 2x + 1.0986x^2 + 0.68519x^3 + 0.33282x^4 + 0.10988x^5 + 0.045678x^6 + 0.015849x^7 + \cdots y ( x ) = 2 + 2 x + 1.0986 x 2 + 0.68519 x 3 + 0.33282 x 4 + 0.10988 x 5 + 0.045678 x 6 + 0.015849 x 7 + ⋯
Set #5 (last matrix digit 5)
Question 3(i) (13 marks)
Question
Given the governing equation of the low pass filter with LRC circuit, where the inductance (L = 1 L = 1 L = 1 H), resistance (R = 100 Ω R = 100\ \Omega R = 100 Ω ), and capacitance (C = 0.0004 C = 0.0004 C = 0.0004 F) are shown in Figure Q3(b) — the shared circuit diagram (identical in all ten sets) is a single source loop in which V i n p u t V_{input} V in p u t feeds R = 100 Ω R = 100\ \Omega R = 100 Ω and L = 1 L = 1 L = 1 H in series, with C = 400 μ F C = 400\ \mu\text{F} C = 400 μ F across the output, so V o u t p u t V_{output} V o u tp u t is taken across the capacitor; see Figure Q3(a) in the original paper:
L C d 2 V o u t p u t d t 2 + R C d V o u t p u t d t + V o u t p u t = V i n p u t LC\frac{d^2V_{output}}{dt^2} + RC\frac{dV_{output}}{dt} + V_{output} = V_{input} L C d t 2 d 2 V o u tp u t + R C d t d V o u tp u t + V o u tp u t = V in p u t
You are designing the circuit to obtain output voltage, V o u t p u t V_{output} V o u tp u t by reducing/removing the high frequency noise only from the input voltage, V i n p u t V_{input} V in p u t . V i n p u t V_{input} V in p u t for time, t > 0 t > 0 t > 0 is given as:
V i n p u t = 10 cos ( t ) + 10 cos ( ( 355 ) ( t ) ) , Noise = 10 cos ( 355 t ) V_{input} = 10\cos(t) + 10\cos\big((355)(t)\big), \qquad \text{Noise} = 10\cos(355t) V in p u t = 10 cos ( t ) + 10 cos ( ( 355 ) ( t ) ) , Noise = 10 cos ( 355 t )
Find the total output voltage, V o u t p u t V_{output} V o u tp u t for time, t > 0 t > 0 t > 0 . Use the trigonometric function (sine and cosine functions) to solve the non-homogeneous part. (13 marks)
Step 1 — Substitute the component values.
L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 LC = (1)(0.0004) = 0.0004, \qquad RC = (100)(0.0004) = 0.04 L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 so the equation to solve is
0.0004 d 2 V o u t p u t d t 2 + 0.04 d V o u t p u t d t + V o u t p u t = 10 cos t + 10 cos 355 t 0.0004\frac{d^2V_{output}}{dt^2} + 0.04\frac{dV_{output}}{dt} + V_{output} = 10\cos t + 10\cos 355t 0.0004 d t 2 d 2 V o u tp u t + 0.04 d t d V o u tp u t + V o u tp u t = 10 cos t + 10 cos 355 t This is a linear, second-order, constant-coefficient ODE with a sinusoidal right-hand side, so the general solution is V o u t p u t = V h + V p V_{output} = V_h + V_p V o u tp u t = V h + V p .
Step 2 — Complementary function V h V_h V h .
Try V = e r t V = e^{rt} V = e r t . The auxiliary equation is
0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 0.0004r^2 + 0.04r + 1 = 0 \qquad \Longrightarrow \qquad r^2 + 100r + 2500 = 0 \qquad \Longrightarrow \qquad (r+50)^2 = 0 0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 (the whole equation was multiplied by 2500 2500 2500 ). Thus r = − 50 r = -50 r = − 50 is a repeated root, and
V h = ( A + B t ) e − 50 t V_h = (A + Bt)e^{-50t} V h = ( A + B t ) e − 50 t Step 3 — Particular integral by undetermined coefficients.
The ODE is linear, so the two input frequencies may be treated separately and then added. For an input term 10 cos ( ω t ) 10\cos(\omega t) 10 cos ( ω t ) try
V p = a cos ( ω t ) + b sin ( ω t ) V_p = a\cos(\omega t) + b\sin(\omega t) V p = a cos ( ω t ) + b sin ( ω t ) V p ′ = − a ω sin ( ω t ) + b ω cos ( ω t ) , V p ′ ′ = − a ω 2 cos ( ω t ) − b ω 2 sin ( ω t ) V_p' = -a\omega\sin(\omega t) + b\omega\cos(\omega t), \qquad V_p'' = -a\omega^2\cos(\omega t) - b\omega^2\sin(\omega t) V p ′ = − aω sin ( ω t ) + bω cos ( ω t ) , V p ′′ = − a ω 2 cos ( ω t ) − b ω 2 sin ( ω t ) Substituting into 0.0004 V p ′ ′ + 0.04 V p ′ + V p = 10 cos ω t 0.0004V_p'' + 0.04V_p' + V_p = 10\cos\omega t 0.0004 V p ′′ + 0.04 V p ′ + V p = 10 cos ω t and collecting the cos \cos cos and sin \sin sin terms:
cos: a ( 1 − 0.0004 ω 2 ) + 0.04 ω b = 10 , sin: − 0.04 ω a + b ( 1 − 0.0004 ω 2 ) = 0 \text{cos: }\; a\left(1 - 0.0004\omega^2\right) + 0.04\omega\,b = 10, \qquad \text{sin: }\; -0.04\omega\,a + b\left(1 - 0.0004\omega^2\right) = 0 cos: a ( 1 − 0.0004 ω 2 ) + 0.04 ω b = 10 , sin: − 0.04 ω a + b ( 1 − 0.0004 ω 2 ) = 0 Write D = 1 − 0.0004 ω 2 D = 1 - 0.0004\omega^2 D = 1 − 0.0004 ω 2 and E = 0.04 ω E = 0.04\omega E = 0.04 ω . Then
a D + b E = 10 , − a E + b D = 0 ⟹ b = a E D aD + bE = 10, \qquad -aE + bD = 0 \;\Longrightarrow\; b = \frac{aE}{D} a D + b E = 10 , − a E + b D = 0 ⟹ b = D a E a ( D + E 2 D ) = 10 ⟹ a = 10 D D 2 + E 2 , b = 10 E D 2 + E 2 a\left(D + \frac{E^2}{D}\right) = 10 \;\Longrightarrow\; a = \frac{10D}{D^2+E^2}, \qquad b = \frac{10E}{D^2+E^2} a ( D + D E 2 ) = 10 ⟹ a = D 2 + E 2 10 D , b = D 2 + E 2 10 E Because E 2 = ( 0.04 ω ) 2 = 4 ( 0.0004 ω 2 ) E^2 = (0.04\omega)^2 = 4\left(0.0004\omega^2\right) E 2 = ( 0.04 ω ) 2 = 4 ( 0.0004 ω 2 ) , the denominator simplifies exactly:
D 2 + E 2 = ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 = ( 1 + 0.0004 ω 2 ) 2 D^2 + E^2 = \left(1 - 0.0004\omega^2\right)^2 + \left(0.04\omega\right)^2 = \left(1 + 0.0004\omega^2\right)^2 D 2 + E 2 = ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 = ( 1 + 0.0004 ω 2 ) 2 so
a = 10 ( 1 − 0.0004 ω 2 ) ( 1 + 0.0004 ω 2 ) 2 , b = 10 ( 0.04 ω ) ( 1 + 0.0004 ω 2 ) 2 a = \frac{10\left(1 - 0.0004\omega^2\right)}{\left(1 + 0.0004\omega^2\right)^2}, \qquad b = \frac{10\left(0.04\omega\right)}{\left(1 + 0.0004\omega^2\right)^2} a = ( 1 + 0.0004 ω 2 ) 2 10 ( 1 − 0.0004 ω 2 ) , b = ( 1 + 0.0004 ω 2 ) 2 10 ( 0.04 ω ) Step 4 — The wanted signal, ω = 1 \omega = 1 ω = 1 .
D = 1 − 0.0004 ( 1 ) = 0.9996 , E = 0.04 ( 1 ) = 0.04 , D 2 + E 2 = 0.9996 2 + 0.04 2 = 1.00080016 D = 1 - 0.0004(1) = 0.9996, \qquad E = 0.04(1) = 0.04, \qquad D^2+E^2 = 0.9996^2 + 0.04^2 = 1.00080016 D = 1 − 0.0004 ( 1 ) = 0.9996 , E = 0.04 ( 1 ) = 0.04 , D 2 + E 2 = 0.999 6 2 + 0.0 4 2 = 1.00080016 a 1 = 10 ( 0.9996 ) 1.00080016 = 9.996 1.00080016 = 9.988008 , b 1 = 10 ( 0.04 ) 1.00080016 = 0.4 1.00080016 = 0.399680 a_1 = \frac{10(0.9996)}{1.00080016} = \frac{9.996}{1.00080016} = 9.988008, \qquad b_1 = \frac{10(0.04)}{1.00080016} = \frac{0.4}{1.00080016} = 0.399680 a 1 = 1.00080016 10 ( 0.9996 ) = 1.00080016 9.996 = 9.988008 , b 1 = 1.00080016 10 ( 0.04 ) = 1.00080016 0.4 = 0.399680 V p , 1 = 9.9880 cos t + 0.3997 sin t V_{p,1} = 9.9880\cos t + 0.3997\sin t V p , 1 = 9.9880 cos t + 0.3997 sin t Step 5 — The noise, ω = 355 \omega = 355 ω = 355 .
ω 2 = 355 2 = 126025 , 0.0004 ω 2 = 50.41 , D = 1 − 50.41 = − 49.41 , E = 0.04 ( 355 ) = 14.2 \omega^2 = 355^2 = 126025, \qquad 0.0004\omega^2 = 50.41, \qquad D = 1 - 50.41 = -49.41, \qquad E = 0.04(355) = 14.2 ω 2 = 35 5 2 = 126025 , 0.0004 ω 2 = 50.41 , D = 1 − 50.41 = − 49.41 , E = 0.04 ( 355 ) = 14.2 D 2 + E 2 = 49.41 2 + 14.2 2 = 2441.3481 + 201.64 = 2642.9881 = 51.41 2 D^2 + E^2 = 49.41^2 + 14.2^2 = 2441.3481 + 201.64 = 2642.9881 = 51.41^2 D 2 + E 2 = 49.4 1 2 + 14. 2 2 = 2441.3481 + 201.64 = 2642.9881 = 51.4 1 2 a 2 = 10 ( − 49.41 ) 2642.9881 = − 494.1 2642.9881 = − 0.186947 , b 2 = 10 ( 14.2 ) 2642.9881 = 142 2642.9881 = 0.053727 a_2 = \frac{10(-49.41)}{2642.9881} = \frac{-494.1}{2642.9881} = -0.186947, \qquad b_2 = \frac{10(14.2)}{2642.9881} = \frac{142}{2642.9881} = 0.053727 a 2 = 2642.9881 10 ( − 49.41 ) = 2642.9881 − 494.1 = − 0.186947 , b 2 = 2642.9881 10 ( 14.2 ) = 2642.9881 142 = 0.053727 V p , 2 = − 0.18695 cos 355 t + 0.053727 sin 355 t V_{p,2} = -0.18695\cos 355t + 0.053727\sin 355t V p , 2 = − 0.18695 cos 355 t + 0.053727 sin 355 t Step 6 — General solution.
V o u t p u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.3997 sin t − 0.18695 cos 355 t + 0.053727 sin 355 t V_{output}(t) = (A + Bt)e^{-50t} + 9.9880\cos t + 0.3997\sin t - 0.18695\cos 355t + 0.053727\sin 355t V o u tp u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.3997 sin t − 0.18695 cos 355 t + 0.053727 sin 355 t Step 7 — Apply the initial conditions V o u t p u t ( 0 ) = 0 V_{output}(0) = 0 V o u tp u t ( 0 ) = 0 , V o u t p u t ′ ( 0 ) = 0 V_{output}'(0) = 0 V o u tp u t ′ ( 0 ) = 0 .
From V o u t p u t ( 0 ) = 0 V_{output}(0) = 0 V o u tp u t ( 0 ) = 0 :
A + 9.988008 − 0.186947 = 0 ⟹ A = − 9.801061 A + 9.988008 - 0.186947 = 0 \;\Longrightarrow\; A = -9.801061 A + 9.988008 − 0.186947 = 0 ⟹ A = − 9.801061 Differentiating, the complementary-function part contributes B − 50 A B - 50A B − 50 A at t = 0 t = 0 t = 0 , the signal part contributes b 1 = 0.399680 b_1 = 0.399680 b 1 = 0.399680 , and the noise part contributes 355 b 2 = 355 ( 0.053727 ) = 19.07311 355\,b_2 = 355(0.053727) = 19.07311 355 b 2 = 355 ( 0.053727 ) = 19.07311 . Hence V o u t p u t ′ ( 0 ) = 0 V_{output}'(0) = 0 V o u tp u t ′ ( 0 ) = 0 gives
B − 50 A + 0.399680 + 19.073110 = 0 B - 50A + 0.399680 + 19.073110 = 0 B − 50 A + 0.399680 + 19.073110 = 0 B = 50 ( − 9.801061 ) − 0.399680 − 19.073110 = − 490.053 − 19.47279 = − 509.526 B = 50(-9.801061) - 0.399680 - 19.073110 = -490.053 - 19.47279 = -509.526 B = 50 ( − 9.801061 ) − 0.399680 − 19.073110 = − 490.053 − 19.47279 = − 509.526 Step 8 — Check.
V o u t p u t ( 0 ) = − 9.8011 + 9.9880 − 0.1869 = 0 ✓ V_{output}(0) = -9.8011 + 9.9880 - 0.1869 = 0 \quad\checkmark V o u tp u t ( 0 ) = − 9.8011 + 9.9880 − 0.1869 = 0 ✓ V o u t p u t ′ ( 0 ) = − 509.526 + 490.053 + 0.3997 + 19.0731 = 0.000 ✓ V_{output}'(0) = -509.526 + 490.053 + 0.3997 + 19.0731 = 0.000 \quad\checkmark V o u tp u t ′ ( 0 ) = − 509.526 + 490.053 + 0.3997 + 19.0731 = 0.000 ✓
Answer: V o u t p u t ( t ) = ( − 9.8011 − 509.53 t ) e − 50 t + 9.9880 cos t + 0.3997 sin t − 0.1869 cos 355 t + 0.0537 sin 355 t V_{output}(t) = \left(-9.8011 - 509.53\,t\right)e^{-50t} + 9.9880\cos t + 0.3997\sin t - 0.1869\cos 355t + 0.0537\sin 355t V o u tp u t ( t ) = ( − 9.8011 − 509.53 t ) e − 50 t + 9.9880 cos t + 0.3997 sin t − 0.1869 cos 355 t + 0.0537 sin 355 t volts, for t > 0 t > 0 t > 0 .
The printed paper states no initial conditions anywhere. The standard rest state for a filter switched on at t = 0 t = 0 t = 0 is used: the capacitor is uncharged and there is no initial current, so V o u t p u t ( 0 ) = 0 V_{output}(0) = 0 V o u tp u t ( 0 ) = 0 and V o u t p u t ′ ( 0 ) = 0 V_{output}'(0) = 0 V o u tp u t ′ ( 0 ) = 0 . Only the two constants A A A and B B B of the complementary function change if different initial conditions are supplied — the steady-state (particular) part of the answer is unaffected.
Question 3(j) (2 marks)
Question
Refer to the steady state result of V o u t p u t V_{output} V o u tp u t only, check if the noise is successfully reduced/removed (> 90% amplitude reduction) or not. Hint: amplitude = a 2 + b 2 = \sqrt{a^2 + b^2} = a 2 + b 2 for a cos ( ω t ) + b sin ( ω t ) a\cos(\omega t) + b\sin(\omega t) a cos ( ω t ) + b sin ( ω t ) function. (2 marks)
Step 1 — Take the steady-state part only.
Both terms of the complementary function die away, since e − 50 t → 0 e^{-50t}\to 0 e − 50 t → 0 and t e − 50 t → 0 t\,e^{-50t}\to 0 t e − 50 t → 0 as t → ∞ t\to\infty t → ∞ . The steady state is therefore
V o u t p u t s s ( t ) = 9.9880 cos t + 0.3997 sin t − 0.1869 cos 355 t + 0.0537 sin 355 t V_{output}^{ss}(t) = 9.9880\cos t + 0.3997\sin t - 0.1869\cos 355t + 0.0537\sin 355t V o u tp u t ss ( t ) = 9.9880 cos t + 0.3997 sin t − 0.1869 cos 355 t + 0.0537 sin 355 t Step 2 — Amplitudes, using amplitude = a 2 + b 2 = \sqrt{a^2+b^2} = a 2 + b 2 .
component a a a b b b amplitude a 2 + b 2 \sqrt{a^2+b^2} a 2 + b 2 wanted signal, ω = 1 \omega = 1 ω = 1 9.9880 9.9880 9.9880 0.3997 0.3997 0.3997 9.9960 9.9960 9.9960 Vnoise, ω = 355 \omega = 355 ω = 355 − 0.1869 -0.1869 − 0.1869 0.0537 0.0537 0.0537 0.1945 0.1945 0.1945 V
A s i g n a l = 9.9880 2 + 0.3997 2 = 99.7603 + 0.1597 = 99.9200 = 9.9960 V A_{signal} = \sqrt{9.9880^2 + 0.3997^2} = \sqrt{99.7603 + 0.1597} = \sqrt{99.9200} = 9.9960\ \text{V} A s i g na l = 9.988 0 2 + 0.399 7 2 = 99.7603 + 0.1597 = 99.9200 = 9.9960 V A n o i s e = ( − 0.1869 ) 2 + 0.0537 2 = 0.034949 + 0.002887 = 0.037836 = 0.1945 V A_{noise} = \sqrt{(-0.1869)^2 + 0.0537^2} = \sqrt{0.034949 + 0.002887} = \sqrt{0.037836} = 0.1945\ \text{V} A n o i se = ( − 0.1869 ) 2 + 0.053 7 2 = 0.034949 + 0.002887 = 0.037836 = 0.1945 V Step 3 — Percentage amplitude reduction of the noise.
reduction = 10 − 0.1945 10 × 100 % = 98.05 % \text{reduction} = \frac{10 - 0.1945}{10}\times 100\% = 98.05\% reduction = 10 10 − 0.1945 × 100% = 98.05% Equivalently, the noise gain is 1 / ( 1 + 0.0004 ω 2 ) = 1 / 51.41 = 0.01945 1/\left(1 + 0.0004\omega^2\right) = 1/51.41 = 0.01945 1/ ( 1 + 0.0004 ω 2 ) = 1/51.41 = 0.01945 .
The wanted 10 cos t 10\cos t 10 cos t component is essentially untouched: its gain is 9.9960 / 10 = 0.9996 9.9960/10 = 0.9996 9.9960/10 = 0.9996 . The high-frequency noise, however, has lost 98.05 % 98.05\% 98.05% of its amplitude, which is well past the 90 % 90\% 90% target.
Answer: Noise amplitude = 0.1945 = 0.1945 = 0.1945 V, i.e. a 98.05 % reduction from the 10 V input noise. Since 98.05 % > 90 % 98.05\% > 90\% 98.05% > 90% , the noise has been successfully reduced/removed , while the wanted signal is passed with gain 0.9996 0.9996 0.9996 .
As in part (i), the paper prints no initial conditions. This part uses only the steady-state (particular) part of the solution, so its answer does not depend on the initial conditions at all.
Question 4(a) (4 marks)
Question
Find the power series until the x 5 x^5 x 5 term for the following function
f ( x ) = ln ( 8 + x ) f(x) = \ln(8 + x) f ( x ) = ln ( 8 + x )
using the Maclaurin's Series given below
f ( x ) = f ( 0 ) + x f ′ ( 0 ) + x 2 2 ! f ′ ′ ( 0 ) + x 3 3 ! f ′ ′ ′ ( 0 ) + ⋯ f(x) = f(0) + xf'(0) + \frac{x^2}{2!}f''(0) + \frac{x^3}{3!}f'''(0) + \cdots f ( x ) = f ( 0 ) + x f ′ ( 0 ) + 2 ! x 2 f ′′ ( 0 ) + 3 ! x 3 f ′′′ ( 0 ) + ⋯
(4 marks)
Step 1 — Differentiate repeatedly and evaluate at x = 0 x = 0 x = 0 .
f ( x ) = ln ( 8 + x ) f ( 0 ) = ln 8 = 2.079442 f(x) = \ln(8+x) \qquad\qquad f(0) = \ln 8 = 2.079442 f ( x ) = ln ( 8 + x ) f ( 0 ) = ln 8 = 2.079442 f ′ ( x ) = 1 8 + x f ′ ( 0 ) = 1 8 = 0.125 f'(x) = \frac{1}{8+x} \qquad\qquad f'(0) = \frac{1}{8} = 0.125 f ′ ( x ) = 8 + x 1 f ′ ( 0 ) = 8 1 = 0.125 f ′ ′ ( x ) = − 1 ( 8 + x ) 2 f ′ ′ ( 0 ) = − 1 64 = − 0.015625 f''(x) = -\frac{1}{(8+x)^2} \qquad\qquad f''(0) = -\frac{1}{64} = -0.015625 f ′′ ( x ) = − ( 8 + x ) 2 1 f ′′ ( 0 ) = − 64 1 = − 0.015625 f ′ ′ ′ ( x ) = 2 ( 8 + x ) 3 f ′ ′ ′ ( 0 ) = 2 512 = 1 256 = 0.00390625 f'''(x) = \frac{2}{(8+x)^3} \qquad\qquad f'''(0) = \frac{2}{512} = \frac{1}{256} = 0.00390625 f ′′′ ( x ) = ( 8 + x ) 3 2 f ′′′ ( 0 ) = 512 2 = 256 1 = 0.00390625 f ( 4 ) ( x ) = − 6 ( 8 + x ) 4 f ( 4 ) ( 0 ) = − 6 4096 = − 3 2048 = − 0.00146484375 f^{(4)}(x) = -\frac{6}{(8+x)^4} \qquad\qquad f^{(4)}(0) = -\frac{6}{4096} = -\frac{3}{2048} = -0.00146484375 f ( 4 ) ( x ) = − ( 8 + x ) 4 6 f ( 4 ) ( 0 ) = − 4096 6 = − 2048 3 = − 0.00146484375 f ( 5 ) ( x ) = 24 ( 8 + x ) 5 f ( 5 ) ( 0 ) = 24 32768 = 3 4096 = 0.000732421875 f^{(5)}(x) = \frac{24}{(8+x)^5} \qquad\qquad f^{(5)}(0) = \frac{24}{32768} = \frac{3}{4096} = 0.000732421875 f ( 5 ) ( x ) = ( 8 + x ) 5 24 f ( 5 ) ( 0 ) = 32768 24 = 4096 3 = 0.000732421875 In general f ( n ) ( 0 ) = ( − 1 ) n − 1 ( n − 1 ) ! 8 n f^{(n)}(0) = \dfrac{(-1)^{n-1}(n-1)!}{8^n} f ( n ) ( 0 ) = 8 n ( − 1 ) n − 1 ( n − 1 )! for n ≥ 1 n \ge 1 n ≥ 1 .
Step 2 — Divide each derivative by the matching factorial.
f ′ ′ ( 0 ) 2 ! = − 1 / 64 2 = − 1 128 , f ′ ′ ′ ( 0 ) 3 ! = 1 / 256 6 = 1 1536 \frac{f''(0)}{2!} = \frac{-1/64}{2} = -\frac{1}{128}, \qquad \frac{f'''(0)}{3!} = \frac{1/256}{6} = \frac{1}{1536} 2 ! f ′′ ( 0 ) = 2 − 1/64 = − 128 1 , 3 ! f ′′′ ( 0 ) = 6 1/256 = 1536 1 f ( 4 ) ( 0 ) 4 ! = − 3 / 2048 24 = − 1 16384 , f ( 5 ) ( 0 ) 5 ! = 3 / 4096 120 = 1 163840 \frac{f^{(4)}(0)}{4!} = \frac{-3/2048}{24} = -\frac{1}{16384}, \qquad \frac{f^{(5)}(0)}{5!} = \frac{3/4096}{120} = \frac{1}{163840} 4 ! f ( 4 ) ( 0 ) = 24 − 3/2048 = − 16384 1 , 5 ! f ( 5 ) ( 0 ) = 120 3/4096 = 163840 1 Step 3 — Assemble the Maclaurin series.
ln ( 8 + x ) = ln 8 + x 8 − x 2 128 + x 3 1536 − x 4 16384 + x 5 163840 + ⋯ \ln(8+x) = \ln 8 + \frac{x}{8} - \frac{x^2}{128} + \frac{x^3}{1536} - \frac{x^4}{16384} + \frac{x^5}{163840} + \cdots ln ( 8 + x ) = ln 8 + 8 x − 128 x 2 + 1536 x 3 − 16384 x 4 + 163840 x 5 + ⋯ = 2.079442 + 0.125 x − 0.0078125 x 2 + 0.000651042 x 3 − 0.0000610352 x 4 + 0.00000610352 x 5 + ⋯ = 2.079442 + 0.125x - 0.0078125x^2 + 0.000651042x^3 - 0.0000610352x^4 + 0.00000610352x^5 + \cdots = 2.079442 + 0.125 x − 0.0078125 x 2 + 0.000651042 x 3 − 0.0000610352 x 4 + 0.00000610352 x 5 + ⋯ The general term is ln ( k + x ) = ln k + ∑ n = 1 ∞ ( − 1 ) n − 1 n k n x n \ln(k+x) = \ln k + \displaystyle\sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{n\,k^n}x^n ln ( k + x ) = ln k + n = 1 ∑ ∞ n k n ( − 1 ) n − 1 x n , which for k = 8 k = 8 k = 8 reproduces every coefficient above.
Answer: ln ( 8 + x ) = ln 8 + x 8 − x 2 128 + x 3 1536 − x 4 16384 + x 5 163840 + ⋯ = 2.0794 + 0.125 x − 0.0078125 x 2 + 0.00065104 x 3 − 0.000061035 x 4 + 0.0000061035 x 5 + ⋯ \ln(8+x) = \ln 8 + \dfrac{x}{8} - \dfrac{x^2}{128} + \dfrac{x^3}{1536} - \dfrac{x^4}{16384} + \dfrac{x^5}{163840} + \cdots = 2.0794 + 0.125x - 0.0078125x^2 + 0.00065104x^3 - 0.000061035x^4 + 0.0000061035x^5 + \cdots ln ( 8 + x ) = ln 8 + 8 x − 128 x 2 + 1536 x 3 − 16384 x 4 + 163840 x 5 + ⋯ = 2.0794 + 0.125 x − 0.0078125 x 2 + 0.00065104 x 3 − 0.000061035 x 4 + 0.0000061035 x 5 + ⋯
Question 4(b) (11 marks)
Question
Apply the power series method and part (a) to find the particular solution at x = 0 x = 0 x = 0 for the following differential equation
y ′ ′ − 2 x y = ln ( 8 + x ) , y ( 0 ) = y ′ ( 0 ) = 5 y'' - 2xy = \ln(8 + x), \qquad y(0) = y'(0) = 5 y ′′ − 2 x y = ln ( 8 + x ) , y ( 0 ) = y ′ ( 0 ) = 5
(11 marks)
Step 1 — Assume a power series solution.
y = ∑ n = 0 ∞ a n x n ⟹ y ′ = ∑ n = 1 ∞ n a n x n − 1 , y ′ ′ = ∑ n = 2 ∞ n ( n − 1 ) a n x n − 2 y = \sum_{n=0}^{\infty} a_n x^n \qquad\Longrightarrow\qquad y' = \sum_{n=1}^{\infty} n\,a_n x^{n-1}, \qquad y'' = \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2} y = n = 0 ∑ ∞ a n x n ⟹ y ′ = n = 1 ∑ ∞ n a n x n − 1 , y ′′ = n = 2 ∑ ∞ n ( n − 1 ) a n x n − 2 The initial conditions fix the first two coefficients at once:
a 0 = y ( 0 ) = 5 , a 1 = y ′ ( 0 ) = 5 a_0 = y(0) = 5, \qquad a_1 = y'(0) = 5 a 0 = y ( 0 ) = 5 , a 1 = y ′ ( 0 ) = 5 Step 2 — Re-index every term as a power of x m x^m x m .
y ′ ′ = ∑ m = 0 ∞ ( m + 2 ) ( m + 1 ) a m + 2 x m , 2 x y = ∑ m = 1 ∞ 2 a m − 1 x m y'' = \sum_{m=0}^{\infty}(m+2)(m+1)a_{m+2}x^m, \qquad 2xy = \sum_{m=1}^{\infty}2a_{m-1}x^m y ′′ = m = 0 ∑ ∞ ( m + 2 ) ( m + 1 ) a m + 2 x m , 2 x y = m = 1 ∑ ∞ 2 a m − 1 x m and from part (a)
ln ( 8 + x ) = ∑ m = 0 ∞ c m x m , c 0 = ln 8 = 2.079442 , c m = ( − 1 ) m − 1 m 8 m ( m ≥ 1 ) \ln(8+x) = \sum_{m=0}^{\infty} c_m x^m, \qquad c_0 = \ln 8 = 2.079442, \qquad c_m = \frac{(-1)^{m-1}}{m\,8^m} \ \ (m \ge 1) ln ( 8 + x ) = m = 0 ∑ ∞ c m x m , c 0 = ln 8 = 2.079442 , c m = m 8 m ( − 1 ) m − 1 ( m ≥ 1 ) so c 1 = 1 8 c_1 = \dfrac{1}{8} c 1 = 8 1 , c 2 = − 1 128 c_2 = -\dfrac{1}{128} c 2 = − 128 1 , c 3 = 1 1536 c_3 = \dfrac{1}{1536} c 3 = 1536 1 , c 4 = − 1 16384 c_4 = -\dfrac{1}{16384} c 4 = − 16384 1 , c 5 = 1 163840 c_5 = \dfrac{1}{163840} c 5 = 163840 1 .
Step 3 — Equate coefficients of x m x^m x m .
( m + 2 ) ( m + 1 ) a m + 2 = 2 a m − 1 + c m , m = 0 , 1 , 2 , … , a − 1 : = 0 (m+2)(m+1)a_{m+2} = 2a_{m-1} + c_m, \qquad m = 0,1,2,\dots, \qquad a_{-1} := 0 ( m + 2 ) ( m + 1 ) a m + 2 = 2 a m − 1 + c m , m = 0 , 1 , 2 , … , a − 1 := 0 Step 4 — Generate the coefficients.
m m m recurrence result 0 2 ⋅ 1 a 2 = 2 a − 1 + ln 8 2\cdot 1\,a_2 = 2a_{-1} + \ln 8 2 ⋅ 1 a 2 = 2 a − 1 + ln 8 a 2 = ln 8 2 = 1.039721 a_2 = \dfrac{\ln 8}{2} = 1.039721 a 2 = 2 ln 8 = 1.039721 1 3 ⋅ 2 a 3 = 2 a 0 + 1 8 = 10 + 1 8 = 81 8 3\cdot 2\,a_3 = 2a_0 + \dfrac{1}{8} = 10 + \dfrac{1}{8} = \dfrac{81}{8} 3 ⋅ 2 a 3 = 2 a 0 + 8 1 = 10 + 8 1 = 8 81 a 3 = 27 16 = 1.687500 a_3 = \dfrac{27}{16} = 1.687500 a 3 = 16 27 = 1.687500 2 4 ⋅ 3 a 4 = 2 a 1 − 1 128 = 10 − 1 128 = 1279 128 4\cdot 3\,a_4 = 2a_1 - \dfrac{1}{128} = 10 - \dfrac{1}{128} = \dfrac{1279}{128} 4 ⋅ 3 a 4 = 2 a 1 − 128 1 = 10 − 128 1 = 128 1279 a 4 = 1279 1536 = 0.832682 a_4 = \dfrac{1279}{1536} = 0.832682 a 4 = 1536 1279 = 0.832682 3 5 ⋅ 4 a 5 = 2 a 2 + 1 1536 = ln 8 + 1 1536 5\cdot 4\,a_5 = 2a_2 + \dfrac{1}{1536} = \ln 8 + \dfrac{1}{1536} 5 ⋅ 4 a 5 = 2 a 2 + 1536 1 = ln 8 + 1536 1 a 5 = ln 8 20 + 1 30720 = 0.104005 a_5 = \dfrac{\ln 8}{20} + \dfrac{1}{30720} = 0.104005 a 5 = 20 ln 8 + 30720 1 = 0.104005 4 6 ⋅ 5 a 6 = 2 a 3 − 1 16384 = 27 8 − 1 16384 6\cdot 5\,a_6 = 2a_3 - \dfrac{1}{16384} = \dfrac{27}{8} - \dfrac{1}{16384} 6 ⋅ 5 a 6 = 2 a 3 − 16384 1 = 8 27 − 16384 1 a 6 = 55295 491520 = 0.112498 a_6 = \dfrac{55295}{491520} = 0.112498 a 6 = 491520 55295 = 0.112498 5 7 ⋅ 6 a 7 = 2 a 4 + 1 163840 7\cdot 6\,a_7 = 2a_4 + \dfrac{1}{163840} 7 ⋅ 6 a 7 = 2 a 4 + 163840 1 a 7 = 818563 20643840 = 0.039652 a_7 = \dfrac{818563}{20643840} = 0.039652 a 7 = 20643840 818563 = 0.039652
Worked samples: a 3 = 1 6 ( 10 + 1 8 ) = 81 48 = 27 16 a_3 = \dfrac{1}{6}\left(10 + \dfrac{1}{8}\right) = \dfrac{81}{48} = \dfrac{27}{16} a 3 = 6 1 ( 10 + 8 1 ) = 48 81 = 16 27 and a 4 = 1 12 ( 10 − 1 128 ) = 1279 1536 a_4 = \dfrac{1}{12}\left(10 - \dfrac{1}{128}\right) = \dfrac{1279}{1536} a 4 = 12 1 ( 10 − 128 1 ) = 1536 1279 .
Step 5 — Particular solution.
y ( x ) = 5 + 5 x + 1.039721 x 2 + 1.687500 x 3 + 0.832682 x 4 + 0.104005 x 5 + 0.112498 x 6 + 0.039652 x 7 + ⋯ y(x) = 5 + 5x + 1.039721x^2 + 1.687500x^3 + 0.832682x^4 + 0.104005x^5 + 0.112498x^6 + 0.039652x^7 + \cdots y ( x ) = 5 + 5 x + 1.039721 x 2 + 1.687500 x 3 + 0.832682 x 4 + 0.104005 x 5 + 0.112498 x 6 + 0.039652 x 7 + ⋯ or exactly,
y ( x ) = 5 + 5 x + ln 8 2 x 2 + 27 16 x 3 + 1279 1536 x 4 + ( ln 8 20 + 1 30720 ) x 5 + 55295 491520 x 6 + 818563 20643840 x 7 + ⋯ y(x) = 5 + 5x + \frac{\ln 8}{2}x^2 + \frac{27}{16}x^3 + \frac{1279}{1536}x^4 + \left(\frac{\ln 8}{20} + \frac{1}{30720}\right)x^5 + \frac{55295}{491520}x^6 + \frac{818563}{20643840}x^7 + \cdots y ( x ) = 5 + 5 x + 2 ln 8 x 2 + 16 27 x 3 + 1536 1279 x 4 + ( 20 ln 8 + 30720 1 ) x 5 + 491520 55295 x 6 + 20643840 818563 x 7 + ⋯ Check. y ( 0 ) = 5 y(0) = 5 y ( 0 ) = 5 and y ′ ( 0 ) = 5 y'(0) = 5 y ′ ( 0 ) = 5 as required, and y ′ ′ ( 0 ) = 2 a 2 = ln 8 = ln ( 8 + 0 ) y''(0) = 2a_2 = \ln 8 = \ln(8+0) y ′′ ( 0 ) = 2 a 2 = ln 8 = ln ( 8 + 0 ) , which is exactly the ODE evaluated at x = 0 x = 0 x = 0 (the 2 x y 2xy 2 x y term vanishes there). Substituting the series back into y ′ ′ − 2 x y − ln ( 8 + x ) y'' - 2xy - \ln(8+x) y ′′ − 2 x y − ln ( 8 + x ) gives zero through the order computed.
Answer: y ( x ) = 5 + 5 x + 1.03972 x 2 + 1.68750 x 3 + 0.83268 x 4 + 0.10400 x 5 + 0.11250 x 6 + 0.03965 x 7 + ⋯ y(x) = 5 + 5x + 1.03972x^2 + 1.68750x^3 + 0.83268x^4 + 0.10400x^5 + 0.11250x^6 + 0.03965x^7 + \cdots y ( x ) = 5 + 5 x + 1.03972 x 2 + 1.68750 x 3 + 0.83268 x 4 + 0.10400 x 5 + 0.11250 x 6 + 0.03965 x 7 + ⋯
How far the series can be taken
Part (a) supplies ln ( 8 + x ) \ln(8+x) ln ( 8 + x ) only as far as the x 5 x^5 x 5 term, and the 2 x y 2xy 2 x y term shifts the index by one; the printed data therefore determine the coefficients a 2 a_2 a 2 through a 7 a_7 a 7 (terms up to x 7 x^7 x 7 ). Further terms follow from the same recurrence with c m = ( − 1 ) m − 1 m 8 m c_m = \dfrac{(-1)^{m-1}}{m\,8^m} c m = m 8 m ( − 1 ) m − 1 .
Set #6 (last matrix digit 6)
Question 3(k) (13 marks)
Question
Given the governing equation of the low pass filter with LRC circuit, where the inductance (L = 1 L = 1 L = 1 H), resistance (R = 100 Ω R = 100\ \Omega R = 100 Ω ), and capacitance (C = 0.0004 C = 0.0004 C = 0.0004 F) are shown in Figure Q3(b) — the shared circuit diagram (identical in all ten sets) is a single source loop in which V i n p u t V_{input} V in p u t feeds R = 100 Ω R = 100\ \Omega R = 100 Ω and L = 1 L = 1 L = 1 H in series, with C = 400 μ F C = 400\ \mu\text{F} C = 400 μ F across the output, so V o u t p u t V_{output} V o u tp u t is taken across the capacitor; see Figure Q3(a) in the original paper:
L C d 2 V o u t p u t d t 2 + R C d V o u t p u t d t + V o u t p u t = V i n p u t LC\frac{d^2V_{output}}{dt^2} + RC\frac{dV_{output}}{dt} + V_{output} = V_{input} L C d t 2 d 2 V o u tp u t + R C d t d V o u tp u t + V o u tp u t = V in p u t
You are designing the circuit to obtain output voltage, V o u t p u t V_{output} V o u tp u t by reducing/removing the high frequency noise only from the input voltage, V i n p u t V_{input} V in p u t . V i n p u t V_{input} V in p u t for time, t > 0 t > 0 t > 0 is given as:
V i n p u t = 10 cos ( t ) + 10 cos ( ( 366 ) ( t ) ) , Noise = 10 cos ( 366 t ) V_{input} = 10\cos(t) + 10\cos\big((366)(t)\big), \qquad \text{Noise} = 10\cos(366t) V in p u t = 10 cos ( t ) + 10 cos ( ( 366 ) ( t ) ) , Noise = 10 cos ( 366 t )
Find the total output voltage, V o u t p u t V_{output} V o u tp u t for time, t > 0 t > 0 t > 0 . Use the trigonometric function (sine and cosine functions) to solve the non-homogeneous part. (13 marks)
Step 1 — Substitute the component values.
L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 LC = (1)(0.0004) = 0.0004, \qquad RC = (100)(0.0004) = 0.04 L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 so the equation to solve is
0.0004 d 2 V o u t p u t d t 2 + 0.04 d V o u t p u t d t + V o u t p u t = 10 cos t + 10 cos 366 t 0.0004\frac{d^2V_{output}}{dt^2} + 0.04\frac{dV_{output}}{dt} + V_{output} = 10\cos t + 10\cos 366t 0.0004 d t 2 d 2 V o u tp u t + 0.04 d t d V o u tp u t + V o u tp u t = 10 cos t + 10 cos 366 t This is a linear, second-order, constant-coefficient ODE with a sinusoidal right-hand side, so the general solution is V o u t p u t = V h + V p V_{output} = V_h + V_p V o u tp u t = V h + V p .
Step 2 — Complementary function V h V_h V h .
Try V = e r t V = e^{rt} V = e r t . The auxiliary equation is
0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 0.0004r^2 + 0.04r + 1 = 0 \qquad \Longrightarrow \qquad r^2 + 100r + 2500 = 0 \qquad \Longrightarrow \qquad (r+50)^2 = 0 0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 (the whole equation was multiplied by 2500 2500 2500 ). Thus r = − 50 r = -50 r = − 50 is a repeated root, and
V h = ( A + B t ) e − 50 t V_h = (A + Bt)e^{-50t} V h = ( A + B t ) e − 50 t The complementary function is identical in every set, because L L L , R R R and C C C are the same throughout the paper.
Step 3 — Particular integral by undetermined coefficients.
The ODE is linear, so the two input frequencies may be treated separately and then added. For an input term 10 cos ( ω t ) 10\cos(\omega t) 10 cos ( ω t ) try
V p = a cos ( ω t ) + b sin ( ω t ) V_p = a\cos(\omega t) + b\sin(\omega t) V p = a cos ( ω t ) + b sin ( ω t ) V p ′ = − a ω sin ( ω t ) + b ω cos ( ω t ) , V p ′ ′ = − a ω 2 cos ( ω t ) − b ω 2 sin ( ω t ) V_p' = -a\omega\sin(\omega t) + b\omega\cos(\omega t), \qquad V_p'' = -a\omega^2\cos(\omega t) - b\omega^2\sin(\omega t) V p ′ = − aω sin ( ω t ) + bω cos ( ω t ) , V p ′′ = − a ω 2 cos ( ω t ) − b ω 2 sin ( ω t ) Substituting into 0.0004 V p ′ ′ + 0.04 V p ′ + V p = 10 cos ω t 0.0004V_p'' + 0.04V_p' + V_p = 10\cos\omega t 0.0004 V p ′′ + 0.04 V p ′ + V p = 10 cos ω t and collecting the cos \cos cos and sin \sin sin terms:
cos: a ( 1 − 0.0004 ω 2 ) + 0.04 ω b = 10 , sin: − 0.04 ω a + b ( 1 − 0.0004 ω 2 ) = 0 \text{cos: }\; a\left(1 - 0.0004\omega^2\right) + 0.04\omega\,b = 10, \qquad \text{sin: }\; -0.04\omega\,a + b\left(1 - 0.0004\omega^2\right) = 0 cos: a ( 1 − 0.0004 ω 2 ) + 0.04 ω b = 10 , sin: − 0.04 ω a + b ( 1 − 0.0004 ω 2 ) = 0 Write D = 1 − 0.0004 ω 2 D = 1 - 0.0004\omega^2 D = 1 − 0.0004 ω 2 and E = 0.04 ω E = 0.04\omega E = 0.04 ω . Then
a D + b E = 10 , − a E + b D = 0 ⟹ b = a E D aD + bE = 10, \qquad -aE + bD = 0 \;\Longrightarrow\; b = \frac{aE}{D} a D + b E = 10 , − a E + b D = 0 ⟹ b = D a E a ( D + E 2 D ) = 10 ⟹ a = 10 D D 2 + E 2 , b = 10 E D 2 + E 2 a\left(D + \frac{E^2}{D}\right) = 10 \;\Longrightarrow\; a = \frac{10D}{D^2+E^2}, \qquad b = \frac{10E}{D^2+E^2} a ( D + D E 2 ) = 10 ⟹ a = D 2 + E 2 10 D , b = D 2 + E 2 10 E Because E 2 = ( 0.04 ω ) 2 = 4 ( 0.0004 ω 2 ) E^2 = (0.04\omega)^2 = 4\left(0.0004\omega^2\right) E 2 = ( 0.04 ω ) 2 = 4 ( 0.0004 ω 2 ) , the denominator simplifies exactly:
D 2 + E 2 = ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 = ( 1 + 0.0004 ω 2 ) 2 D^2 + E^2 = \left(1 - 0.0004\omega^2\right)^2 + \left(0.04\omega\right)^2 = \left(1 + 0.0004\omega^2\right)^2 D 2 + E 2 = ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 = ( 1 + 0.0004 ω 2 ) 2 so
a = 10 ( 1 − 0.0004 ω 2 ) ( 1 + 0.0004 ω 2 ) 2 , b = 10 ( 0.04 ω ) ( 1 + 0.0004 ω 2 ) 2 a = \frac{10\left(1 - 0.0004\omega^2\right)}{\left(1 + 0.0004\omega^2\right)^2}, \qquad b = \frac{10\left(0.04\omega\right)}{\left(1 + 0.0004\omega^2\right)^2} a = ( 1 + 0.0004 ω 2 ) 2 10 ( 1 − 0.0004 ω 2 ) , b = ( 1 + 0.0004 ω 2 ) 2 10 ( 0.04 ω ) Step 4 — The wanted signal, ω = 1 \omega = 1 ω = 1 .
D = 1 − 0.0004 ( 1 ) = 0.9996 , E = 0.04 ( 1 ) = 0.04 , D 2 + E 2 = 0.9996 2 + 0.04 2 = 1.00080016 D = 1 - 0.0004(1) = 0.9996, \qquad E = 0.04(1) = 0.04, \qquad D^2+E^2 = 0.9996^2 + 0.04^2 = 1.00080016 D = 1 − 0.0004 ( 1 ) = 0.9996 , E = 0.04 ( 1 ) = 0.04 , D 2 + E 2 = 0.999 6 2 + 0.0 4 2 = 1.00080016 a 1 = 10 ( 0.9996 ) 1.00080016 = 9.996 1.00080016 = 9.988008 , b 1 = 10 ( 0.04 ) 1.00080016 = 0.4 1.00080016 = 0.399680 a_1 = \frac{10(0.9996)}{1.00080016} = \frac{9.996}{1.00080016} = 9.988008, \qquad b_1 = \frac{10(0.04)}{1.00080016} = \frac{0.4}{1.00080016} = 0.399680 a 1 = 1.00080016 10 ( 0.9996 ) = 1.00080016 9.996 = 9.988008 , b 1 = 1.00080016 10 ( 0.04 ) = 1.00080016 0.4 = 0.399680 V p , 1 = 9.9880 cos t + 0.3997 sin t V_{p,1} = 9.9880\cos t + 0.3997\sin t V p , 1 = 9.9880 cos t + 0.3997 sin t This passband term is the same in every set.
Step 5 — The noise, ω = 366 \omega = 366 ω = 366 .
ω 2 = 366 2 = 133956 , 0.0004 ω 2 = 53.5824 , D = 1 − 53.5824 = − 52.5824 , E = 0.04 ( 366 ) = 14.64 \omega^2 = 366^2 = 133956, \qquad 0.0004\omega^2 = 53.5824, \qquad D = 1 - 53.5824 = -52.5824, \qquad E = 0.04(366) = 14.64 ω 2 = 36 6 2 = 133956 , 0.0004 ω 2 = 53.5824 , D = 1 − 53.5824 = − 52.5824 , E = 0.04 ( 366 ) = 14.64 D 2 + E 2 = 52.5824 2 + 14.64 2 = 2764.90879 + 214.3296 = 2979.23839 = 54.5824 2 D^2 + E^2 = 52.5824^2 + 14.64^2 = 2764.90879 + 214.3296 = 2979.23839 = 54.5824^2 D 2 + E 2 = 52.582 4 2 + 14.6 4 2 = 2764.90879 + 214.3296 = 2979.23839 = 54.582 4 2 a 2 = 10 ( − 52.5824 ) 2979.23839 = − 525.824 2979.23839 = − 0.176496 , b 2 = 10 ( 14.64 ) 2979.23839 = 146.4 2979.23839 = 0.049140 a_2 = \frac{10(-52.5824)}{2979.23839} = \frac{-525.824}{2979.23839} = -0.176496, \qquad b_2 = \frac{10(14.64)}{2979.23839} = \frac{146.4}{2979.23839} = 0.049140 a 2 = 2979.23839 10 ( − 52.5824 ) = 2979.23839 − 525.824 = − 0.176496 , b 2 = 2979.23839 10 ( 14.64 ) = 2979.23839 146.4 = 0.049140 V p , 2 = − 0.17650 cos 366 t + 0.049140 sin 366 t V_{p,2} = -0.17650\cos 366t + 0.049140\sin 366t V p , 2 = − 0.17650 cos 366 t + 0.049140 sin 366 t Step 6 — General solution.
V o u t p u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.3997 sin t − 0.17650 cos 366 t + 0.049140 sin 366 t V_{output}(t) = (A + Bt)e^{-50t} + 9.9880\cos t + 0.3997\sin t - 0.17650\cos 366t + 0.049140\sin 366t V o u tp u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.3997 sin t − 0.17650 cos 366 t + 0.049140 sin 366 t Step 7 — Apply the initial conditions V o u t p u t ( 0 ) = 0 V_{output}(0) = 0 V o u tp u t ( 0 ) = 0 , V o u t p u t ′ ( 0 ) = 0 V_{output}'(0) = 0 V o u tp u t ′ ( 0 ) = 0 .
From V o u t p u t ( 0 ) = 0 V_{output}(0) = 0 V o u tp u t ( 0 ) = 0 :
A + 9.988008 − 0.176496 = 0 ⟹ A = − 9.811512 A + 9.988008 - 0.176496 = 0 \;\Longrightarrow\; A = -9.811512 A + 9.988008 − 0.176496 = 0 ⟹ A = − 9.811512 Differentiating, the complementary-function part contributes B − 50 A B - 50A B − 50 A at t = 0 t = 0 t = 0 , the signal part contributes b 1 = 0.399680 b_1 = 0.399680 b 1 = 0.399680 , and the noise part contributes 366 b 2 = 366 ( 0.049140 ) = 17.98528 366\,b_2 = 366(0.049140) = 17.98528 366 b 2 = 366 ( 0.049140 ) = 17.98528 . Hence V o u t p u t ′ ( 0 ) = 0 V_{output}'(0) = 0 V o u tp u t ′ ( 0 ) = 0 gives
B − 50 A + 0.399680 + 17.985280 = 0 B - 50A + 0.399680 + 17.985280 = 0 B − 50 A + 0.399680 + 17.985280 = 0 B = 50 ( − 9.811512 ) − 0.399680 − 17.985280 = − 490.576 − 18.38496 = − 508.961 B = 50(-9.811512) - 0.399680 - 17.985280 = -490.576 - 18.38496 = -508.961 B = 50 ( − 9.811512 ) − 0.399680 − 17.985280 = − 490.576 − 18.38496 = − 508.961 Step 8 — Check.
V o u t p u t ( 0 ) = − 9.8115 + 9.9880 − 0.1765 = 0 ✓ V_{output}(0) = -9.8115 + 9.9880 - 0.1765 = 0 \quad\checkmark V o u tp u t ( 0 ) = − 9.8115 + 9.9880 − 0.1765 = 0 ✓ V o u t p u t ′ ( 0 ) = − 508.961 + 490.576 + 0.3997 + 17.9853 = 0.000 ✓ V_{output}'(0) = -508.961 + 490.576 + 0.3997 + 17.9853 = 0.000 \quad\checkmark V o u tp u t ′ ( 0 ) = − 508.961 + 490.576 + 0.3997 + 17.9853 = 0.000 ✓
Answer: V o u t p u t ( t ) = ( − 9.8115 − 508.96 t ) e − 50 t + 9.9880 cos t + 0.3997 sin t − 0.1765 cos 366 t + 0.0491 sin 366 t V_{output}(t) = \left(-9.8115 - 508.96\,t\right)e^{-50t} + 9.9880\cos t + 0.3997\sin t - 0.1765\cos 366t + 0.0491\sin 366t V o u tp u t ( t ) = ( − 9.8115 − 508.96 t ) e − 50 t + 9.9880 cos t + 0.3997 sin t − 0.1765 cos 366 t + 0.0491 sin 366 t volts, for t > 0 t > 0 t > 0 .
The printed paper states no initial conditions anywhere. The standard rest state for a filter switched on at t = 0 t = 0 t = 0 is used: the capacitor is uncharged and there is no initial current, so V o u t p u t ( 0 ) = 0 V_{output}(0) = 0 V o u tp u t ( 0 ) = 0 and V o u t p u t ′ ( 0 ) = 0 V_{output}'(0) = 0 V o u tp u t ′ ( 0 ) = 0 . Only the two constants A A A and B B B of the complementary function change if different initial conditions are supplied — the steady-state (particular) part of the answer is unaffected.
Question 3(l) (2 marks)
Question
Refer to the steady state result of V o u t p u t V_{output} V o u tp u t only, check if the noise is successfully reduced/removed (> 90% amplitude reduction) or not. Hint: amplitude = a 2 + b 2 = \sqrt{a^2 + b^2} = a 2 + b 2 for a cos ( ω t ) + b sin ( ω t ) a\cos(\omega t) + b\sin(\omega t) a cos ( ω t ) + b sin ( ω t ) function. (2 marks)
Step 1 — Take the steady-state part only.
Both terms of the complementary function die away, since e − 50 t → 0 e^{-50t}\to 0 e − 50 t → 0 and t e − 50 t → 0 t\,e^{-50t}\to 0 t e − 50 t → 0 as t → ∞ t\to\infty t → ∞ . The steady state is therefore
V o u t p u t s s ( t ) = 9.9880 cos t + 0.3997 sin t − 0.1765 cos 366 t + 0.0491 sin 366 t V_{output}^{ss}(t) = 9.9880\cos t + 0.3997\sin t - 0.1765\cos 366t + 0.0491\sin 366t V o u tp u t ss ( t ) = 9.9880 cos t + 0.3997 sin t − 0.1765 cos 366 t + 0.0491 sin 366 t Step 2 — Amplitudes, using amplitude = a 2 + b 2 = \sqrt{a^2+b^2} = a 2 + b 2 .
component a a a b b b amplitude a 2 + b 2 \sqrt{a^2+b^2} a 2 + b 2 wanted signal, ω = 1 \omega = 1 ω = 1 9.9880 9.9880 9.9880 0.3997 0.3997 0.3997 9.9960 9.9960 9.9960 Vnoise, ω = 366 \omega = 366 ω = 366 − 0.1765 -0.1765 − 0.1765 0.0491 0.0491 0.0491 0.1832 0.1832 0.1832 V
A s i g n a l = 9.9880 2 + 0.3997 2 = 99.7603 + 0.1597 = 99.9200 = 9.9960 V A_{signal} = \sqrt{9.9880^2 + 0.3997^2} = \sqrt{99.7603 + 0.1597} = \sqrt{99.9200} = 9.9960\ \text{V} A s i g na l = 9.988 0 2 + 0.399 7 2 = 99.7603 + 0.1597 = 99.9200 = 9.9960 V A n o i s e = ( − 0.1765 ) 2 + 0.0491 2 = 0.031151 + 0.002415 = 0.033566 = 0.1832 V A_{noise} = \sqrt{(-0.1765)^2 + 0.0491^2} = \sqrt{0.031151 + 0.002415} = \sqrt{0.033566} = 0.1832\ \text{V} A n o i se = ( − 0.1765 ) 2 + 0.049 1 2 = 0.031151 + 0.002415 = 0.033566 = 0.1832 V Step 3 — Percentage amplitude reduction of the noise.
reduction = 10 − 0.1832 10 × 100 % = 98.17 % \text{reduction} = \frac{10 - 0.1832}{10}\times 100\% = 98.17\% reduction = 10 10 − 0.1832 × 100% = 98.17% Equivalently, the noise gain is 1 / ( 1 + 0.0004 ω 2 ) = 1 / 54.5824 = 0.01832 1/\left(1 + 0.0004\omega^2\right) = 1/54.5824 = 0.01832 1/ ( 1 + 0.0004 ω 2 ) = 1/54.5824 = 0.01832 .
The wanted 10 cos t 10\cos t 10 cos t component is essentially untouched: its gain is 9.9960 / 10 = 0.9996 9.9960/10 = 0.9996 9.9960/10 = 0.9996 . The high-frequency noise, however, has lost 98.17 % 98.17\% 98.17% of its amplitude, which is well past the 90 % 90\% 90% target.
Answer: Noise amplitude = 0.1832 = 0.1832 = 0.1832 V, i.e. a 98.17 % reduction from the 10 V input noise. Since 98.17 % > 90 % 98.17\% > 90\% 98.17% > 90% , the noise has been successfully reduced/removed , while the wanted signal is passed with gain 0.9996 0.9996 0.9996 .
As in part (k), the paper prints no initial conditions. This part uses only the steady-state (particular) part of the solution, so its answer does not depend on the initial conditions at all.
Question 4(a) (4 marks)
Question
Find the power series until the x 5 x^5 x 5 term for the following function
f ( x ) = ln ( 7 + x ) f(x) = \ln(7 + x) f ( x ) = ln ( 7 + x )
using the Maclaurin's Series given below
f ( x ) = f ( 0 ) + x f ′ ( 0 ) + x 2 2 ! f ′ ′ ( 0 ) + x 3 3 ! f ′ ′ ′ ( 0 ) + ⋯ f(x) = f(0) + xf'(0) + \frac{x^2}{2!}f''(0) + \frac{x^3}{3!}f'''(0) + \cdots f ( x ) = f ( 0 ) + x f ′ ( 0 ) + 2 ! x 2 f ′′ ( 0 ) + 3 ! x 3 f ′′′ ( 0 ) + ⋯
(4 marks)
Step 1 — Differentiate repeatedly and evaluate at x = 0 x = 0 x = 0 .
f ( x ) = ln ( 7 + x ) f ( 0 ) = ln 7 = 1.945910 f(x) = \ln(7+x) \qquad\qquad f(0) = \ln 7 = 1.945910 f ( x ) = ln ( 7 + x ) f ( 0 ) = ln 7 = 1.945910 f ′ ( x ) = 1 7 + x f ′ ( 0 ) = 1 7 = 0.142857 f'(x) = \frac{1}{7+x} \qquad\qquad f'(0) = \frac{1}{7} = 0.142857 f ′ ( x ) = 7 + x 1 f ′ ( 0 ) = 7 1 = 0.142857 f ′ ′ ( x ) = − 1 ( 7 + x ) 2 f ′ ′ ( 0 ) = − 1 49 = − 0.0204082 f''(x) = -\frac{1}{(7+x)^2} \qquad\qquad f''(0) = -\frac{1}{49} = -0.0204082 f ′′ ( x ) = − ( 7 + x ) 2 1 f ′′ ( 0 ) = − 49 1 = − 0.0204082 f ′ ′ ′ ( x ) = 2 ( 7 + x ) 3 f ′ ′ ′ ( 0 ) = 2 343 = 0.00583090 f'''(x) = \frac{2}{(7+x)^3} \qquad\qquad f'''(0) = \frac{2}{343} = 0.00583090 f ′′′ ( x ) = ( 7 + x ) 3 2 f ′′′ ( 0 ) = 343 2 = 0.00583090 f ( 4 ) ( x ) = − 6 ( 7 + x ) 4 f ( 4 ) ( 0 ) = − 6 2401 = − 0.00249896 f^{(4)}(x) = -\frac{6}{(7+x)^4} \qquad\qquad f^{(4)}(0) = -\frac{6}{2401} = -0.00249896 f ( 4 ) ( x ) = − ( 7 + x ) 4 6 f ( 4 ) ( 0 ) = − 2401 6 = − 0.00249896 f ( 5 ) ( x ) = 24 ( 7 + x ) 5 f ( 5 ) ( 0 ) = 24 16807 = 0.00142797 f^{(5)}(x) = \frac{24}{(7+x)^5} \qquad\qquad f^{(5)}(0) = \frac{24}{16807} = 0.00142797 f ( 5 ) ( x ) = ( 7 + x ) 5 24 f ( 5 ) ( 0 ) = 16807 24 = 0.00142797 In general f ( n ) ( 0 ) = ( − 1 ) n − 1 ( n − 1 ) ! 7 n f^{(n)}(0) = \dfrac{(-1)^{n-1}(n-1)!}{7^n} f ( n ) ( 0 ) = 7 n ( − 1 ) n − 1 ( n − 1 )! for n ≥ 1 n \ge 1 n ≥ 1 .
Step 2 — Divide each derivative by the matching factorial.
f ′ ′ ( 0 ) 2 ! = − 1 / 49 2 = − 1 98 , f ′ ′ ′ ( 0 ) 3 ! = 2 / 343 6 = 1 1029 \frac{f''(0)}{2!} = \frac{-1/49}{2} = -\frac{1}{98}, \qquad \frac{f'''(0)}{3!} = \frac{2/343}{6} = \frac{1}{1029} 2 ! f ′′ ( 0 ) = 2 − 1/49 = − 98 1 , 3 ! f ′′′ ( 0 ) = 6 2/343 = 1029 1 f ( 4 ) ( 0 ) 4 ! = − 6 / 2401 24 = − 1 9604 , f ( 5 ) ( 0 ) 5 ! = 24 / 16807 120 = 1 84035 \frac{f^{(4)}(0)}{4!} = \frac{-6/2401}{24} = -\frac{1}{9604}, \qquad \frac{f^{(5)}(0)}{5!} = \frac{24/16807}{120} = \frac{1}{84035} 4 ! f ( 4 ) ( 0 ) = 24 − 6/2401 = − 9604 1 , 5 ! f ( 5 ) ( 0 ) = 120 24/16807 = 84035 1 Step 3 — Assemble the Maclaurin series.
ln ( 7 + x ) = ln 7 + x 7 − x 2 98 + x 3 1029 − x 4 9604 + x 5 84035 + ⋯ \ln(7+x) = \ln 7 + \frac{x}{7} - \frac{x^2}{98} + \frac{x^3}{1029} - \frac{x^4}{9604} + \frac{x^5}{84035} + \cdots ln ( 7 + x ) = ln 7 + 7 x − 98 x 2 + 1029 x 3 − 9604 x 4 + 84035 x 5 + ⋯ = 1.945910 + 0.142857 x − 0.0102041 x 2 + 0.000971817 x 3 − 0.000104123 x 4 + 0.0000118998 x 5 + ⋯ = 1.945910 + 0.142857x - 0.0102041x^2 + 0.000971817x^3 - 0.000104123x^4 + 0.0000118998x^5 + \cdots = 1.945910 + 0.142857 x − 0.0102041 x 2 + 0.000971817 x 3 − 0.000104123 x 4 + 0.0000118998 x 5 + ⋯ The general term is ln ( k + x ) = ln k + ∑ n = 1 ∞ ( − 1 ) n − 1 n k n x n \ln(k+x) = \ln k + \displaystyle\sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{n\,k^n}x^n ln ( k + x ) = ln k + n = 1 ∑ ∞ n k n ( − 1 ) n − 1 x n , which for k = 7 k = 7 k = 7 reproduces every coefficient above.
Answer: ln ( 7 + x ) = ln 7 + x 7 − x 2 98 + x 3 1029 − x 4 9604 + x 5 84035 + ⋯ = 1.9459 + 0.142857 x − 0.0102041 x 2 + 0.00097182 x 3 − 0.00010412 x 4 + 0.000011900 x 5 + ⋯ \ln(7+x) = \ln 7 + \dfrac{x}{7} - \dfrac{x^2}{98} + \dfrac{x^3}{1029} - \dfrac{x^4}{9604} + \dfrac{x^5}{84035} + \cdots = 1.9459 + 0.142857x - 0.0102041x^2 + 0.00097182x^3 - 0.00010412x^4 + 0.000011900x^5 + \cdots ln ( 7 + x ) = ln 7 + 7 x − 98 x 2 + 1029 x 3 − 9604 x 4 + 84035 x 5 + ⋯ = 1.9459 + 0.142857 x − 0.0102041 x 2 + 0.00097182 x 3 − 0.00010412 x 4 + 0.000011900 x 5 + ⋯
Question 4(b) (11 marks)
Question
Apply the power series method and part (a) to find the particular solution at x = 0 x = 0 x = 0 for the following differential equation
y ′ ′ − 2 x y = ln ( 7 + x ) , y ( 0 ) = y ′ ( 0 ) = 1 y'' - 2xy = \ln(7 + x), \qquad y(0) = y'(0) = 1 y ′′ − 2 x y = ln ( 7 + x ) , y ( 0 ) = y ′ ( 0 ) = 1
(11 marks)
Step 1 — Assume a power series solution.
y = ∑ n = 0 ∞ a n x n ⟹ y ′ = ∑ n = 1 ∞ n a n x n − 1 , y ′ ′ = ∑ n = 2 ∞ n ( n − 1 ) a n x n − 2 y = \sum_{n=0}^{\infty} a_n x^n \qquad\Longrightarrow\qquad y' = \sum_{n=1}^{\infty} n\,a_n x^{n-1}, \qquad y'' = \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2} y = n = 0 ∑ ∞ a n x n ⟹ y ′ = n = 1 ∑ ∞ n a n x n − 1 , y ′′ = n = 2 ∑ ∞ n ( n − 1 ) a n x n − 2 The initial conditions fix the first two coefficients at once:
a 0 = y ( 0 ) = 1 , a 1 = y ′ ( 0 ) = 1 a_0 = y(0) = 1, \qquad a_1 = y'(0) = 1 a 0 = y ( 0 ) = 1 , a 1 = y ′ ( 0 ) = 1 Step 2 — Re-index every term as a power of x m x^m x m .
y ′ ′ = ∑ m = 0 ∞ ( m + 2 ) ( m + 1 ) a m + 2 x m , 2 x y = ∑ m = 1 ∞ 2 a m − 1 x m y'' = \sum_{m=0}^{\infty}(m+2)(m+1)a_{m+2}x^m, \qquad 2xy = \sum_{m=1}^{\infty}2a_{m-1}x^m y ′′ = m = 0 ∑ ∞ ( m + 2 ) ( m + 1 ) a m + 2 x m , 2 x y = m = 1 ∑ ∞ 2 a m − 1 x m and from part (a)
ln ( 7 + x ) = ∑ m = 0 ∞ c m x m , c 0 = ln 7 = 1.945910 , c m = ( − 1 ) m − 1 m 7 m ( m ≥ 1 ) \ln(7+x) = \sum_{m=0}^{\infty} c_m x^m, \qquad c_0 = \ln 7 = 1.945910, \qquad c_m = \frac{(-1)^{m-1}}{m\,7^m} \ \ (m \ge 1) ln ( 7 + x ) = m = 0 ∑ ∞ c m x m , c 0 = ln 7 = 1.945910 , c m = m 7 m ( − 1 ) m − 1 ( m ≥ 1 ) so c 1 = 1 7 c_1 = \dfrac{1}{7} c 1 = 7 1 , c 2 = − 1 98 c_2 = -\dfrac{1}{98} c 2 = − 98 1 , c 3 = 1 1029 c_3 = \dfrac{1}{1029} c 3 = 1029 1 , c 4 = − 1 9604 c_4 = -\dfrac{1}{9604} c 4 = − 9604 1 , c 5 = 1 84035 c_5 = \dfrac{1}{84035} c 5 = 84035 1 .
Step 3 — Equate coefficients of x m x^m x m .
( m + 2 ) ( m + 1 ) a m + 2 = 2 a m − 1 + c m , m = 0 , 1 , 2 , … , a − 1 : = 0 (m+2)(m+1)a_{m+2} = 2a_{m-1} + c_m, \qquad m = 0,1,2,\dots, \qquad a_{-1} := 0 ( m + 2 ) ( m + 1 ) a m + 2 = 2 a m − 1 + c m , m = 0 , 1 , 2 , … , a − 1 := 0 Step 4 — Generate the coefficients.
m m m recurrence result 0 2 ⋅ 1 a 2 = 2 a − 1 + ln 7 2\cdot 1\,a_2 = 2a_{-1} + \ln 7 2 ⋅ 1 a 2 = 2 a − 1 + ln 7 a 2 = ln 7 2 = 0.972955 a_2 = \dfrac{\ln 7}{2} = 0.972955 a 2 = 2 ln 7 = 0.972955 1 3 ⋅ 2 a 3 = 2 a 0 + 1 7 = 2 + 1 7 = 15 7 3\cdot 2\,a_3 = 2a_0 + \dfrac{1}{7} = 2 + \dfrac{1}{7} = \dfrac{15}{7} 3 ⋅ 2 a 3 = 2 a 0 + 7 1 = 2 + 7 1 = 7 15 a 3 = 5 14 = 0.357143 a_3 = \dfrac{5}{14} = 0.357143 a 3 = 14 5 = 0.357143 2 4 ⋅ 3 a 4 = 2 a 1 − 1 98 = 2 − 1 98 = 195 98 4\cdot 3\,a_4 = 2a_1 - \dfrac{1}{98} = 2 - \dfrac{1}{98} = \dfrac{195}{98} 4 ⋅ 3 a 4 = 2 a 1 − 98 1 = 2 − 98 1 = 98 195 a 4 = 65 392 = 0.165816 a_4 = \dfrac{65}{392} = 0.165816 a 4 = 392 65 = 0.165816 3 5 ⋅ 4 a 5 = 2 a 2 + 1 1029 = ln 7 + 1 1029 5\cdot 4\,a_5 = 2a_2 + \dfrac{1}{1029} = \ln 7 + \dfrac{1}{1029} 5 ⋅ 4 a 5 = 2 a 2 + 1029 1 = ln 7 + 1029 1 a 5 = ln 7 20 + 1 20580 = 0.097344 a_5 = \dfrac{\ln 7}{20} + \dfrac{1}{20580} = 0.097344 a 5 = 20 ln 7 + 20580 1 = 0.097344 4 6 ⋅ 5 a 6 = 2 a 3 − 1 9604 = 5 7 − 1 9604 6\cdot 5\,a_6 = 2a_3 - \dfrac{1}{9604} = \dfrac{5}{7} - \dfrac{1}{9604} 6 ⋅ 5 a 6 = 2 a 3 − 9604 1 = 7 5 − 9604 1 a 6 = 6859 288120 = 0.023806 a_6 = \dfrac{6859}{288120} = 0.023806 a 6 = 288120 6859 = 0.023806 5 7 ⋅ 6 a 7 = 2 a 4 + 1 84035 7\cdot 6\,a_7 = 2a_4 + \dfrac{1}{84035} 7 ⋅ 6 a 7 = 2 a 4 + 84035 1 a 7 = 111479 14117880 = 0.007896 a_7 = \dfrac{111479}{14117880} = 0.007896 a 7 = 14117880 111479 = 0.007896
Worked samples: a 3 = 1 6 ( 2 + 1 7 ) = 15 42 = 5 14 a_3 = \dfrac{1}{6}\left(2 + \dfrac{1}{7}\right) = \dfrac{15}{42} = \dfrac{5}{14} a 3 = 6 1 ( 2 + 7 1 ) = 42 15 = 14 5 and a 4 = 1 12 ( 2 − 1 98 ) = 195 1176 = 65 392 a_4 = \dfrac{1}{12}\left(2 - \dfrac{1}{98}\right) = \dfrac{195}{1176} = \dfrac{65}{392} a 4 = 12 1 ( 2 − 98 1 ) = 1176 195 = 392 65 .
Step 5 — Particular solution.
y ( x ) = 1 + x + 0.972955 x 2 + 0.357143 x 3 + 0.165816 x 4 + 0.097344 x 5 + 0.023806 x 6 + 0.007896 x 7 + ⋯ y(x) = 1 + x + 0.972955x^2 + 0.357143x^3 + 0.165816x^4 + 0.097344x^5 + 0.023806x^6 + 0.007896x^7 + \cdots y ( x ) = 1 + x + 0.972955 x 2 + 0.357143 x 3 + 0.165816 x 4 + 0.097344 x 5 + 0.023806 x 6 + 0.007896 x 7 + ⋯ or exactly,
y ( x ) = 1 + x + ln 7 2 x 2 + 5 14 x 3 + 65 392 x 4 + ( ln 7 20 + 1 20580 ) x 5 + 6859 288120 x 6 + 111479 14117880 x 7 + ⋯ y(x) = 1 + x + \frac{\ln 7}{2}x^2 + \frac{5}{14}x^3 + \frac{65}{392}x^4 + \left(\frac{\ln 7}{20} + \frac{1}{20580}\right)x^5 + \frac{6859}{288120}x^6 + \frac{111479}{14117880}x^7 + \cdots y ( x ) = 1 + x + 2 ln 7 x 2 + 14 5 x 3 + 392 65 x 4 + ( 20 ln 7 + 20580 1 ) x 5 + 288120 6859 x 6 + 14117880 111479 x 7 + ⋯ Check. y ( 0 ) = 1 y(0) = 1 y ( 0 ) = 1 and y ′ ( 0 ) = 1 y'(0) = 1 y ′ ( 0 ) = 1 as required, and y ′ ′ ( 0 ) = 2 a 2 = ln 7 = ln ( 7 + 0 ) y''(0) = 2a_2 = \ln 7 = \ln(7+0) y ′′ ( 0 ) = 2 a 2 = ln 7 = ln ( 7 + 0 ) , which is exactly the ODE evaluated at x = 0 x = 0 x = 0 (the 2 x y 2xy 2 x y term vanishes there). Substituting the series back into y ′ ′ − 2 x y − ln ( 7 + x ) y'' - 2xy - \ln(7+x) y ′′ − 2 x y − ln ( 7 + x ) gives zero through the order computed.
Answer: y ( x ) = 1 + x + 0.97296 x 2 + 0.35714 x 3 + 0.16582 x 4 + 0.09734 x 5 + 0.02381 x 6 + 0.00790 x 7 + ⋯ y(x) = 1 + x + 0.97296x^2 + 0.35714x^3 + 0.16582x^4 + 0.09734x^5 + 0.02381x^6 + 0.00790x^7 + \cdots y ( x ) = 1 + x + 0.97296 x 2 + 0.35714 x 3 + 0.16582 x 4 + 0.09734 x 5 + 0.02381 x 6 + 0.00790 x 7 + ⋯
How far the series can be taken
Part (a) supplies ln ( 7 + x ) \ln(7+x) ln ( 7 + x ) only as far as the x 5 x^5 x 5 term, and the 2 x y 2xy 2 x y term shifts the index by one; the printed data therefore determine the coefficients a 2 a_2 a 2 through a 7 a_7 a 7 (terms up to x 7 x^7 x 7 ). Further terms follow from the same recurrence with c m = ( − 1 ) m − 1 m 7 m c_m = \dfrac{(-1)^{m-1}}{m\,7^m} c m = m 7 m ( − 1 ) m − 1 .
Set #7 (last matrix digit 7)
Question 3(m) (13 marks)
Question
Given the governing equation of the low-pass filter with an LRC circuit, where the inductance L = 1 L = 1 L = 1 H, resistance R = 100 Ω R = 100\ \Omega R = 100 Ω and capacitance C = 0.0004 C = 0.0004 C = 0.0004 F are shown in Figure Q3(b) of the original paper:
L C d 2 V o u t p u t d t 2 + R C d V o u t p u t d t + V o u t p u t = V i n p u t LC\frac{d^2V_{output}}{dt^2} + RC\frac{dV_{output}}{dt} + V_{output} = V_{input} L C d t 2 d 2 V o u tp u t + R C d t d V o u tp u t + V o u tp u t = V in p u t
The shared circuit figure — Figure Q3(a) in the original paper — shows a series LRC low-pass filter driven by the source V i n p u t = 10 cos ( t ) + Noise V_{input} = 10\cos(t) + \text{Noise} V in p u t = 10 cos ( t ) + Noise : the resistor R = 100 Ω R = 100\ \Omega R = 100 Ω and the inductor L = 1 L = 1 L = 1 H are in the series branch, the capacitor C = 400 μ C = 400\ \mu C = 400 μ F is across the output, and V o u t p u t V_{output} V o u tp u t is taken across that capacitor. (The stem refers to "Figure Q3(b)", but only Figure Q3(a) is printed; this is a printing slip.)
You are designing the circuit to obtain output voltage, V o u t p u t V_{output} V o u tp u t by reducing/removing the high frequency noise only from the input voltage, V i n p u t V_{input} V in p u t . V i n p u t V_{input} V in p u t for time, t > 0 t > 0 t > 0 is given as:
V i n p u t = 10 cos ( t ) + 10 cos ( 377 t ) V_{input} = 10\cos(t) + 10\cos(377t) V in p u t = 10 cos ( t ) + 10 cos ( 377 t )
Note: Noise = 10 cos ( 377 t ) \text{Noise} = 10\cos(377t) Noise = 10 cos ( 377 t ) .
Find the total output voltage, V o u t p u t V_{output} V o u tp u t for time, t > 0 t > 0 t > 0 . Use the trigonometric function (sine & cosine functions) to solve the non-homogeneous part. (13 marks)
Technique. A second-order linear ODE with constant coefficients is solved in two stages: the complementary function from the auxiliary (characteristic) equation, then a particular integral for each driving tone by the method of undetermined coefficients, using a sine/cosine trial function.
Step 1 — Substitute the component values.
L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 LC = (1)(0.0004) = 0.0004, \qquad RC = (100)(0.0004) = 0.04 L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 so the equation to solve is
0.0004 d 2 V o u t p u t d t 2 + 0.04 d V o u t p u t d t + V o u t p u t = 10 cos t + 10 cos 377 t 0.0004\frac{d^2V_{output}}{dt^2} + 0.04\frac{dV_{output}}{dt} + V_{output} = 10\cos t + 10\cos 377t 0.0004 d t 2 d 2 V o u tp u t + 0.04 d t d V o u tp u t + V o u tp u t = 10 cos t + 10 cos 377 t Step 2 — Complementary function V h V_h V h .
Try V = e r t V = e^{rt} V = e r t . The auxiliary equation is
0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 0.0004r^2 + 0.04r + 1 = 0 \quad\Longrightarrow\quad r^2 + 100r + 2500 = 0 \quad\Longrightarrow\quad (r+50)^2 = 0 0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 So r = − 50 r = -50 r = − 50 is a repeated root and
V h = ( A + B t ) e − 50 t V_h = (A + Bt)e^{-50t} V h = ( A + B t ) e − 50 t Step 3 — Particular integral by undetermined coefficients.
The equation is linear, so the two input tones can be treated separately. For an input term 10 cos ( ω t ) 10\cos(\omega t) 10 cos ( ω t ) try
V p = a cos ( ω t ) + b sin ( ω t ) V_p = a\cos(\omega t) + b\sin(\omega t) V p = a cos ( ω t ) + b sin ( ω t ) V p ′ = − a ω sin ( ω t ) + b ω cos ( ω t ) , V p ′ ′ = − a ω 2 cos ( ω t ) − b ω 2 sin ( ω t ) V_p' = -a\omega\sin(\omega t) + b\omega\cos(\omega t), \qquad V_p'' = -a\omega^2\cos(\omega t) - b\omega^2\sin(\omega t) V p ′ = − aω sin ( ω t ) + bω cos ( ω t ) , V p ′′ = − a ω 2 cos ( ω t ) − b ω 2 sin ( ω t ) Substituting into 0.0004 V p ′ ′ + 0.04 V p ′ + V p = 10 cos ω t 0.0004V_p'' + 0.04V_p' + V_p = 10\cos\omega t 0.0004 V p ′′ + 0.04 V p ′ + V p = 10 cos ω t and collecting the cos \cos cos and sin \sin sin terms:
cos: a ( 1 − 0.0004 ω 2 ) + 0.04 ω b = 10 , sin: − 0.04 ω a + b ( 1 − 0.0004 ω 2 ) = 0 \text{cos: }\; a(1 - 0.0004\omega^2) + 0.04\omega\,b = 10, \qquad \text{sin: }\; -0.04\omega\,a + b(1 - 0.0004\omega^2) = 0 cos: a ( 1 − 0.0004 ω 2 ) + 0.04 ω b = 10 , sin: − 0.04 ω a + b ( 1 − 0.0004 ω 2 ) = 0 Write D = 1 − 0.0004 ω 2 D = 1 - 0.0004\omega^2 D = 1 − 0.0004 ω 2 and E = 0.04 ω E = 0.04\omega E = 0.04 ω . Then
a D + b E = 10 , − a E + b D = 0 ⟹ b = a E D aD + bE = 10, \qquad -aE + bD = 0 \;\Longrightarrow\; b = \frac{aE}{D} a D + b E = 10 , − a E + b D = 0 ⟹ b = D a E a ( D + E 2 D ) = 10 ⟹ a = 10 D D 2 + E 2 , b = 10 E D 2 + E 2 a\left(D + \frac{E^2}{D}\right) = 10 \;\Longrightarrow\; a = \frac{10D}{D^2+E^2}, \qquad b = \frac{10E}{D^2+E^2} a ( D + D E 2 ) = 10 ⟹ a = D 2 + E 2 10 D , b = D 2 + E 2 10 E Since
D 2 + E 2 = ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 = 1 + 0.0008 ω 2 + 1.6 × 10 − 7 ω 4 = ( 1 + 0.0004 ω 2 ) 2 D^2 + E^2 = (1-0.0004\omega^2)^2 + (0.04\omega)^2 = 1 + 0.0008\omega^2 + 1.6\times10^{-7}\omega^4 = (1 + 0.0004\omega^2)^2 D 2 + E 2 = ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 = 1 + 0.0008 ω 2 + 1.6 × 1 0 − 7 ω 4 = ( 1 + 0.0004 ω 2 ) 2 the coefficients simplify to
a = 10 D ( 1 + 0.0004 ω 2 ) 2 , b = 10 E ( 1 + 0.0004 ω 2 ) 2 a = \frac{10D}{(1 + 0.0004\omega^2)^2}, \qquad b = \frac{10E}{(1 + 0.0004\omega^2)^2} a = ( 1 + 0.0004 ω 2 ) 2 10 D , b = ( 1 + 0.0004 ω 2 ) 2 10 E Step 4 — The wanted signal, ω = 1 \omega = 1 ω = 1 .
D = 1 − 0.0004 ( 1 ) 2 = 0.9996 , E = 0.04 ( 1 ) = 0.04 , ( 1 + 0.0004 ) 2 = 1.00080016 D = 1 - 0.0004(1)^2 = 0.9996, \qquad E = 0.04(1) = 0.04, \qquad (1 + 0.0004)^2 = 1.00080016 D = 1 − 0.0004 ( 1 ) 2 = 0.9996 , E = 0.04 ( 1 ) = 0.04 , ( 1 + 0.0004 ) 2 = 1.00080016 a 1 = 9.996 1.00080016 = 9.98801 , b 1 = 0.4 1.00080016 = 0.399680 a_1 = \frac{9.996}{1.00080016} = 9.98801, \qquad b_1 = \frac{0.4}{1.00080016} = 0.399680 a 1 = 1.00080016 9.996 = 9.98801 , b 1 = 1.00080016 0.4 = 0.399680 V p , 1 = 9.9880 cos t + 0.39968 sin t V_{p,1} = 9.9880\cos t + 0.39968\sin t V p , 1 = 9.9880 cos t + 0.39968 sin t Step 5 — The noise, ω = 377 \omega = 377 ω = 377 .
ω 2 = 142129 , 0.0004 ω 2 = 56.8516 \omega^2 = 142129, \qquad 0.0004\omega^2 = 56.8516 ω 2 = 142129 , 0.0004 ω 2 = 56.8516 D = 1 − 56.8516 = − 55.8516 , E = 0.04 ( 377 ) = 15.08 D = 1 - 56.8516 = -55.8516, \qquad E = 0.04(377) = 15.08 D = 1 − 56.8516 = − 55.8516 , E = 0.04 ( 377 ) = 15.08 D 2 + E 2 = ( − 55.8516 ) 2 + ( 15.08 ) 2 = 3119.4012 + 227.4064 = 3346.8076 ( = 57.8516 2 ) D^2 + E^2 = (-55.8516)^2 + (15.08)^2 = 3119.4012 + 227.4064 = 3346.8076 \quad (= 57.8516^2) D 2 + E 2 = ( − 55.8516 ) 2 + ( 15.08 ) 2 = 3119.4012 + 227.4064 = 3346.8076 ( = 57.851 6 2 ) a 2 = 10 ( − 55.8516 ) 3346.8076 = − 558.516 3346.8076 = − 0.166880 , b 2 = 10 ( 15.08 ) 3346.8076 = 150.8 3346.8076 = 0.0450579 a_2 = \frac{10(-55.8516)}{3346.8076} = \frac{-558.516}{3346.8076} = -0.166880, \qquad b_2 = \frac{10(15.08)}{3346.8076} = \frac{150.8}{3346.8076} = 0.0450579 a 2 = 3346.8076 10 ( − 55.8516 ) = 3346.8076 − 558.516 = − 0.166880 , b 2 = 3346.8076 10 ( 15.08 ) = 3346.8076 150.8 = 0.0450579 V p , 2 = − 0.16688 cos 377 t + 0.045058 sin 377 t V_{p,2} = -0.16688\cos 377t + 0.045058\sin 377t V p , 2 = − 0.16688 cos 377 t + 0.045058 sin 377 t Step 6 — General solution.
V o u t p u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.16688 cos 377 t + 0.045058 sin 377 t V_{output}(t) = (A + Bt)e^{-50t} + 9.9880\cos t + 0.39968\sin t - 0.16688\cos 377t + 0.045058\sin 377t V o u tp u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.16688 cos 377 t + 0.045058 sin 377 t Step 7 — Apply the initial conditions.
The paper prints no initial conditions, so the standard physical starting state of a filter switched on at t = 0 t = 0 t = 0 from rest is used: V o u t p u t ( 0 ) = 0 V_{output}(0) = 0 V o u tp u t ( 0 ) = 0 and V o u t p u t ′ ( 0 ) = 0 V_{output}'(0) = 0 V o u tp u t ′ ( 0 ) = 0 (capacitor uncharged, no initial current); see the note below.
V o u t p u t ( 0 ) = A + 9.988008 − 0.166880 = 0 ⟹ A = − 9.821128 V_{output}(0) = A + 9.988008 - 0.166880 = 0 \;\Longrightarrow\; A = -9.821128 V o u tp u t ( 0 ) = A + 9.988008 − 0.166880 = 0 ⟹ A = − 9.821128 Differentiating the general solution,
V o u t p u t ′ ( t ) = [ B − 50 ( A + B t ) ] e − 50 t − 9.988008 sin t + 0.399680 cos t + 62.9138 sin 377 t + 16.9868 cos 377 t V_{output}'(t) = \big[B - 50(A+Bt)\big]e^{-50t} - 9.988008\sin t + 0.399680\cos t + 62.9138\sin 377t + 16.9868\cos 377t V o u tp u t ′ ( t ) = [ B − 50 ( A + B t ) ] e − 50 t − 9.988008 sin t + 0.399680 cos t + 62.9138 sin 377 t + 16.9868 cos 377 t since ( 0.166880 ) ( 377 ) = 62.9138 (0.166880)(377) = 62.9138 ( 0.166880 ) ( 377 ) = 62.9138 and ( 0.0450579 ) ( 377 ) = 16.9868 (0.0450579)(377) = 16.9868 ( 0.0450579 ) ( 377 ) = 16.9868 . At t = 0 t = 0 t = 0 :
V o u t p u t ′ ( 0 ) = B − 50 A + 0.399680 + 16.986814 = 0 V_{output}'(0) = B - 50A + 0.399680 + 16.986814 = 0 V o u tp u t ′ ( 0 ) = B − 50 A + 0.399680 + 16.986814 = 0 B = 50 ( − 9.821128 ) − 0.399680 − 16.986814 = − 491.0564 − 17.386494 = − 508.4429 B = 50(-9.821128) - 0.399680 - 16.986814 = -491.0564 - 17.386494 = -508.4429 B = 50 ( − 9.821128 ) − 0.399680 − 16.986814 = − 491.0564 − 17.386494 = − 508.4429 Step 8 — Total output voltage.
V o u t p u t ( t ) = ( − 9.8211 − 508.44 t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.16688 cos 377 t + 0.045058 sin 377 t V , t > 0 V_{output}(t) = \left(-9.8211 - 508.44\,t\right)e^{-50t} + 9.9880\cos t + 0.39968\sin t - 0.16688\cos 377t + 0.045058\sin 377t \ \ \text{V}, \qquad t > 0 V o u tp u t ( t ) = ( − 9.8211 − 508.44 t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.16688 cos 377 t + 0.045058 sin 377 t V , t > 0 The exponential term decays with time constant 1 / 50 = 0.02 1/50 = 0.02 1/50 = 0.02 s, so after roughly 0.1 0.1 0.1 s the output has settled to the steady-state (particular) part
V s s ( t ) = 9.9880 cos t + 0.39968 sin t − 0.16688 cos 377 t + 0.045058 sin 377 t V V_{ss}(t) = 9.9880\cos t + 0.39968\sin t - 0.16688\cos 377t + 0.045058\sin 377t \ \ \text{V} V ss ( t ) = 9.9880 cos t + 0.39968 sin t − 0.16688 cos 377 t + 0.045058 sin 377 t V
The printed question supplies the governing equation and V i n p u t V_{input} V in p u t but no values for V o u t p u t ( 0 ) V_{output}(0) V o u tp u t ( 0 ) and V o u t p u t ′ ( 0 ) V_{output}'(0) V o u tp u t ′ ( 0 ) . The standard reading for a filter switched on at t = 0 t = 0 t = 0 is the rest state V o u t p u t ( 0 ) = V o u t p u t ′ ( 0 ) = 0 V_{output}(0) = V_{output}'(0) = 0 V o u tp u t ( 0 ) = V o u tp u t ′ ( 0 ) = 0 (capacitor uncharged, zero initial current), and that is what is used above. If different initial conditions were given, only the constants A A A and B B B of the complementary function would change; the steady-state (particular) part would be unaffected.
Answer: V o u t p u t ( t ) = ( − 9.8211 − 508.44 t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.16688 cos 377 t + 0.045058 sin 377 t V_{output}(t) = \left(-9.8211 - 508.44\,t\right)e^{-50t} + 9.9880\cos t + 0.39968\sin t - 0.16688\cos 377t + 0.045058\sin 377t V o u tp u t ( t ) = ( − 9.8211 − 508.44 t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.16688 cos 377 t + 0.045058 sin 377 t V for t > 0 t > 0 t > 0 .
Question 3(n) (2 marks)
Question
Refer to the steady state result of V o u t p u t V_{output} V o u tp u t only, check if the noise is successfully reduced/removed (greater than 90% amplitude reduction) or not. Hint: amplitude = a 2 + b 2 = \sqrt{a^2 + b^2} = a 2 + b 2 for a cos ( ω t ) + b sin ( ω t ) a\cos(\omega t) + b\sin(\omega t) a cos ( ω t ) + b sin ( ω t ) function. (2 marks)
From part (m), the steady-state output is
V s s ( t ) = 9.9880 cos t + 0.39968 sin t − 0.16688 cos 377 t + 0.045058 sin 377 t V_{ss}(t) = 9.9880\cos t + 0.39968\sin t - 0.16688\cos 377t + 0.045058\sin 377t V ss ( t ) = 9.9880 cos t + 0.39968 sin t − 0.16688 cos 377 t + 0.045058 sin 377 t Apply amplitude = a 2 + b 2 = \sqrt{a^2+b^2} = a 2 + b 2 to each tone separately.
Wanted signal, ω = 1 \omega = 1 ω = 1 :
amplitude = ( 9.988008 ) 2 + ( 0.399680 ) 2 = 99.76030 + 0.159744 = 99.92005 = 9.99600 V \text{amplitude} = \sqrt{(9.988008)^2 + (0.399680)^2} = \sqrt{99.76030 + 0.159744} = \sqrt{99.92005} = 9.99600 \ \text{V} amplitude = ( 9.988008 ) 2 + ( 0.399680 ) 2 = 99.76030 + 0.159744 = 99.92005 = 9.99600 V The input amplitude of the wanted signal is 10 10 10 V, so it passes at
9.99600 10 × 100 % = 99.96 % \frac{9.99600}{10}\times 100\% = 99.96\% 10 9.99600 × 100% = 99.96% that is, essentially unchanged — as a low-pass filter should behave in its passband.
Noise, ω = 377 \omega = 377 ω = 377 :
amplitude = ( − 0.166880 ) 2 + ( 0.0450579 ) 2 = 0.027849 + 0.002030 = 0.029879 = 0.172856 V \text{amplitude} = \sqrt{(-0.166880)^2 + (0.0450579)^2} = \sqrt{0.027849 + 0.002030} = \sqrt{0.029879} = 0.172856 \ \text{V} amplitude = ( − 0.166880 ) 2 + ( 0.0450579 ) 2 = 0.027849 + 0.002030 = 0.029879 = 0.172856 V The input noise amplitude is 10 10 10 V, so the reduction is
reduction = 10 − 0.172856 10 × 100 % = 98.27 % \text{reduction} = \frac{10 - 0.172856}{10}\times 100\% = 98.27\% reduction = 10 10 − 0.172856 × 100% = 98.27% Equivalently, from the transfer-function magnitude ∣ H ( ω ) ∣ = 1 1 + 0.0004 ω 2 |H(\omega)| = \dfrac{1}{1 + 0.0004\omega^2} ∣ H ( ω ) ∣ = 1 + 0.0004 ω 2 1 , the noise amplitude is
10 1 + 0.0004 ( 142129 ) = 10 57.8516 = 0.172856 V \frac{10}{1 + 0.0004(142129)} = \frac{10}{57.8516} = 0.172856 \ \text{V} 1 + 0.0004 ( 142129 ) 10 = 57.8516 10 = 0.172856 V Since 98.27 % 98.27\% 98.27% is greater than the required 90 % 90\% 90% , the noise is successfully removed.
Answer: Noise amplitude = 0.1729 = 0.1729 = 0.1729 V (down from 10 10 10 V), a reduction of 98.27 % 98.27\% 98.27% , which exceeds 90 % 90\% 90% — the noise is successfully removed. The wanted signal is attenuated by only 0.04 % 0.04\% 0.04% (gain 0.99960 0.99960 0.99960 ).
Question 4(a) (4 marks)
Question
Find the power series until the x 5 x^5 x 5 term for the following function
f ( x ) = ln ( 3 + x ) f(x) = \ln(3 + x) f ( x ) = ln ( 3 + x )
using the Maclaurin's Series given below
f ( x ) = f ( 0 ) + x f ′ ( 0 ) + x 2 2 ! f ′ ′ ( 0 ) + x 3 3 ! f ′ ′ ′ ( 0 ) + ⋯ f(x) = f(0) + xf'(0) + \frac{x^2}{2!}f''(0) + \frac{x^3}{3!}f'''(0) + \cdots f ( x ) = f ( 0 ) + x f ′ ( 0 ) + 2 ! x 2 f ′′ ( 0 ) + 3 ! x 3 f ′′′ ( 0 ) + ⋯
(4 marks)
Technique. Compute the successive derivatives of f f f at x = 0 x = 0 x = 0 and substitute them into the Maclaurin expansion.
f ( x ) = ln ( 3 + x ) ⇒ f ( 0 ) = ln 3 f(x) = \ln(3+x) \;\Rightarrow\; f(0) = \ln 3 f ( x ) = ln ( 3 + x ) ⇒ f ( 0 ) = ln 3 f ′ ( x ) = 1 3 + x ⇒ f ′ ( 0 ) = 1 3 f'(x) = \frac{1}{3+x} \;\Rightarrow\; f'(0) = \frac{1}{3} f ′ ( x ) = 3 + x 1 ⇒ f ′ ( 0 ) = 3 1 f ′ ′ ( x ) = − 1 ( 3 + x ) 2 ⇒ f ′ ′ ( 0 ) = − 1 9 f''(x) = -\frac{1}{(3+x)^2} \;\Rightarrow\; f''(0) = -\frac{1}{9} f ′′ ( x ) = − ( 3 + x ) 2 1 ⇒ f ′′ ( 0 ) = − 9 1 f ′ ′ ′ ( x ) = 2 ( 3 + x ) 3 ⇒ f ′ ′ ′ ( 0 ) = 2 27 f'''(x) = \frac{2}{(3+x)^3} \;\Rightarrow\; f'''(0) = \frac{2}{27} f ′′′ ( x ) = ( 3 + x ) 3 2 ⇒ f ′′′ ( 0 ) = 27 2 f ( 4 ) ( x ) = − 6 ( 3 + x ) 4 ⇒ f ( 4 ) ( 0 ) = − 6 81 = − 2 27 f^{(4)}(x) = -\frac{6}{(3+x)^4} \;\Rightarrow\; f^{(4)}(0) = -\frac{6}{81} = -\frac{2}{27} f ( 4 ) ( x ) = − ( 3 + x ) 4 6 ⇒ f ( 4 ) ( 0 ) = − 81 6 = − 27 2 f ( 5 ) ( x ) = 24 ( 3 + x ) 5 ⇒ f ( 5 ) ( 0 ) = 24 243 = 8 81 f^{(5)}(x) = \frac{24}{(3+x)^5} \;\Rightarrow\; f^{(5)}(0) = \frac{24}{243} = \frac{8}{81} f ( 5 ) ( x ) = ( 3 + x ) 5 24 ⇒ f ( 5 ) ( 0 ) = 243 24 = 81 8 Substituting into the Maclaurin series:
f ( x ) = ln 3 + x ( 1 3 ) + x 2 2 ! ( − 1 9 ) + x 3 3 ! ( 2 27 ) + x 4 4 ! ( − 2 27 ) + x 5 5 ! ( 8 81 ) + ⋯ f(x) = \ln 3 + x\left(\frac{1}{3}\right) + \frac{x^2}{2!}\left(-\frac{1}{9}\right) + \frac{x^3}{3!}\left(\frac{2}{27}\right) + \frac{x^4}{4!}\left(-\frac{2}{27}\right) + \frac{x^5}{5!}\left(\frac{8}{81}\right) + \cdots f ( x ) = ln 3 + x ( 3 1 ) + 2 ! x 2 ( − 9 1 ) + 3 ! x 3 ( 27 2 ) + 4 ! x 4 ( − 27 2 ) + 5 ! x 5 ( 81 8 ) + ⋯ f ( x ) = ln 3 + x 3 − x 2 18 + x 3 81 − x 4 324 + x 5 1215 + ⋯ f(x) = \ln 3 + \frac{x}{3} - \frac{x^2}{18} + \frac{x^3}{81} - \frac{x^4}{324} + \frac{x^5}{1215} + \cdots f ( x ) = ln 3 + 3 x − 18 x 2 + 81 x 3 − 324 x 4 + 1215 x 5 + ⋯ Check. Writing ln ( 3 + x ) = ln 3 + ln ( 1 + x 3 ) \ln(3+x) = \ln 3 + \ln\left(1 + \dfrac{x}{3}\right) ln ( 3 + x ) = ln 3 + ln ( 1 + 3 x ) and using ln ( 1 + u ) = u − u 2 2 + u 3 3 − u 4 4 + u 5 5 − ⋯ \ln(1+u) = u - \dfrac{u^2}{2} + \dfrac{u^3}{3} - \dfrac{u^4}{4} + \dfrac{u^5}{5} - \cdots ln ( 1 + u ) = u − 2 u 2 + 3 u 3 − 4 u 4 + 5 u 5 − ⋯ with u = x / 3 u = x/3 u = x /3 gives the same coefficients. The series converges for ∣ x ∣ < 3 |x| < 3 ∣ x ∣ < 3 , the distance from x = 0 x = 0 x = 0 to the singularity of ln ( 3 + x ) \ln(3+x) ln ( 3 + x ) at x = − 3 x = -3 x = − 3 .
Answer: ln ( 3 + x ) = ln 3 + x 3 − x 2 18 + x 3 81 − x 4 324 + x 5 1215 + ⋯ \ln(3+x) = \ln 3 + \dfrac{x}{3} - \dfrac{x^2}{18} + \dfrac{x^3}{81} - \dfrac{x^4}{324} + \dfrac{x^5}{1215} + \cdots ln ( 3 + x ) = ln 3 + 3 x − 18 x 2 + 81 x 3 − 324 x 4 + 1215 x 5 + ⋯
Question 4(b) (11 marks)
Question
Apply the power series method and part (a) to find the particular solution at x = 0 x = 0 x = 0 for the following differential equation
y ′ ′ − 2 x y = ln ( 3 + x ) , y ( 0 ) = y ′ ( 0 ) = 9 y'' - 2xy = \ln(3 + x), \qquad y(0) = y'(0) = 9 y ′′ − 2 x y = ln ( 3 + x ) , y ( 0 ) = y ′ ( 0 ) = 9
(11 marks)
Technique. Assume a power-series solution y = ∑ n = 0 ∞ a n x n y = \sum_{n=0}^{\infty} a_n x^n y = ∑ n = 0 ∞ a n x n , substitute into the ODE, and match coefficients of x m x^m x m . The forcing term ln ( 3 + x ) \ln(3+x) ln ( 3 + x ) is expanded using part (a).
Step 1 — Write the three pieces as power series.
y = ∑ n = 0 ∞ a n x n , y ′ ′ = ∑ n = 2 ∞ n ( n − 1 ) a n x n − 2 = ∑ m = 0 ∞ ( m + 2 ) ( m + 1 ) a m + 2 x m y = \sum_{n=0}^{\infty} a_n x^n, \qquad y'' = \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2} = \sum_{m=0}^{\infty} (m+2)(m+1)a_{m+2}\,x^m y = n = 0 ∑ ∞ a n x n , y ′′ = n = 2 ∑ ∞ n ( n − 1 ) a n x n − 2 = m = 0 ∑ ∞ ( m + 2 ) ( m + 1 ) a m + 2 x m 2 x y = 2 ∑ n = 0 ∞ a n x n + 1 = ∑ m = 1 ∞ 2 a m − 1 x m 2xy = 2\sum_{n=0}^{\infty} a_n x^{n+1} = \sum_{m=1}^{\infty} 2a_{m-1}\,x^m 2 x y = 2 n = 0 ∑ ∞ a n x n + 1 = m = 1 ∑ ∞ 2 a m − 1 x m ln ( 3 + x ) = ∑ m = 0 ∞ c m x m , c 0 = ln 3 , c 1 = 1 3 , c 2 = − 1 18 , c 3 = 1 81 , c 4 = − 1 324 , c 5 = 1 1215 , … \ln(3+x) = \sum_{m=0}^{\infty} c_m x^m, \qquad c_0 = \ln 3,\; c_1 = \frac{1}{3},\; c_2 = -\frac{1}{18},\; c_3 = \frac{1}{81},\; c_4 = -\frac{1}{324},\; c_5 = \frac{1}{1215}, \dots ln ( 3 + x ) = m = 0 ∑ ∞ c m x m , c 0 = ln 3 , c 1 = 3 1 , c 2 = − 18 1 , c 3 = 81 1 , c 4 = − 324 1 , c 5 = 1215 1 , … Step 2 — Equate coefficients of x m x^m x m .
y ′ ′ − 2 x y = ln ( 3 + x ) y'' - 2xy = \ln(3+x) y ′′ − 2 x y = ln ( 3 + x ) 2 a 2 + ∑ m = 1 ∞ [ ( m + 2 ) ( m + 1 ) a m + 2 − 2 a m − 1 ] x m = c 0 + ∑ m = 1 ∞ c m x m 2a_2 + \sum_{m=1}^{\infty}\Big[(m+2)(m+1)a_{m+2} - 2a_{m-1}\Big]x^m = c_0 + \sum_{m=1}^{\infty} c_m x^m 2 a 2 + m = 1 ∑ ∞ [ ( m + 2 ) ( m + 1 ) a m + 2 − 2 a m − 1 ] x m = c 0 + m = 1 ∑ ∞ c m x m Comparing the constant terms and then the coefficient of x m x^m x m for m ≥ 1 m \ge 1 m ≥ 1 gives the recurrence
a 2 = c 0 2 = ln 3 2 , a m + 2 = 2 a m − 1 + c m ( m + 2 ) ( m + 1 ) , m ≥ 1 a_2 = \frac{c_0}{2} = \frac{\ln 3}{2}, \qquad a_{m+2} = \frac{2a_{m-1} + c_m}{(m+2)(m+1)}, \qquad m \ge 1 a 2 = 2 c 0 = 2 ln 3 , a m + 2 = ( m + 2 ) ( m + 1 ) 2 a m − 1 + c m , m ≥ 1 Step 3 — Seed the series from the initial conditions.
y ( 0 ) = a 0 = 9 , y ′ ( 0 ) = a 1 = 9 y(0) = a_0 = 9, \qquad y'(0) = a_1 = 9 y ( 0 ) = a 0 = 9 , y ′ ( 0 ) = a 1 = 9 Step 4 — Generate the coefficients.
m = 0 : a 2 = ln 3 2 = 0.549306 m = 0: \quad a_2 = \frac{\ln 3}{2} = 0.549306 m = 0 : a 2 = 2 ln 3 = 0.549306 m = 1 : a 3 = 2 a 0 + c 1 3 ⋅ 2 = 18 + 1 3 6 = 55 / 3 6 = 55 18 = 3.055556 m = 1: \quad a_3 = \frac{2a_0 + c_1}{3\cdot 2} = \frac{18 + \frac{1}{3}}{6} = \frac{55/3}{6} = \frac{55}{18} = 3.055556 m = 1 : a 3 = 3 ⋅ 2 2 a 0 + c 1 = 6 18 + 3 1 = 6 55/3 = 18 55 = 3.055556 m = 2 : a 4 = 2 a 1 + c 2 4 ⋅ 3 = 18 − 1 18 12 = 323 / 18 12 = 323 216 = 1.495370 m = 2: \quad a_4 = \frac{2a_1 + c_2}{4\cdot 3} = \frac{18 - \frac{1}{18}}{12} = \frac{323/18}{12} = \frac{323}{216} = 1.495370 m = 2 : a 4 = 4 ⋅ 3 2 a 1 + c 2 = 12 18 − 18 1 = 12 323/18 = 216 323 = 1.495370 m = 3 : a 5 = 2 a 2 + c 3 5 ⋅ 4 = ln 3 + 1 81 20 = ln 3 20 + 1 1620 = 0.0555479 m = 3: \quad a_5 = \frac{2a_2 + c_3}{5\cdot 4} = \frac{\ln 3 + \frac{1}{81}}{20} = \frac{\ln 3}{20} + \frac{1}{1620} = 0.0555479 m = 3 : a 5 = 5 ⋅ 4 2 a 2 + c 3 = 20 ln 3 + 81 1 = 20 ln 3 + 1620 1 = 0.0555479 m = 4 : a 6 = 2 a 3 + c 4 6 ⋅ 5 = 55 9 − 1 324 30 = 1979 324 30 = 1979 9720 = 0.203601 m = 4: \quad a_6 = \frac{2a_3 + c_4}{6\cdot 5} = \frac{\frac{55}{9} - \frac{1}{324}}{30} = \frac{\frac{1979}{324}}{30} = \frac{1979}{9720} = 0.203601 m = 4 : a 6 = 6 ⋅ 5 2 a 3 + c 4 = 30 9 55 − 324 1 = 30 324 1979 = 9720 1979 = 0.203601 m = 5 : a 7 = 2 a 4 + c 5 7 ⋅ 6 = 323 108 + 1 1215 42 = 14539 4860 42 = 14539 204120 = 2077 29160 = 0.0712277 m = 5: \quad a_7 = \frac{2a_4 + c_5}{7\cdot 6} = \frac{\frac{323}{108} + \frac{1}{1215}}{42} = \frac{\frac{14539}{4860}}{42} = \frac{14539}{204120} = \frac{2077}{29160} = 0.0712277 m = 5 : a 7 = 7 ⋅ 6 2 a 4 + c 5 = 42 108 323 + 1215 1 = 42 4860 14539 = 204120 14539 = 29160 2077 = 0.0712277 The recurrence can be continued indefinitely in the same way; the coefficients above give the solution through x 7 x^7 x 7 .
Step 5 — Assemble the particular solution.
y ( x ) = 9 + 9 x + ln 3 2 x 2 + 55 18 x 3 + 323 216 x 4 + ( ln 3 20 + 1 1620 ) x 5 + 1979 9720 x 6 + 2077 29160 x 7 + ⋯ y(x) = 9 + 9x + \frac{\ln 3}{2}x^2 + \frac{55}{18}x^3 + \frac{323}{216}x^4 + \left(\frac{\ln 3}{20} + \frac{1}{1620}\right)x^5 + \frac{1979}{9720}x^6 + \frac{2077}{29160}x^7 + \cdots y ( x ) = 9 + 9 x + 2 ln 3 x 2 + 18 55 x 3 + 216 323 x 4 + ( 20 ln 3 + 1620 1 ) x 5 + 9720 1979 x 6 + 29160 2077 x 7 + ⋯ Numerically,
y ( x ) ≈ 9 + 9 x + 0.549306 x 2 + 3.05556 x 3 + 1.49537 x 4 + 0.0555479 x 5 + 0.203601 x 6 + 0.0712277 x 7 + ⋯ y(x) \approx 9 + 9x + 0.549306\,x^2 + 3.05556\,x^3 + 1.49537\,x^4 + 0.0555479\,x^5 + 0.203601\,x^6 + 0.0712277\,x^7 + \cdots y ( x ) ≈ 9 + 9 x + 0.549306 x 2 + 3.05556 x 3 + 1.49537 x 4 + 0.0555479 x 5 + 0.203601 x 6 + 0.0712277 x 7 + ⋯ Because the only singularity of ln ( 3 + x ) \ln(3+x) ln ( 3 + x ) is at x = − 3 x = -3 x = − 3 , this series converges for ∣ x ∣ < 3 |x| < 3 ∣ x ∣ < 3 .
Check. Substituting the series back into y ′ ′ − 2 x y y'' - 2xy y ′′ − 2 x y reproduces ln ( 3 + x ) \ln(3+x) ln ( 3 + x ) term by term by construction, and y ( 0 ) = 9 y(0) = 9 y ( 0 ) = 9 , y ′ ( 0 ) = 9 y'(0) = 9 y ′ ( 0 ) = 9 as required.
Answer: y ( x ) = 9 + 9 x + ln 3 2 x 2 + 55 18 x 3 + 323 216 x 4 + ( ln 3 20 + 1 1620 ) x 5 + 1979 9720 x 6 + 2077 29160 x 7 + ⋯ y(x) = 9 + 9x + \dfrac{\ln 3}{2}x^2 + \dfrac{55}{18}x^3 + \dfrac{323}{216}x^4 + \left(\dfrac{\ln 3}{20} + \dfrac{1}{1620}\right)x^5 + \dfrac{1979}{9720}x^6 + \dfrac{2077}{29160}x^7 + \cdots y ( x ) = 9 + 9 x + 2 ln 3 x 2 + 18 55 x 3 + 216 323 x 4 + ( 20 ln 3 + 1620 1 ) x 5 + 9720 1979 x 6 + 29160 2077 x 7 + ⋯
Set #8 (last matrix digit 8)
Question 3(o) (13 marks)
Question
Given the governing equation of the low-pass filter with an LRC circuit, where the inductance L = 1 L = 1 L = 1 H, resistance R = 100 Ω R = 100\ \Omega R = 100 Ω and capacitance C = 0.0004 C = 0.0004 C = 0.0004 F are shown in Figure Q3(b) of the original paper:
L C d 2 V o u t p u t d t 2 + R C d V o u t p u t d t + V o u t p u t = V i n p u t LC\frac{d^2V_{output}}{dt^2} + RC\frac{dV_{output}}{dt} + V_{output} = V_{input} L C d t 2 d 2 V o u tp u t + R C d t d V o u tp u t + V o u tp u t = V in p u t
The shared circuit figure — Figure Q3(a) in the original paper — shows a series LRC low-pass filter driven by the source V i n p u t = 10 cos ( t ) + Noise V_{input} = 10\cos(t) + \text{Noise} V in p u t = 10 cos ( t ) + Noise : the resistor R = 100 Ω R = 100\ \Omega R = 100 Ω and the inductor L = 1 L = 1 L = 1 H are in the series branch, the capacitor C = 400 μ C = 400\ \mu C = 400 μ F is across the output, and V o u t p u t V_{output} V o u tp u t is taken across that capacitor. (The stem refers to "Figure Q3(b)", but only Figure Q3(a) is printed; this is a printing slip.)
You are designing the circuit to obtain output voltage, V o u t p u t V_{output} V o u tp u t by reducing/removing the high frequency noise only from the input voltage, V i n p u t V_{input} V in p u t . V i n p u t V_{input} V in p u t for time, t > 0 t > 0 t > 0 is given as:
V i n p u t = 10 cos ( t ) + 10 cos ( 388 t ) V_{input} = 10\cos(t) + 10\cos(388t) V in p u t = 10 cos ( t ) + 10 cos ( 388 t )
Note: Noise = 10 cos ( 388 t ) \text{Noise} = 10\cos(388t) Noise = 10 cos ( 388 t ) .
Find the total output voltage, V o u t p u t V_{output} V o u tp u t for time, t > 0 t > 0 t > 0 . Use the trigonometric function (sine & cosine functions) to solve the non-homogeneous part. (13 marks)
Technique. A second-order linear ODE with constant coefficients is solved in two stages: the complementary function from the auxiliary (characteristic) equation, then a particular integral for each driving tone by the method of undetermined coefficients, using a sine/cosine trial function.
Step 1 — Substitute the component values.
L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 LC = (1)(0.0004) = 0.0004, \qquad RC = (100)(0.0004) = 0.04 L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 so the equation to solve is
0.0004 d 2 V o u t p u t d t 2 + 0.04 d V o u t p u t d t + V o u t p u t = 10 cos t + 10 cos 388 t 0.0004\frac{d^2V_{output}}{dt^2} + 0.04\frac{dV_{output}}{dt} + V_{output} = 10\cos t + 10\cos 388t 0.0004 d t 2 d 2 V o u tp u t + 0.04 d t d V o u tp u t + V o u tp u t = 10 cos t + 10 cos 388 t Step 2 — Complementary function V h V_h V h .
Try V = e r t V = e^{rt} V = e r t . The auxiliary equation is
0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 0.0004r^2 + 0.04r + 1 = 0 \quad\Longrightarrow\quad r^2 + 100r + 2500 = 0 \quad\Longrightarrow\quad (r+50)^2 = 0 0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 So r = − 50 r = -50 r = − 50 is a repeated root and
V h = ( A + B t ) e − 50 t V_h = (A + Bt)e^{-50t} V h = ( A + B t ) e − 50 t Step 3 — Particular integral by undetermined coefficients.
The equation is linear, so the two input tones can be treated separately. For an input term 10 cos ( ω t ) 10\cos(\omega t) 10 cos ( ω t ) try
V p = a cos ( ω t ) + b sin ( ω t ) V_p = a\cos(\omega t) + b\sin(\omega t) V p = a cos ( ω t ) + b sin ( ω t ) V p ′ = − a ω sin ( ω t ) + b ω cos ( ω t ) , V p ′ ′ = − a ω 2 cos ( ω t ) − b ω 2 sin ( ω t ) V_p' = -a\omega\sin(\omega t) + b\omega\cos(\omega t), \qquad V_p'' = -a\omega^2\cos(\omega t) - b\omega^2\sin(\omega t) V p ′ = − aω sin ( ω t ) + bω cos ( ω t ) , V p ′′ = − a ω 2 cos ( ω t ) − b ω 2 sin ( ω t ) Substituting into 0.0004 V p ′ ′ + 0.04 V p ′ + V p = 10 cos ω t 0.0004V_p'' + 0.04V_p' + V_p = 10\cos\omega t 0.0004 V p ′′ + 0.04 V p ′ + V p = 10 cos ω t and collecting the cos \cos cos and sin \sin sin terms:
cos: a ( 1 − 0.0004 ω 2 ) + 0.04 ω b = 10 , sin: − 0.04 ω a + b ( 1 − 0.0004 ω 2 ) = 0 \text{cos: }\; a(1 - 0.0004\omega^2) + 0.04\omega\,b = 10, \qquad \text{sin: }\; -0.04\omega\,a + b(1 - 0.0004\omega^2) = 0 cos: a ( 1 − 0.0004 ω 2 ) + 0.04 ω b = 10 , sin: − 0.04 ω a + b ( 1 − 0.0004 ω 2 ) = 0 Write D = 1 − 0.0004 ω 2 D = 1 - 0.0004\omega^2 D = 1 − 0.0004 ω 2 and E = 0.04 ω E = 0.04\omega E = 0.04 ω . Then
a D + b E = 10 , − a E + b D = 0 ⟹ b = a E D aD + bE = 10, \qquad -aE + bD = 0 \;\Longrightarrow\; b = \frac{aE}{D} a D + b E = 10 , − a E + b D = 0 ⟹ b = D a E a ( D + E 2 D ) = 10 ⟹ a = 10 D D 2 + E 2 , b = 10 E D 2 + E 2 a\left(D + \frac{E^2}{D}\right) = 10 \;\Longrightarrow\; a = \frac{10D}{D^2+E^2}, \qquad b = \frac{10E}{D^2+E^2} a ( D + D E 2 ) = 10 ⟹ a = D 2 + E 2 10 D , b = D 2 + E 2 10 E Since
D 2 + E 2 = ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 = 1 + 0.0008 ω 2 + 1.6 × 10 − 7 ω 4 = ( 1 + 0.0004 ω 2 ) 2 D^2 + E^2 = (1-0.0004\omega^2)^2 + (0.04\omega)^2 = 1 + 0.0008\omega^2 + 1.6\times10^{-7}\omega^4 = (1 + 0.0004\omega^2)^2 D 2 + E 2 = ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 = 1 + 0.0008 ω 2 + 1.6 × 1 0 − 7 ω 4 = ( 1 + 0.0004 ω 2 ) 2 the coefficients simplify to
a = 10 D ( 1 + 0.0004 ω 2 ) 2 , b = 10 E ( 1 + 0.0004 ω 2 ) 2 a = \frac{10D}{(1 + 0.0004\omega^2)^2}, \qquad b = \frac{10E}{(1 + 0.0004\omega^2)^2} a = ( 1 + 0.0004 ω 2 ) 2 10 D , b = ( 1 + 0.0004 ω 2 ) 2 10 E Step 4 — The wanted signal, ω = 1 \omega = 1 ω = 1 .
D = 1 − 0.0004 ( 1 ) 2 = 0.9996 , E = 0.04 ( 1 ) = 0.04 , ( 1 + 0.0004 ) 2 = 1.00080016 D = 1 - 0.0004(1)^2 = 0.9996, \qquad E = 0.04(1) = 0.04, \qquad (1 + 0.0004)^2 = 1.00080016 D = 1 − 0.0004 ( 1 ) 2 = 0.9996 , E = 0.04 ( 1 ) = 0.04 , ( 1 + 0.0004 ) 2 = 1.00080016 a 1 = 9.996 1.00080016 = 9.98801 , b 1 = 0.4 1.00080016 = 0.399680 a_1 = \frac{9.996}{1.00080016} = 9.98801, \qquad b_1 = \frac{0.4}{1.00080016} = 0.399680 a 1 = 1.00080016 9.996 = 9.98801 , b 1 = 1.00080016 0.4 = 0.399680 V p , 1 = 9.9880 cos t + 0.39968 sin t V_{p,1} = 9.9880\cos t + 0.39968\sin t V p , 1 = 9.9880 cos t + 0.39968 sin t Step 5 — The noise, ω = 388 \omega = 388 ω = 388 .
ω 2 = 150544 , 0.0004 ω 2 = 60.2176 \omega^2 = 150544, \qquad 0.0004\omega^2 = 60.2176 ω 2 = 150544 , 0.0004 ω 2 = 60.2176 D = 1 − 60.2176 = − 59.2176 , E = 0.04 ( 388 ) = 15.52 D = 1 - 60.2176 = -59.2176, \qquad E = 0.04(388) = 15.52 D = 1 − 60.2176 = − 59.2176 , E = 0.04 ( 388 ) = 15.52 D 2 + E 2 = ( − 59.2176 ) 2 + ( 15.52 ) 2 = 3506.7242 + 240.8704 = 3747.5946 ( = 61.2176 2 ) D^2 + E^2 = (-59.2176)^2 + (15.52)^2 = 3506.7242 + 240.8704 = 3747.5946 \quad (= 61.2176^2) D 2 + E 2 = ( − 59.2176 ) 2 + ( 15.52 ) 2 = 3506.7242 + 240.8704 = 3747.5946 ( = 61.217 6 2 ) a 2 = 10 ( − 59.2176 ) 3747.5946 = − 592.176 3747.5946 = − 0.158015 , b 2 = 10 ( 15.52 ) 3747.5946 = 155.2 3747.5946 = 0.0414132 a_2 = \frac{10(-59.2176)}{3747.5946} = \frac{-592.176}{3747.5946} = -0.158015, \qquad b_2 = \frac{10(15.52)}{3747.5946} = \frac{155.2}{3747.5946} = 0.0414132 a 2 = 3747.5946 10 ( − 59.2176 ) = 3747.5946 − 592.176 = − 0.158015 , b 2 = 3747.5946 10 ( 15.52 ) = 3747.5946 155.2 = 0.0414132 V p , 2 = − 0.158015 cos 388 t + 0.0414132 sin 388 t V_{p,2} = -0.158015\cos 388t + 0.0414132\sin 388t V p , 2 = − 0.158015 cos 388 t + 0.0414132 sin 388 t Step 6 — General solution.
V o u t p u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.158015 cos 388 t + 0.0414132 sin 388 t V_{output}(t) = (A + Bt)e^{-50t} + 9.9880\cos t + 0.39968\sin t - 0.158015\cos 388t + 0.0414132\sin 388t V o u tp u t ( t ) = ( A + B t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.158015 cos 388 t + 0.0414132 sin 388 t Step 7 — Apply the initial conditions.
The paper prints no initial conditions, so the standard physical starting state of a filter switched on at t = 0 t = 0 t = 0 from rest is used: V o u t p u t ( 0 ) = 0 V_{output}(0) = 0 V o u tp u t ( 0 ) = 0 and V o u t p u t ′ ( 0 ) = 0 V_{output}'(0) = 0 V o u tp u t ′ ( 0 ) = 0 (capacitor uncharged, no initial current); see the note below.
V o u t p u t ( 0 ) = A + 9.988008 − 0.158015 = 0 ⟹ A = − 9.829993 V_{output}(0) = A + 9.988008 - 0.158015 = 0 \;\Longrightarrow\; A = -9.829993 V o u tp u t ( 0 ) = A + 9.988008 − 0.158015 = 0 ⟹ A = − 9.829993 Differentiating the general solution,
V o u t p u t ′ ( t ) = [ B − 50 ( A + B t ) ] e − 50 t − 9.988008 sin t + 0.399680 cos t + 61.3098 sin 388 t + 16.0683 cos 388 t V_{output}'(t) = \big[B - 50(A+Bt)\big]e^{-50t} - 9.988008\sin t + 0.399680\cos t + 61.3098\sin 388t + 16.0683\cos 388t V o u tp u t ′ ( t ) = [ B − 50 ( A + B t ) ] e − 50 t − 9.988008 sin t + 0.399680 cos t + 61.3098 sin 388 t + 16.0683 cos 388 t since ( 0.158015 ) ( 388 ) = 61.3098 (0.158015)(388) = 61.3098 ( 0.158015 ) ( 388 ) = 61.3098 and ( 0.0414132 ) ( 388 ) = 16.0683 (0.0414132)(388) = 16.0683 ( 0.0414132 ) ( 388 ) = 16.0683 . At t = 0 t = 0 t = 0 :
V o u t p u t ′ ( 0 ) = B − 50 A + 0.399680 + 16.068334 = 0 V_{output}'(0) = B - 50A + 0.399680 + 16.068334 = 0 V o u tp u t ′ ( 0 ) = B − 50 A + 0.399680 + 16.068334 = 0 B = 50 ( − 9.829993 ) − 0.399680 − 16.068334 = − 491.49965 − 16.468014 = − 507.96766 B = 50(-9.829993) - 0.399680 - 16.068334 = -491.49965 - 16.468014 = -507.96766 B = 50 ( − 9.829993 ) − 0.399680 − 16.068334 = − 491.49965 − 16.468014 = − 507.96766 Step 8 — Total output voltage.
V o u t p u t ( t ) = ( − 9.8300 − 507.97 t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.158015 cos 388 t + 0.0414132 sin 388 t V , t > 0 V_{output}(t) = \left(-9.8300 - 507.97\,t\right)e^{-50t} + 9.9880\cos t + 0.39968\sin t - 0.158015\cos 388t + 0.0414132\sin 388t \ \ \text{V}, \qquad t > 0 V o u tp u t ( t ) = ( − 9.8300 − 507.97 t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.158015 cos 388 t + 0.0414132 sin 388 t V , t > 0 The exponential term decays with time constant 1 / 50 = 0.02 1/50 = 0.02 1/50 = 0.02 s, so after roughly 0.1 0.1 0.1 s the output has settled to the steady-state (particular) part
V s s ( t ) = 9.9880 cos t + 0.39968 sin t − 0.158015 cos 388 t + 0.0414132 sin 388 t V V_{ss}(t) = 9.9880\cos t + 0.39968\sin t - 0.158015\cos 388t + 0.0414132\sin 388t \ \ \text{V} V ss ( t ) = 9.9880 cos t + 0.39968 sin t − 0.158015 cos 388 t + 0.0414132 sin 388 t V
The printed question supplies the governing equation and V i n p u t V_{input} V in p u t but no values for V o u t p u t ( 0 ) V_{output}(0) V o u tp u t ( 0 ) and V o u t p u t ′ ( 0 ) V_{output}'(0) V o u tp u t ′ ( 0 ) . The standard reading for a filter switched on at t = 0 t = 0 t = 0 is the rest state V o u t p u t ( 0 ) = V o u t p u t ′ ( 0 ) = 0 V_{output}(0) = V_{output}'(0) = 0 V o u tp u t ( 0 ) = V o u tp u t ′ ( 0 ) = 0 (capacitor uncharged, zero initial current), and that is what is used above. If different initial conditions were given, only the constants A A A and B B B of the complementary function would change; the steady-state (particular) part would be unaffected.
Answer: V o u t p u t ( t ) = ( − 9.8300 − 507.97 t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.158015 cos 388 t + 0.0414132 sin 388 t V_{output}(t) = \left(-9.8300 - 507.97\,t\right)e^{-50t} + 9.9880\cos t + 0.39968\sin t - 0.158015\cos 388t + 0.0414132\sin 388t V o u tp u t ( t ) = ( − 9.8300 − 507.97 t ) e − 50 t + 9.9880 cos t + 0.39968 sin t − 0.158015 cos 388 t + 0.0414132 sin 388 t V for t > 0 t > 0 t > 0 .
Question 3(p) (2 marks)
Question
Refer to the steady state result of V o u t p u t V_{output} V o u tp u t only, check if the noise is successfully reduced/removed (greater than 90% amplitude reduction) or not. Hint: amplitude = a 2 + b 2 = \sqrt{a^2 + b^2} = a 2 + b 2 for a cos ( ω t ) + b sin ( ω t ) a\cos(\omega t) + b\sin(\omega t) a cos ( ω t ) + b sin ( ω t ) function. (2 marks)
From part (o), the steady-state output is
V s s ( t ) = 9.9880 cos t + 0.39968 sin t − 0.158015 cos 388 t + 0.0414132 sin 388 t V_{ss}(t) = 9.9880\cos t + 0.39968\sin t - 0.158015\cos 388t + 0.0414132\sin 388t V ss ( t ) = 9.9880 cos t + 0.39968 sin t − 0.158015 cos 388 t + 0.0414132 sin 388 t Apply amplitude = a 2 + b 2 = \sqrt{a^2+b^2} = a 2 + b 2 to each tone separately.
Wanted signal, ω = 1 \omega = 1 ω = 1 :
amplitude = ( 9.988008 ) 2 + ( 0.399680 ) 2 = 99.76030 + 0.159744 = 99.92005 = 9.99600 V \text{amplitude} = \sqrt{(9.988008)^2 + (0.399680)^2} = \sqrt{99.76030 + 0.159744} = \sqrt{99.92005} = 9.99600 \ \text{V} amplitude = ( 9.988008 ) 2 + ( 0.399680 ) 2 = 99.76030 + 0.159744 = 99.92005 = 9.99600 V The input amplitude of the wanted signal is 10 10 10 V, so it passes at
9.99600 10 × 100 % = 99.96 % \frac{9.99600}{10}\times 100\% = 99.96\% 10 9.99600 × 100% = 99.96% that is, essentially unchanged — as a low-pass filter should behave in its passband.
Noise, ω = 388 \omega = 388 ω = 388 :
amplitude = ( − 0.158015 ) 2 + ( 0.0414132 ) 2 = 0.024969 + 0.001715 = 0.026684 = 0.163352 V \text{amplitude} = \sqrt{(-0.158015)^2 + (0.0414132)^2} = \sqrt{0.024969 + 0.001715} = \sqrt{0.026684} = 0.163352 \ \text{V} amplitude = ( − 0.158015 ) 2 + ( 0.0414132 ) 2 = 0.024969 + 0.001715 = 0.026684 = 0.163352 V The input noise amplitude is 10 10 10 V, so the reduction is
reduction = 10 − 0.163352 10 × 100 % = 98.37 % \text{reduction} = \frac{10 - 0.163352}{10}\times 100\% = 98.37\% reduction = 10 10 − 0.163352 × 100% = 98.37% Equivalently, from the transfer-function magnitude ∣ H ( ω ) ∣ = 1 1 + 0.0004 ω 2 |H(\omega)| = \dfrac{1}{1 + 0.0004\omega^2} ∣ H ( ω ) ∣ = 1 + 0.0004 ω 2 1 , the noise amplitude is
10 1 + 0.0004 ( 150544 ) = 10 61.2176 = 0.163352 V \frac{10}{1 + 0.0004(150544)} = \frac{10}{61.2176} = 0.163352 \ \text{V} 1 + 0.0004 ( 150544 ) 10 = 61.2176 10 = 0.163352 V Since 98.37 % 98.37\% 98.37% is greater than the required 90 % 90\% 90% , the noise is successfully removed.
Answer: Noise amplitude = 0.1634 = 0.1634 = 0.1634 V (down from 10 10 10 V), a reduction of 98.37 % 98.37\% 98.37% , which exceeds 90 % 90\% 90% — the noise is successfully removed. The wanted signal is attenuated by only 0.04 % 0.04\% 0.04% (gain 0.99960 0.99960 0.99960 ).
Question 4(a) (4 marks)
Question
Find the power series until the x 5 x^5 x 5 term for the following function
f ( x ) = ln ( 2 + x ) f(x) = \ln(2 + x) f ( x ) = ln ( 2 + x )
using the Maclaurin's Series given below
f ( x ) = f ( 0 ) + x f ′ ( 0 ) + x 2 2 ! f ′ ′ ( 0 ) + x 3 3 ! f ′ ′ ′ ( 0 ) + ⋯ f(x) = f(0) + xf'(0) + \frac{x^2}{2!}f''(0) + \frac{x^3}{3!}f'''(0) + \cdots f ( x ) = f ( 0 ) + x f ′ ( 0 ) + 2 ! x 2 f ′′ ( 0 ) + 3 ! x 3 f ′′′ ( 0 ) + ⋯
(4 marks)
Technique. Compute the successive derivatives of f f f at x = 0 x = 0 x = 0 and substitute them into the Maclaurin expansion.
f ( x ) = ln ( 2 + x ) ⇒ f ( 0 ) = ln 2 f(x) = \ln(2+x) \;\Rightarrow\; f(0) = \ln 2 f ( x ) = ln ( 2 + x ) ⇒ f ( 0 ) = ln 2 f ′ ( x ) = 1 2 + x ⇒ f ′ ( 0 ) = 1 2 f'(x) = \frac{1}{2+x} \;\Rightarrow\; f'(0) = \frac{1}{2} f ′ ( x ) = 2 + x 1 ⇒ f ′ ( 0 ) = 2 1 f ′ ′ ( x ) = − 1 ( 2 + x ) 2 ⇒ f ′ ′ ( 0 ) = − 1 4 f''(x) = -\frac{1}{(2+x)^2} \;\Rightarrow\; f''(0) = -\frac{1}{4} f ′′ ( x ) = − ( 2 + x ) 2 1 ⇒ f ′′ ( 0 ) = − 4 1 f ′ ′ ′ ( x ) = 2 ( 2 + x ) 3 ⇒ f ′ ′ ′ ( 0 ) = 2 8 = 1 4 f'''(x) = \frac{2}{(2+x)^3} \;\Rightarrow\; f'''(0) = \frac{2}{8} = \frac{1}{4} f ′′′ ( x ) = ( 2 + x ) 3 2 ⇒ f ′′′ ( 0 ) = 8 2 = 4 1 f ( 4 ) ( x ) = − 6 ( 2 + x ) 4 ⇒ f ( 4 ) ( 0 ) = − 6 16 = − 3 8 f^{(4)}(x) = -\frac{6}{(2+x)^4} \;\Rightarrow\; f^{(4)}(0) = -\frac{6}{16} = -\frac{3}{8} f ( 4 ) ( x ) = − ( 2 + x ) 4 6 ⇒ f ( 4 ) ( 0 ) = − 16 6 = − 8 3 f ( 5 ) ( x ) = 24 ( 2 + x ) 5 ⇒ f ( 5 ) ( 0 ) = 24 32 = 3 4 f^{(5)}(x) = \frac{24}{(2+x)^5} \;\Rightarrow\; f^{(5)}(0) = \frac{24}{32} = \frac{3}{4} f ( 5 ) ( x ) = ( 2 + x ) 5 24 ⇒ f ( 5 ) ( 0 ) = 32 24 = 4 3 Substituting into the Maclaurin series:
f ( x ) = ln 2 + x ( 1 2 ) + x 2 2 ! ( − 1 4 ) + x 3 3 ! ( 1 4 ) + x 4 4 ! ( − 3 8 ) + x 5 5 ! ( 3 4 ) + ⋯ f(x) = \ln 2 + x\left(\frac{1}{2}\right) + \frac{x^2}{2!}\left(-\frac{1}{4}\right) + \frac{x^3}{3!}\left(\frac{1}{4}\right) + \frac{x^4}{4!}\left(-\frac{3}{8}\right) + \frac{x^5}{5!}\left(\frac{3}{4}\right) + \cdots f ( x ) = ln 2 + x ( 2 1 ) + 2 ! x 2 ( − 4 1 ) + 3 ! x 3 ( 4 1 ) + 4 ! x 4 ( − 8 3 ) + 5 ! x 5 ( 4 3 ) + ⋯ f ( x ) = ln 2 + x 2 − x 2 8 + x 3 24 − x 4 64 + x 5 160 + ⋯ f(x) = \ln 2 + \frac{x}{2} - \frac{x^2}{8} + \frac{x^3}{24} - \frac{x^4}{64} + \frac{x^5}{160} + \cdots f ( x ) = ln 2 + 2 x − 8 x 2 + 24 x 3 − 64 x 4 + 160 x 5 + ⋯ Check. Writing ln ( 2 + x ) = ln 2 + ln ( 1 + x 2 ) \ln(2+x) = \ln 2 + \ln\left(1 + \dfrac{x}{2}\right) ln ( 2 + x ) = ln 2 + ln ( 1 + 2 x ) and using ln ( 1 + u ) = u − u 2 2 + u 3 3 − u 4 4 + u 5 5 − ⋯ \ln(1+u) = u - \dfrac{u^2}{2} + \dfrac{u^3}{3} - \dfrac{u^4}{4} + \dfrac{u^5}{5} - \cdots ln ( 1 + u ) = u − 2 u 2 + 3 u 3 − 4 u 4 + 5 u 5 − ⋯ with u = x / 2 u = x/2 u = x /2 gives the same coefficients. The series converges for ∣ x ∣ < 2 |x| < 2 ∣ x ∣ < 2 , the distance from x = 0 x = 0 x = 0 to the singularity of ln ( 2 + x ) \ln(2+x) ln ( 2 + x ) at x = − 2 x = -2 x = − 2 .
Answer: ln ( 2 + x ) = ln 2 + x 2 − x 2 8 + x 3 24 − x 4 64 + x 5 160 + ⋯ \ln(2+x) = \ln 2 + \dfrac{x}{2} - \dfrac{x^2}{8} + \dfrac{x^3}{24} - \dfrac{x^4}{64} + \dfrac{x^5}{160} + \cdots ln ( 2 + x ) = ln 2 + 2 x − 8 x 2 + 24 x 3 − 64 x 4 + 160 x 5 + ⋯
Question 4(b) (11 marks)
Question
Apply the power series method and part (a) to find the particular solution at x = 0 x = 0 x = 0 for the following differential equation
y ′ ′ − 2 x y = ln ( 2 + x ) , y ( 0 ) = y ′ ( 0 ) = 6 y'' - 2xy = \ln(2 + x), \qquad y(0) = y'(0) = 6 y ′′ − 2 x y = ln ( 2 + x ) , y ( 0 ) = y ′ ( 0 ) = 6
(11 marks)
Technique. Assume a power-series solution y = ∑ n = 0 ∞ a n x n y = \sum_{n=0}^{\infty} a_n x^n y = ∑ n = 0 ∞ a n x n , substitute into the ODE, and match coefficients of x m x^m x m . The forcing term ln ( 2 + x ) \ln(2+x) ln ( 2 + x ) is expanded using part (a).
Step 1 — Write the three pieces as power series.
y = ∑ n = 0 ∞ a n x n , y ′ ′ = ∑ n = 2 ∞ n ( n − 1 ) a n x n − 2 = ∑ m = 0 ∞ ( m + 2 ) ( m + 1 ) a m + 2 x m y = \sum_{n=0}^{\infty} a_n x^n, \qquad y'' = \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2} = \sum_{m=0}^{\infty} (m+2)(m+1)a_{m+2}\,x^m y = n = 0 ∑ ∞ a n x n , y ′′ = n = 2 ∑ ∞ n ( n − 1 ) a n x n − 2 = m = 0 ∑ ∞ ( m + 2 ) ( m + 1 ) a m + 2 x m 2 x y = 2 ∑ n = 0 ∞ a n x n + 1 = ∑ m = 1 ∞ 2 a m − 1 x m 2xy = 2\sum_{n=0}^{\infty} a_n x^{n+1} = \sum_{m=1}^{\infty} 2a_{m-1}\,x^m 2 x y = 2 n = 0 ∑ ∞ a n x n + 1 = m = 1 ∑ ∞ 2 a m − 1 x m ln ( 2 + x ) = ∑ m = 0 ∞ c m x m , c 0 = ln 2 , c 1 = 1 2 , c 2 = − 1 8 , c 3 = 1 24 , c 4 = − 1 64 , c 5 = 1 160 , … \ln(2+x) = \sum_{m=0}^{\infty} c_m x^m, \qquad c_0 = \ln 2,\; c_1 = \frac{1}{2},\; c_2 = -\frac{1}{8},\; c_3 = \frac{1}{24},\; c_4 = -\frac{1}{64},\; c_5 = \frac{1}{160}, \dots ln ( 2 + x ) = m = 0 ∑ ∞ c m x m , c 0 = ln 2 , c 1 = 2 1 , c 2 = − 8 1 , c 3 = 24 1 , c 4 = − 64 1 , c 5 = 160 1 , … Step 2 — Equate coefficients of x m x^m x m .
y ′ ′ − 2 x y = ln ( 2 + x ) y'' - 2xy = \ln(2+x) y ′′ − 2 x y = ln ( 2 + x ) 2 a 2 + ∑ m = 1 ∞ [ ( m + 2 ) ( m + 1 ) a m + 2 − 2 a m − 1 ] x m = c 0 + ∑ m = 1 ∞ c m x m 2a_2 + \sum_{m=1}^{\infty}\Big[(m+2)(m+1)a_{m+2} - 2a_{m-1}\Big]x^m = c_0 + \sum_{m=1}^{\infty} c_m x^m 2 a 2 + m = 1 ∑ ∞ [ ( m + 2 ) ( m + 1 ) a m + 2 − 2 a m − 1 ] x m = c 0 + m = 1 ∑ ∞ c m x m Comparing the constant terms and then the coefficient of x m x^m x m for m ≥ 1 m \ge 1 m ≥ 1 gives the recurrence
a 2 = c 0 2 = ln 2 2 , a m + 2 = 2 a m − 1 + c m ( m + 2 ) ( m + 1 ) , m ≥ 1 a_2 = \frac{c_0}{2} = \frac{\ln 2}{2}, \qquad a_{m+2} = \frac{2a_{m-1} + c_m}{(m+2)(m+1)}, \qquad m \ge 1 a 2 = 2 c 0 = 2 ln 2 , a m + 2 = ( m + 2 ) ( m + 1 ) 2 a m − 1 + c m , m ≥ 1 Step 3 — Seed the series from the initial conditions.
y ( 0 ) = a 0 = 6 , y ′ ( 0 ) = a 1 = 6 y(0) = a_0 = 6, \qquad y'(0) = a_1 = 6 y ( 0 ) = a 0 = 6 , y ′ ( 0 ) = a 1 = 6 Step 4 — Generate the coefficients.
m = 0 : a 2 = ln 2 2 = 0.346574 m = 0: \quad a_2 = \frac{\ln 2}{2} = 0.346574 m = 0 : a 2 = 2 ln 2 = 0.346574 m = 1 : a 3 = 2 a 0 + c 1 3 ⋅ 2 = 12 + 1 2 6 = 25 / 2 6 = 25 12 = 2.083333 m = 1: \quad a_3 = \frac{2a_0 + c_1}{3\cdot 2} = \frac{12 + \frac{1}{2}}{6} = \frac{25/2}{6} = \frac{25}{12} = 2.083333 m = 1 : a 3 = 3 ⋅ 2 2 a 0 + c 1 = 6 12 + 2 1 = 6 25/2 = 12 25 = 2.083333 m = 2 : a 4 = 2 a 1 + c 2 4 ⋅ 3 = 12 − 1 8 12 = 95 / 8 12 = 95 96 = 0.989583 m = 2: \quad a_4 = \frac{2a_1 + c_2}{4\cdot 3} = \frac{12 - \frac{1}{8}}{12} = \frac{95/8}{12} = \frac{95}{96} = 0.989583 m = 2 : a 4 = 4 ⋅ 3 2 a 1 + c 2 = 12 12 − 8 1 = 12 95/8 = 96 95 = 0.989583 m = 3 : a 5 = 2 a 2 + c 3 5 ⋅ 4 = ln 2 + 1 24 20 = ln 2 20 + 1 480 = 0.0367407 m = 3: \quad a_5 = \frac{2a_2 + c_3}{5\cdot 4} = \frac{\ln 2 + \frac{1}{24}}{20} = \frac{\ln 2}{20} + \frac{1}{480} = 0.0367407 m = 3 : a 5 = 5 ⋅ 4 2 a 2 + c 3 = 20 ln 2 + 24 1 = 20 ln 2 + 480 1 = 0.0367407 m = 4 : a 6 = 2 a 3 + c 4 6 ⋅ 5 = 25 6 − 1 64 30 = 797 192 30 = 797 5760 = 0.138368 m = 4: \quad a_6 = \frac{2a_3 + c_4}{6\cdot 5} = \frac{\frac{25}{6} - \frac{1}{64}}{30} = \frac{\frac{797}{192}}{30} = \frac{797}{5760} = 0.138368 m = 4 : a 6 = 6 ⋅ 5 2 a 3 + c 4 = 30 6 25 − 64 1 = 30 192 797 = 5760 797 = 0.138368 m = 5 : a 7 = 2 a 4 + c 5 7 ⋅ 6 = 95 48 + 1 160 42 = 953 480 42 = 953 20160 = 0.0472718 m = 5: \quad a_7 = \frac{2a_4 + c_5}{7\cdot 6} = \frac{\frac{95}{48} + \frac{1}{160}}{42} = \frac{\frac{953}{480}}{42} = \frac{953}{20160} = 0.0472718 m = 5 : a 7 = 7 ⋅ 6 2 a 4 + c 5 = 42 48 95 + 160 1 = 42 480 953 = 20160 953 = 0.0472718 The recurrence can be continued indefinitely in the same way; the coefficients above give the solution through x 7 x^7 x 7 .
Step 5 — Assemble the particular solution.
y ( x ) = 6 + 6 x + ln 2 2 x 2 + 25 12 x 3 + 95 96 x 4 + ( ln 2 20 + 1 480 ) x 5 + 797 5760 x 6 + 953 20160 x 7 + ⋯ y(x) = 6 + 6x + \frac{\ln 2}{2}x^2 + \frac{25}{12}x^3 + \frac{95}{96}x^4 + \left(\frac{\ln 2}{20} + \frac{1}{480}\right)x^5 + \frac{797}{5760}x^6 + \frac{953}{20160}x^7 + \cdots y ( x ) = 6 + 6 x + 2 ln 2 x 2 + 12 25 x 3 + 96 95 x 4 + ( 20 ln 2 + 480 1 ) x 5 + 5760 797 x 6 + 20160 953 x 7 + ⋯ Numerically,
y ( x ) ≈ 6 + 6 x + 0.346574 x 2 + 2.08333 x 3 + 0.989583 x 4 + 0.0367407 x 5 + 0.138368 x 6 + 0.0472718 x 7 + ⋯ y(x) \approx 6 + 6x + 0.346574\,x^2 + 2.08333\,x^3 + 0.989583\,x^4 + 0.0367407\,x^5 + 0.138368\,x^6 + 0.0472718\,x^7 + \cdots y ( x ) ≈ 6 + 6 x + 0.346574 x 2 + 2.08333 x 3 + 0.989583 x 4 + 0.0367407 x 5 + 0.138368 x 6 + 0.0472718 x 7 + ⋯ Because the only singularity of ln ( 2 + x ) \ln(2+x) ln ( 2 + x ) is at x = − 2 x = -2 x = − 2 , this series converges for ∣ x ∣ < 2 |x| < 2 ∣ x ∣ < 2 .
Check. Substituting the series back into y ′ ′ − 2 x y y'' - 2xy y ′′ − 2 x y reproduces ln ( 2 + x ) \ln(2+x) ln ( 2 + x ) term by term by construction, and y ( 0 ) = 6 y(0) = 6 y ( 0 ) = 6 , y ′ ( 0 ) = 6 y'(0) = 6 y ′ ( 0 ) = 6 as required.
Answer: y ( x ) = 6 + 6 x + ln 2 2 x 2 + 25 12 x 3 + 95 96 x 4 + ( ln 2 20 + 1 480 ) x 5 + 797 5760 x 6 + 953 20160 x 7 + ⋯ y(x) = 6 + 6x + \dfrac{\ln 2}{2}x^2 + \dfrac{25}{12}x^3 + \dfrac{95}{96}x^4 + \left(\dfrac{\ln 2}{20} + \dfrac{1}{480}\right)x^5 + \dfrac{797}{5760}x^6 + \dfrac{953}{20160}x^7 + \cdots y ( x ) = 6 + 6 x + 2 ln 2 x 2 + 12 25 x 3 + 96 95 x 4 + ( 20 ln 2 + 480 1 ) x 5 + 5760 797 x 6 + 20160 953 x 7 + ⋯
Set #9 (last matrix digit 9)
Question 3 (Set #9)
Question
Given the governing equation of the low pass filter with LRC circuit, where the inductance (L = 1 L = 1 L = 1 H), resistance (R = 100 Ω R = 100\ \Omega R = 100 Ω ), and capacitance (C = 0.0004 C = 0.0004 C = 0.0004 F) are shown in Figure Q3(b):
L C d 2 V o u t p u t d t 2 + R C d V o u t p u t d t + V o u t p u t = V i n p u t LC\frac{d^2V_{output}}{dt^2} + RC\frac{dV_{output}}{dt} + V_{output} = V_{input} L C d t 2 d 2 V o u tp u t + R C d t d V o u tp u t + V o u tp u t = V in p u t
Figure Q3(a) in the original paper shows a series LRC low-pass filter driven by a source V i n p u t = 10 cos ( t ) + Noise V_{input} = 10\cos(t) + \text{Noise} V in p u t = 10 cos ( t ) + Noise , with R = 100 Ω R = 100\ \Omega R = 100 Ω , C = 400 μ C = 400\ \mu C = 400 μ F, L = 1 L = 1 L = 1 H, and the output V o u t p u t V_{output} V o u tp u t taken across the capacitor.
You are designing the circuit to obtain output voltage, V o u t p u t V_{output} V o u tp u t by reducing/removing the high frequency noise only from the input voltage, V i n p u t V_{input} V in p u t . V i n p u t V_{input} V in p u t for time, t > 0 t > 0 t > 0 is given as:
V i n p u t = 10 cos ( t ) + 10 cos ( 399 t ) V_{input} = 10\cos(t) + 10\cos(399t) V in p u t = 10 cos ( t ) + 10 cos ( 399 t )
Note: Noise = 10 cos ( 399 t ) \text{Noise} = 10\cos(399t) Noise = 10 cos ( 399 t ) .
Question 3(q) (13 marks)
Question
Find the total output voltage, V o u t p u t V_{output} V o u tp u t for time, t > 0 t > 0 t > 0 . Use the trigonometric function (sine & cosine functions) to solve the non-homogeneous part.
Technique. A second-order linear ODE with constant coefficients is solved in two stages: the complementary function from the auxiliary (characteristic) equation, then a particular integral for each driving tone by the method of undetermined coefficients with a sine/cosine trial function. The two tones (ω = 1 \omega = 1 ω = 1 and ω = 399 \omega = 399 ω = 399 ) are handled separately and then added, because the ODE is linear.
Step 1 — Substitute the component values.
With L = 1 L = 1 L = 1 H, R = 100 Ω R = 100\ \Omega R = 100 Ω and C = 0.0004 C = 0.0004 C = 0.0004 F,
L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 , LC = (1)(0.0004) = 0.0004, \qquad RC = (100)(0.0004) = 0.04, L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 , so the governing equation is
0.0004 d 2 V o u t p u t d t 2 + 0.04 d V o u t p u t d t + V o u t p u t = V i n p u t ( t ) = 10 cos t + 10 cos ( 399 t ) . 0.0004\,\frac{d^2V_{output}}{dt^2} + 0.04\,\frac{dV_{output}}{dt} + V_{output} = V_{input}(t) = 10\cos t + 10\cos(399t). 0.0004 d t 2 d 2 V o u tp u t + 0.04 d t d V o u tp u t + V o u tp u t = V in p u t ( t ) = 10 cos t + 10 cos ( 399 t ) . Step 2 — Complementary function (homogeneous part).
Try V o u t p u t = e r t V_{output} = e^{rt} V o u tp u t = e r t . Then
0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 , 0.0004r^2 + 0.04r + 1 = 0 \;\Longrightarrow\; r^2 + 100r + 2500 = 0 \;\Longrightarrow\; (r+50)^2 = 0, 0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 , so r = − 50 r = -50 r = − 50 is a repeated root. Hence
V c ( t ) = ( A + B t ) e − 50 t . V_{c}(t) = (A + Bt)e^{-50t}. V c ( t ) = ( A + B t ) e − 50 t . Step 3 — Particular integral for the wanted signal 10 cos t 10\cos t 10 cos t .
Try V p 1 = a cos t + b sin t V_{p1} = a\cos t + b\sin t V p 1 = a cos t + b sin t , so that V p 1 ′ = − a sin t + b cos t V_{p1}' = -a\sin t + b\cos t V p 1 ′ = − a sin t + b cos t and V p 1 ′ ′ = − a cos t − b sin t V_{p1}'' = -a\cos t - b\sin t V p 1 ′′ = − a cos t − b sin t . Substituting into the ODE and collecting the cos t \cos t cos t and sin t \sin t sin t terms:
( − 0.0004 a + 0.04 b + a ) cos t + ( − 0.0004 b − 0.04 a + b ) sin t = 10 cos t , (-0.0004a + 0.04b + a)\cos t + (-0.0004b - 0.04a + b)\sin t = 10\cos t, ( − 0.0004 a + 0.04 b + a ) cos t + ( − 0.0004 b − 0.04 a + b ) sin t = 10 cos t , cos t : 0.9996 a + 0.04 b = 10 , sin t : − 0.04 a + 0.9996 b = 0. \cos t:\; 0.9996a + 0.04b = 10, \qquad \sin t:\; -0.04a + 0.9996b = 0. cos t : 0.9996 a + 0.04 b = 10 , sin t : − 0.04 a + 0.9996 b = 0. From the second equation b = 0.04 a 0.9996 b = \dfrac{0.04a}{0.9996} b = 0.9996 0.04 a , and substituting into the first gives a ( 0.9996 2 + 0.04 2 ) = 10 ( 0.9996 ) a\,(0.9996^2 + 0.04^2) = 10(0.9996) a ( 0.999 6 2 + 0.0 4 2 ) = 10 ( 0.9996 ) :
a = 10 ( 0.9996 ) 0.9996 2 + 0.04 2 = 62475000 6255001 ≈ 9.988008 , b = 10 ( 0.04 ) 0.9996 2 + 0.04 2 = 2500000 6255001 ≈ 0.399680. a = \frac{10(0.9996)}{0.9996^2 + 0.04^2} = \frac{62475000}{6255001} \approx 9.988008, \qquad b = \frac{10(0.04)}{0.9996^2 + 0.04^2} = \frac{2500000}{6255001} \approx 0.399680. a = 0.999 6 2 + 0.0 4 2 10 ( 0.9996 ) = 6255001 62475000 ≈ 9.988008 , b = 0.999 6 2 + 0.0 4 2 10 ( 0.04 ) = 6255001 2500000 ≈ 0.399680. So V p 1 ( t ) = 9.988008 cos t + 0.399680 sin t V_{p1}(t) = 9.988008\cos t + 0.399680\sin t V p 1 ( t ) = 9.988008 cos t + 0.399680 sin t .
Step 4 — Particular integral for the noise tone 10 cos ( 399 t ) 10\cos(399t) 10 cos ( 399 t ) .
Try V p 2 = a cos ( 399 t ) + b sin ( 399 t ) V_{p2} = a\cos(399t) + b\sin(399t) V p 2 = a cos ( 399 t ) + b sin ( 399 t ) . Substituting and collecting terms, with
P = 1 − 0.0004 ( 399 ) 2 = 1 − 63.6804 = − 62.6804 , Q = 0.04 ( 399 ) = 15.96 , P = 1 - 0.0004(399)^2 = 1 - 63.6804 = -62.6804, \qquad Q = 0.04(399) = 15.96, P = 1 − 0.0004 ( 399 ) 2 = 1 − 63.6804 = − 62.6804 , Q = 0.04 ( 399 ) = 15.96 , the coefficient equations are
P a + Q b = 10 , − Q a + P b = 0. P a + Q b = 10, \qquad -Q a + P b = 0. P a + Q b = 10 , − Q a + P b = 0. Solving,
a = 10 P P 2 + Q 2 = − 3917525000 26147213401 ≈ − 0.149826 , b = 10 Q P 2 + Q 2 = 997500000 26147213401 ≈ 0.038149. a = \frac{10P}{P^2 + Q^2} = -\frac{3917525000}{26147213401} \approx -0.149826, \qquad b = \frac{10Q}{P^2 + Q^2} = \frac{997500000}{26147213401} \approx 0.038149. a = P 2 + Q 2 10 P = − 26147213401 3917525000 ≈ − 0.149826 , b = P 2 + Q 2 10 Q = 26147213401 997500000 ≈ 0.038149. So V p 2 ( t ) = − 0.149826 cos ( 399 t ) + 0.038149 sin ( 399 t ) V_{p2}(t) = -0.149826\cos(399t) + 0.038149\sin(399t) V p 2 ( t ) = − 0.149826 cos ( 399 t ) + 0.038149 sin ( 399 t ) .
Step 5 — General solution.
V o u t p u t ( t ) = ( A + B t ) e − 50 t + 9.988008 cos t + 0.399680 sin t − 0.149826 cos ( 399 t ) + 0.038149 sin ( 399 t ) . V_{output}(t) = (A + Bt)e^{-50t} + 9.988008\cos t + 0.399680\sin t - 0.149826\cos(399t) + 0.038149\sin(399t). V o u tp u t ( t ) = ( A + B t ) e − 50 t + 9.988008 cos t + 0.399680 sin t − 0.149826 cos ( 399 t ) + 0.038149 sin ( 399 t ) . Step 6 — Apply the initial conditions.
At t = 0 t = 0 t = 0 , V o u t p u t ( 0 ) = A + 9.988008 − 0.149826 = 0 V_{output}(0) = A + 9.988008 - 0.149826 = 0 V o u tp u t ( 0 ) = A + 9.988008 − 0.149826 = 0 , so
A = − ( 9.988008 − 0.149826 ) = − 9.838182. A = -(9.988008 - 0.149826) = -9.838182. A = − ( 9.988008 − 0.149826 ) = − 9.838182. Differentiating,
V o u t p u t ′ ( t ) = ( B − 50 A − 50 B t ) e − 50 t − 9.988008 sin t + 0.399680 cos t + ( 399 ) ( 0.149826 ) sin ( 399 t ) + ( 399 ) ( 0.038149 ) cos ( 399 t ) . V_{output}'(t) = (B - 50A - 50Bt)e^{-50t} - 9.988008\sin t + 0.399680\cos t + (399)(0.149826)\sin(399t) + (399)(0.038149)\cos(399t). V o u tp u t ′ ( t ) = ( B − 50 A − 50 B t ) e − 50 t − 9.988008 sin t + 0.399680 cos t + ( 399 ) ( 0.149826 ) sin ( 399 t ) + ( 399 ) ( 0.038149 ) cos ( 399 t ) . At t = 0 t = 0 t = 0 : V o u t p u t ′ ( 0 ) = B − 50 A + 0.399680 + 399 ( 0.038149 ) = 0 V_{output}'(0) = B - 50A + 0.399680 + 399(0.038149) = 0 V o u tp u t ′ ( 0 ) = B − 50 A + 0.399680 + 399 ( 0.038149 ) = 0 , hence
B = 50 A − 0.399680 − 15.221603 = 50 ( − 9.838182 ) − 15.621283 = − 491.909114 − 15.621283 = − 507.530397. B = 50A - 0.399680 - 15.221603 = 50(-9.838182) - 15.621283 = -491.909114 - 15.621283 = -507.530397. B = 50 A − 0.399680 − 15.221603 = 50 ( − 9.838182 ) − 15.621283 = − 491.909114 − 15.621283 = − 507.530397. Check. Substituting the closed form back into 0.0004 V ′ ′ + 0.04 V ′ + V 0.0004V'' + 0.04V' + V 0.0004 V ′′ + 0.04 V ′ + V reproduces 10 cos t + 10 cos ( 399 t ) 10\cos t + 10\cos(399t) 10 cos t + 10 cos ( 399 t ) exactly, and V o u t p u t ( 0 ) = V o u t p u t ′ ( 0 ) = 0 V_{output}(0) = V_{output}'(0) = 0 V o u tp u t ( 0 ) = V o u tp u t ′ ( 0 ) = 0 .
The printed question gives the governing equation and V i n p u t V_{input} V in p u t but no values for V o u t p u t ( 0 ) V_{output}(0) V o u tp u t ( 0 ) and V o u t p u t ′ ( 0 ) V_{output}'(0) V o u tp u t ′ ( 0 ) . The standard reading for a filter that starts at t = 0 t = 0 t = 0 is the rest state V o u t p u t ( 0 ) = V o u t p u t ′ ( 0 ) = 0 V_{output}(0) = V_{output}'(0) = 0 V o u tp u t ( 0 ) = V o u tp u t ′ ( 0 ) = 0 (capacitor uncharged, zero initial current); that is what is used above. If different initial conditions were supplied, only A A A and B B B would change — the complementary function and both particular integrals are unaffected.
Answer: V o u t p u t ( t ) = ( A + B t ) e − 50 t + 9.988008 cos t + 0.399680 sin t − 0.149826 cos ( 399 t ) + 0.038149 sin ( 399 t ) V_{output}(t) = (A + Bt)e^{-50t} + 9.988008\cos t + 0.399680\sin t - 0.149826\cos(399t) + 0.038149\sin(399t) V o u tp u t ( t ) = ( A + B t ) e − 50 t + 9.988008 cos t + 0.399680 sin t − 0.149826 cos ( 399 t ) + 0.038149 sin ( 399 t ) , with A = − 9.838182 A = -9.838182 A = − 9.838182 and B = − 507.5304 B = -507.5304 B = − 507.5304 .
Question 3(r) (2 marks)
Question
Refer to the steady state result of V o u t p u t V_{output} V o u tp u t only, check if the noise is successfully reduced/removed (> 90% amplitude reduction) or not. Hint: amplitude = a 2 + b 2 = \sqrt{a^2 + b^2} = a 2 + b 2 for a cos ( ω t ) + b sin ( ω t ) a\cos(\omega t) + b\sin(\omega t) a cos ( ω t ) + b sin ( ω t ) function.
Technique. The steady-state (particular) part of V o u t p u t V_{output} V o u tp u t is a sum of two sine/cosine pairs. The amplitude of each pair is a 2 + b 2 \sqrt{a^2+b^2} a 2 + b 2 ; compare the noise amplitude with the 10 10 10 V amplitude of the noise in V i n p u t V_{input} V in p u t .
Step 1 — Steady-state amplitudes.
For the wanted signal at ω = 1 \omega = 1 ω = 1 :
amplitude = ( 9.988008 ) 2 + ( 0.399680 ) 2 = 99.76030 + 0.15974 = 99.92004 ≈ 9.996 V . \text{amplitude} = \sqrt{(9.988008)^2 + (0.399680)^2} = \sqrt{99.76030 + 0.15974} = \sqrt{99.92004} \approx 9.996\ \text{V}. amplitude = ( 9.988008 ) 2 + ( 0.399680 ) 2 = 99.76030 + 0.15974 = 99.92004 ≈ 9.996 V . For the noise at ω = 399 \omega = 399 ω = 399 :
amplitude = ( − 0.149826 ) 2 + ( 0.038149 ) 2 = 0.022448 + 0.001455 = 0.023903 ≈ 0.1546 V . \text{amplitude} = \sqrt{(-0.149826)^2 + (0.038149)^2} = \sqrt{0.022448 + 0.001455} = \sqrt{0.023903} \approx 0.1546\ \text{V}. amplitude = ( − 0.149826 ) 2 + ( 0.038149 ) 2 = 0.022448 + 0.001455 = 0.023903 ≈ 0.1546 V . Equivalently, the amplitude gain at angular frequency ω \omega ω is
∣ V o u t p u t V i n p u t ∣ = 1 ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 , \left|\frac{V_{output}}{V_{input}}\right| = \frac{1}{\sqrt{(1 - 0.0004\omega^2)^2 + (0.04\omega)^2}}, V in p u t V o u tp u t = ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 1 , which gives 2500 / 2501 ≈ 0.9996 2500/2501 \approx 0.9996 2500/2501 ≈ 0.9996 at ω = 1 \omega = 1 ω = 1 (the signal passes almost unchanged) and 2500 / 161701 ≈ 0.01546 2500/161701 \approx 0.01546 2500/161701 ≈ 0.01546 at ω = 399 \omega = 399 ω = 399 (the noise is crushed).
Step 2 — Percentage reduction of the noise.
reduction = 10 − 0.1546 10 × 100 % ≈ 98.45 % . \text{reduction} = \frac{10 - 0.1546}{10} \times 100\% \approx 98.45\%. reduction = 10 10 − 0.1546 × 100% ≈ 98.45%. Since 98.45 % > 90 % 98.45\% > 90\% 98.45% > 90% , the high-frequency noise is successfully reduced/removed.
Answer: The steady-state noise amplitude is about 0.1546 0.1546 0.1546 V against an input noise amplitude of 10 10 10 V, a reduction of about 98.45 % 98.45\% 98.45% — greater than 90 % 90\% 90% , so the noise is successfully removed. The wanted ω = 1 \omega = 1 ω = 1 signal is unaffected (gain 0.9996 0.9996 0.9996 , amplitude 9.996 9.996 9.996 V).
Question 4 (Set #9)
Question
(a) Find the power series until the x 5 x^5 x 5 term for the following function
f ( x ) = ln ( 1 + x ) f(x) = \ln(1 + x) f ( x ) = ln ( 1 + x )
using the Maclaurin's Series given below
f ( x ) = f ( 0 ) + x f ′ ( 0 ) + x 2 2 ! f ′ ′ ( 0 ) + x 3 3 ! f ′ ′ ′ ( 0 ) + ⋯ f(x) = f(0) + xf'(0) + \frac{x^2}{2!}f''(0) + \frac{x^3}{3!}f'''(0) + \cdots f ( x ) = f ( 0 ) + x f ′ ( 0 ) + 2 ! x 2 f ′′ ( 0 ) + 3 ! x 3 f ′′′ ( 0 ) + ⋯
(b) Apply the power series method and part (a) to find the particular solution at x = 0 x = 0 x = 0 for the following differential equation
y ′ ′ − 2 x y = ln ( 1 + x ) , y ( 0 ) = y ′ ( 0 ) = 7. y'' - 2xy = \ln(1 + x), \qquad y(0) = y'(0) = 7. y ′′ − 2 x y = ln ( 1 + x ) , y ( 0 ) = y ′ ( 0 ) = 7.
Question 4(a) (4 marks)
Question
Find the power series until the x 5 x^5 x 5 term for f ( x ) = ln ( 1 + x ) f(x) = \ln(1 + x) f ( x ) = ln ( 1 + x ) using the Maclaurin's Series f ( x ) = f ( 0 ) + x f ′ ( 0 ) + x 2 2 ! f ′ ′ ( 0 ) + x 3 3 ! f ′ ′ ′ ( 0 ) + ⋯ f(x) = f(0) + xf'(0) + \frac{x^2}{2!}f''(0) + \frac{x^3}{3!}f'''(0) + \cdots f ( x ) = f ( 0 ) + x f ′ ( 0 ) + 2 ! x 2 f ′′ ( 0 ) + 3 ! x 3 f ′′′ ( 0 ) + ⋯
Technique. Compute the successive derivatives of f f f at x = 0 x = 0 x = 0 and substitute them into the Maclaurin expansion.
f ( x ) = ln ( 1 + x ) , f ′ ( x ) = 1 1 + x , f ′ ′ ( x ) = − 1 ( 1 + x ) 2 , f(x) = \ln(1+x), \qquad f'(x) = \frac{1}{1+x}, \qquad f''(x) = -\frac{1}{(1+x)^2}, f ( x ) = ln ( 1 + x ) , f ′ ( x ) = 1 + x 1 , f ′′ ( x ) = − ( 1 + x ) 2 1 , f ′ ′ ′ ( x ) = 2 ( 1 + x ) 3 , f ( 4 ) ( x ) = − 6 ( 1 + x ) 4 , f ( 5 ) ( x ) = 24 ( 1 + x ) 5 . f'''(x) = \frac{2}{(1+x)^3}, \qquad f^{(4)}(x) = -\frac{6}{(1+x)^4}, \qquad f^{(5)}(x) = \frac{24}{(1+x)^5}. f ′′′ ( x ) = ( 1 + x ) 3 2 , f ( 4 ) ( x ) = − ( 1 + x ) 4 6 , f ( 5 ) ( x ) = ( 1 + x ) 5 24 . Evaluating at x = 0 x = 0 x = 0 :
derivative value at x = 0 x = 0 x = 0 f ( 0 ) f(0) f ( 0 ) 0 0 0 f ′ ( 0 ) f'(0) f ′ ( 0 ) 1 1 1 f ′ ′ ( 0 ) f''(0) f ′′ ( 0 ) − 1 -1 − 1 f ′ ′ ′ ( 0 ) f'''(0) f ′′′ ( 0 ) 2 2 2 f ( 4 ) ( 0 ) f^{(4)}(0) f ( 4 ) ( 0 ) − 6 -6 − 6 f ( 5 ) ( 0 ) f^{(5)}(0) f ( 5 ) ( 0 ) 24 24 24
Substituting into the Maclaurin series:
f ( x ) = 0 + x ( 1 ) + x 2 2 ! ( − 1 ) + x 3 3 ! ( 2 ) + x 4 4 ! ( − 6 ) + x 5 5 ! ( 24 ) + ⋯ f(x) = 0 + x(1) + \frac{x^2}{2!}(-1) + \frac{x^3}{3!}(2) + \frac{x^4}{4!}(-6) + \frac{x^5}{5!}(24) + \cdots f ( x ) = 0 + x ( 1 ) + 2 ! x 2 ( − 1 ) + 3 ! x 3 ( 2 ) + 4 ! x 4 ( − 6 ) + 5 ! x 5 ( 24 ) + ⋯ f ( x ) = x − x 2 2 + x 3 3 − x 4 4 + x 5 5 − ⋯ f(x) = x - \frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4} + \frac{x^5}{5} - \cdots f ( x ) = x − 2 x 2 + 3 x 3 − 4 x 4 + 5 x 5 − ⋯ Check. This is the standard series for ln ( 1 + x ) \ln(1+x) ln ( 1 + x ) , valid for − 1 < x ≤ 1 -1 < x \le 1 − 1 < x ≤ 1 .
Answer: f ( x ) = ln ( 1 + x ) = x − x 2 2 + x 3 3 − x 4 4 + x 5 5 − ⋯ f(x) = \ln(1+x) = x - \frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4} + \frac{x^5}{5} - \cdots f ( x ) = ln ( 1 + x ) = x − 2 x 2 + 3 x 3 − 4 x 4 + 5 x 5 − ⋯
Question 4(b) (11 marks)
Question
Apply the power series method and part (a) to find the particular solution at x = 0 x = 0 x = 0 for the following differential equation
y ′ ′ − 2 x y = ln ( 1 + x ) , y ( 0 ) = y ′ ( 0 ) = 7. y'' - 2xy = \ln(1 + x), \qquad y(0) = y'(0) = 7. y ′′ − 2 x y = ln ( 1 + x ) , y ( 0 ) = y ′ ( 0 ) = 7.
Technique. Assume a power-series solution about the ordinary point x = 0 x = 0 x = 0 , substitute into the ODE, and equate coefficients of like powers of x x x . The right-hand side is the series found in part (a), and y ( 0 ) = a 0 y(0) = a_0 y ( 0 ) = a 0 , y ′ ( 0 ) = a 1 y'(0) = a_1 y ′ ( 0 ) = a 1 supply the two starting coefficients.
Step 1 — Assume the series.
y ( x ) = ∑ n = 0 ∞ a n x n , y ′ ′ ( x ) = ∑ n = 2 ∞ n ( n − 1 ) a n x n − 2 . y(x) = \sum_{n=0}^{\infty} a_n x^n, \qquad y''(x) = \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2}. y ( x ) = n = 0 ∑ ∞ a n x n , y ′′ ( x ) = n = 2 ∑ ∞ n ( n − 1 ) a n x n − 2 . From the initial conditions,
a 0 = y ( 0 ) = 7 , a 1 = y ′ ( 0 ) = 7. a_0 = y(0) = 7, \qquad a_1 = y'(0) = 7. a 0 = y ( 0 ) = 7 , a 1 = y ′ ( 0 ) = 7. Step 2 — Substitute into the ODE.
y ′ ′ − 2 x y = ∑ n = 2 ∞ n ( n − 1 ) a n x n − 2 − 2 ∑ n = 0 ∞ a n x n + 1 = x − x 2 2 + x 3 3 − x 4 4 + x 5 5 − ⋯ y'' - 2xy = \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2} - 2\sum_{n=0}^{\infty} a_n x^{n+1} = x - \frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4} + \frac{x^5}{5} - \cdots y ′′ − 2 x y = n = 2 ∑ ∞ n ( n − 1 ) a n x n − 2 − 2 n = 0 ∑ ∞ a n x n + 1 = x − 2 x 2 + 3 x 3 − 4 x 4 + 5 x 5 − ⋯ Step 3 — Recurrence relation.
Equating the coefficient of x k x^k x k on both sides (the y ′ ′ y'' y ′′ sum contributes ( k + 2 ) ( k + 1 ) a k + 2 (k+2)(k+1)a_{k+2} ( k + 2 ) ( k + 1 ) a k + 2 and the − 2 x y -2xy − 2 x y sum contributes − 2 a k − 1 -2a_{k-1} − 2 a k − 1 , with a − 1 ≡ 0 a_{-1} \equiv 0 a − 1 ≡ 0 ), and writing c k c_k c k for the coefficient of x k x^k x k in ln ( 1 + x ) \ln(1+x) ln ( 1 + x ) :
( k + 2 ) ( k + 1 ) a k + 2 − 2 a k − 1 = c k , c k = ( − 1 ) k + 1 k ( k ≥ 1 ) , c 0 = 0. (k+2)(k+1)a_{k+2} - 2a_{k-1} = c_k, \qquad c_k = \frac{(-1)^{k+1}}{k}\ (k \ge 1),\ c_0 = 0. ( k + 2 ) ( k + 1 ) a k + 2 − 2 a k − 1 = c k , c k = k ( − 1 ) k + 1 ( k ≥ 1 ) , c 0 = 0. Step 4 — Generate the coefficients.
k k k equation coefficient found 0 2 a 2 = 0 2a_2 = 0 2 a 2 = 0 a 2 = 0 a_2 = 0 a 2 = 0 1 6 a 3 − 2 ( 7 ) = 1 6a_3 - 2(7) = 1 6 a 3 − 2 ( 7 ) = 1 a 3 = 15 6 = 5 2 = 2.5 a_3 = \frac{15}{6} = \frac{5}{2} = 2.5 a 3 = 6 15 = 2 5 = 2.5 2 12 a 4 − 2 ( 7 ) = − 1 2 12a_4 - 2(7) = -\frac{1}{2} 12 a 4 − 2 ( 7 ) = − 2 1 a 4 = 27 / 2 12 = 9 8 = 1.125 a_4 = \frac{27/2}{12} = \frac{9}{8} = 1.125 a 4 = 12 27/2 = 8 9 = 1.125 3 20 a 5 − 2 ( 0 ) = 1 3 20a_5 - 2(0) = \frac{1}{3} 20 a 5 − 2 ( 0 ) = 3 1 a 5 = 1 60 ≈ 0.016667 a_5 = \frac{1}{60} \approx 0.016667 a 5 = 60 1 ≈ 0.016667 4 30 a 6 − 2 ( 5 2 ) = − 1 4 30a_6 - 2\left(\frac{5}{2}\right) = -\frac{1}{4} 30 a 6 − 2 ( 2 5 ) = − 4 1 a 6 = 19 / 4 30 = 19 120 ≈ 0.158333 a_6 = \frac{19/4}{30} = \frac{19}{120} \approx 0.158333 a 6 = 30 19/4 = 120 19 ≈ 0.158333 5 42 a 7 − 2 ( 9 8 ) = 1 5 42a_7 - 2\left(\frac{9}{8}\right) = \frac{1}{5} 42 a 7 − 2 ( 8 9 ) = 5 1 a 7 = 49 / 20 42 = 7 120 ≈ 0.058333 a_7 = \frac{49/20}{42} = \frac{7}{120} \approx 0.058333 a 7 = 42 49/20 = 120 7 ≈ 0.058333
Note that a 2 = 0 a_2 = 0 a 2 = 0 : the x 2 x^2 x 2 term vanishes because y ′ ′ ( 0 ) = ln ( 1 + 0 ) = 0 y''(0) = \ln(1+0) = 0 y ′′ ( 0 ) = ln ( 1 + 0 ) = 0 .
Step 5 — Particular solution.
y ( x ) = 7 + 7 x + 5 2 x 3 + 9 8 x 4 + 1 60 x 5 + 19 120 x 6 + 7 120 x 7 + ⋯ y(x) = 7 + 7x + \frac{5}{2}x^3 + \frac{9}{8}x^4 + \frac{1}{60}x^5 + \frac{19}{120}x^6 + \frac{7}{120}x^7 + \cdots y ( x ) = 7 + 7 x + 2 5 x 3 + 8 9 x 4 + 60 1 x 5 + 120 19 x 6 + 120 7 x 7 + ⋯ Numerically,
y ( x ) ≈ 7 + 7 x + 2.5 x 3 + 1.125 x 4 + 0.016667 x 5 + 0.158333 x 6 + 0.058333 x 7 + ⋯ y(x) \approx 7 + 7x + 2.5x^3 + 1.125x^4 + 0.016667x^5 + 0.158333x^6 + 0.058333x^7 + \cdots y ( x ) ≈ 7 + 7 x + 2.5 x 3 + 1.125 x 4 + 0.016667 x 5 + 0.158333 x 6 + 0.058333 x 7 + ⋯ Check. Term-by-term differentiation gives y ( 0 ) = 7 y(0) = 7 y ( 0 ) = 7 and y ′ ( 0 ) = 7 y'(0) = 7 y ′ ( 0 ) = 7 , and
y ′ ′ − 2 x y − ln ( 1 + x ) = 2 15 x 6 − 193 420 x 7 + 1 120 x 8 − 1 9 x 9 + ⋯ = O ( x 6 ) , y'' - 2xy - \ln(1+x) = \frac{2}{15}x^6 - \frac{193}{420}x^7 + \frac{1}{120}x^8 - \frac{1}{9}x^9 + \cdots = O(x^6), y ′′ − 2 x y − ln ( 1 + x ) = 15 2 x 6 − 420 193 x 7 + 120 1 x 8 − 9 1 x 9 + ⋯ = O ( x 6 ) , so the recurrence is satisfied up to the terms retained.
How far the series can be taken
Part (a) supplies ln ( 1 + x ) \ln(1+x) ln ( 1 + x ) only as far as the x 5 x^5 x 5 term, and the 2 x y 2xy 2 x y term shifts the index by one; the printed data therefore determine the coefficients a 2 a_2 a 2 through a 7 a_7 a 7 (terms up to x 7 x^7 x 7 ). Further terms follow from the same recurrence using more terms of the logarithm series, c k = ( − 1 ) k + 1 k c_k = \frac{(-1)^{k+1}}{k} c k = k ( − 1 ) k + 1 for k ≥ 1 k \ge 1 k ≥ 1 .
Answer: y ( x ) = 7 + 7 x + 5 2 x 3 + 9 8 x 4 + 1 60 x 5 + 19 120 x 6 + 7 120 x 7 + ⋯ y(x) = 7 + 7x + \frac{5}{2}x^3 + \frac{9}{8}x^4 + \frac{1}{60}x^5 + \frac{19}{120}x^6 + \frac{7}{120}x^7 + \cdots y ( x ) = 7 + 7 x + 2 5 x 3 + 8 9 x 4 + 60 1 x 5 + 120 19 x 6 + 120 7 x 7 + ⋯
Set #10 (last matrix digit 10)
Question 3 (Set #10)
Question
Given the governing equation of the low pass filter with LRC circuit, where the inductance (L = 1 L = 1 L = 1 H), resistance (R = 100 Ω R = 100\ \Omega R = 100 Ω ), and capacitance (C = 0.0004 C = 0.0004 C = 0.0004 F) are shown in Figure Q3(b):
L C d 2 V o u t p u t d t 2 + R C d V o u t p u t d t + V o u t p u t = V i n p u t LC\frac{d^2V_{output}}{dt^2} + RC\frac{dV_{output}}{dt} + V_{output} = V_{input} L C d t 2 d 2 V o u tp u t + R C d t d V o u tp u t + V o u tp u t = V in p u t
Figure Q3(a) in the original paper shows the same series LRC low-pass filter driven by a source V i n p u t = 10 cos ( t ) + Noise V_{input} = 10\cos(t) + \text{Noise} V in p u t = 10 cos ( t ) + Noise , with R = 100 Ω R = 100\ \Omega R = 100 Ω , C = 400 μ C = 400\ \mu C = 400 μ F, L = 1 L = 1 L = 1 H, and the output V o u t p u t V_{output} V o u tp u t taken across the capacitor.
You are designing the circuit to obtain output voltage, V o u t p u t V_{output} V o u tp u t by reducing/removing the high frequency noise only from the input voltage, V i n p u t V_{input} V in p u t . V i n p u t V_{input} V in p u t for time, t > 0 t > 0 t > 0 is given as:
V i n p u t = 10 cos ( t ) + 10 cos ( 300 t ) V_{input} = 10\cos(t) + 10\cos(300t) V in p u t = 10 cos ( t ) + 10 cos ( 300 t )
Note: Noise = 10 cos ( 300 t ) \text{Noise} = 10\cos(300t) Noise = 10 cos ( 300 t ) .
The paper letters these parts (s) and (t) ; read them as the continuation of Question 3's running letter sequence across the ten sets (… (o), (p), (q), (r), (s), (t)), which is exactly what is printed here.
Question 3(s) (13 marks)
Question
Find the total output voltage, V o u t p u t V_{output} V o u tp u t for time, t > 0 t > 0 t > 0 . Use the trigonometric function (sine & cosine functions) to solve the non-homogeneous part.
Technique. Same method as the other sets: complementary function from the auxiliary equation, then one undetermined-coefficient particular integral per driving tone (ω = 1 \omega = 1 ω = 1 and ω = 300 \omega = 300 ω = 300 ), and finally the initial conditions to fix the two arbitrary constants.
Step 1 — Substitute the component values.
L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 , LC = (1)(0.0004) = 0.0004, \qquad RC = (100)(0.0004) = 0.04, L C = ( 1 ) ( 0.0004 ) = 0.0004 , R C = ( 100 ) ( 0.0004 ) = 0.04 , 0.0004 d 2 V o u t p u t d t 2 + 0.04 d V o u t p u t d t + V o u t p u t = 10 cos t + 10 cos ( 300 t ) . 0.0004\,\frac{d^2V_{output}}{dt^2} + 0.04\,\frac{dV_{output}}{dt} + V_{output} = 10\cos t + 10\cos(300t). 0.0004 d t 2 d 2 V o u tp u t + 0.04 d t d V o u tp u t + V o u tp u t = 10 cos t + 10 cos ( 300 t ) . Step 2 — Complementary function.
0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 , 0.0004r^2 + 0.04r + 1 = 0 \;\Longrightarrow\; r^2 + 100r + 2500 = 0 \;\Longrightarrow\; (r+50)^2 = 0, 0.0004 r 2 + 0.04 r + 1 = 0 ⟹ r 2 + 100 r + 2500 = 0 ⟹ ( r + 50 ) 2 = 0 , so r = − 50 r = -50 r = − 50 is a repeated root and
V c ( t ) = ( A + B t ) e − 50 t . V_{c}(t) = (A + Bt)e^{-50t}. V c ( t ) = ( A + B t ) e − 50 t . Step 3 — Particular integral for the wanted signal 10 cos t 10\cos t 10 cos t .
Try V p 1 = a cos t + b sin t V_{p1} = a\cos t + b\sin t V p 1 = a cos t + b sin t . As in every other set (the component values are the same), the coefficient equations are
0.9996 a + 0.04 b = 10 , − 0.04 a + 0.9996 b = 0 , 0.9996a + 0.04b = 10, \qquad -0.04a + 0.9996b = 0, 0.9996 a + 0.04 b = 10 , − 0.04 a + 0.9996 b = 0 , a = 10 ( 0.9996 ) 0.9996 2 + 0.04 2 = 62475000 6255001 ≈ 9.988008 , b = 10 ( 0.04 ) 0.9996 2 + 0.04 2 = 2500000 6255001 ≈ 0.399680. a = \frac{10(0.9996)}{0.9996^2 + 0.04^2} = \frac{62475000}{6255001} \approx 9.988008, \qquad b = \frac{10(0.04)}{0.9996^2 + 0.04^2} = \frac{2500000}{6255001} \approx 0.399680. a = 0.999 6 2 + 0.0 4 2 10 ( 0.9996 ) = 6255001 62475000 ≈ 9.988008 , b = 0.999 6 2 + 0.0 4 2 10 ( 0.04 ) = 6255001 2500000 ≈ 0.399680. So V p 1 ( t ) = 9.988008 cos t + 0.399680 sin t V_{p1}(t) = 9.988008\cos t + 0.399680\sin t V p 1 ( t ) = 9.988008 cos t + 0.399680 sin t .
Step 4 — Particular integral for the noise tone 10 cos ( 300 t ) 10\cos(300t) 10 cos ( 300 t ) .
Try V p 2 = a cos ( 300 t ) + b sin ( 300 t ) V_{p2} = a\cos(300t) + b\sin(300t) V p 2 = a cos ( 300 t ) + b sin ( 300 t ) , and set
P = 1 − 0.0004 ( 300 ) 2 = 1 − 36 = − 35 , Q = 0.04 ( 300 ) = 12. P = 1 - 0.0004(300)^2 = 1 - 36 = -35, \qquad Q = 0.04(300) = 12. P = 1 − 0.0004 ( 300 ) 2 = 1 − 36 = − 35 , Q = 0.04 ( 300 ) = 12. Then
P a + Q b = 10 , − Q a + P b = 0 ⟹ a = 10 P P 2 + Q 2 = − 350 1369 ≈ − 0.255661 , b = 10 Q P 2 + Q 2 = 120 1369 ≈ 0.087655. P a + Q b = 10, \qquad -Q a + P b = 0 \;\Longrightarrow\; a = \frac{10P}{P^2 + Q^2} = \frac{-350}{1369} \approx -0.255661, \qquad b = \frac{10Q}{P^2 + Q^2} = \frac{120}{1369} \approx 0.087655. P a + Q b = 10 , − Q a + P b = 0 ⟹ a = P 2 + Q 2 10 P = 1369 − 350 ≈ − 0.255661 , b = P 2 + Q 2 10 Q = 1369 120 ≈ 0.087655. (The numbers are clean here because P 2 + Q 2 = 35 2 + 12 2 = 1369 = 37 2 P^2 + Q^2 = 35^2 + 12^2 = 1369 = 37^2 P 2 + Q 2 = 3 5 2 + 1 2 2 = 1369 = 3 7 2 .) So
V p 2 ( t ) = − 0.255661 cos ( 300 t ) + 0.087655 sin ( 300 t ) . V_{p2}(t) = -0.255661\cos(300t) + 0.087655\sin(300t). V p 2 ( t ) = − 0.255661 cos ( 300 t ) + 0.087655 sin ( 300 t ) . Step 5 — General solution.
V o u t p u t ( t ) = ( A + B t ) e − 50 t + 9.988008 cos t + 0.399680 sin t − 0.255661 cos ( 300 t ) + 0.087655 sin ( 300 t ) . V_{output}(t) = (A + Bt)e^{-50t} + 9.988008\cos t + 0.399680\sin t - 0.255661\cos(300t) + 0.087655\sin(300t). V o u tp u t ( t ) = ( A + B t ) e − 50 t + 9.988008 cos t + 0.399680 sin t − 0.255661 cos ( 300 t ) + 0.087655 sin ( 300 t ) . Step 6 — Apply the initial conditions.
At t = 0 t = 0 t = 0 : V o u t p u t ( 0 ) = A + 9.988008 − 0.255661 = 0 V_{output}(0) = A + 9.988008 - 0.255661 = 0 V o u tp u t ( 0 ) = A + 9.988008 − 0.255661 = 0 , so
A = − ( 9.988008 − 0.255661 ) = − 9.732347. A = -(9.988008 - 0.255661) = -9.732347. A = − ( 9.988008 − 0.255661 ) = − 9.732347. Differentiating,
V o u t p u t ′ ( t ) = ( B − 50 A − 50 B t ) e − 50 t − 9.988008 sin t + 0.399680 cos t + ( 300 ) ( 0.255661 ) sin ( 300 t ) + ( 300 ) ( 0.087655 ) cos ( 300 t ) . V_{output}'(t) = (B - 50A - 50Bt)e^{-50t} - 9.988008\sin t + 0.399680\cos t + (300)(0.255661)\sin(300t) + (300)(0.087655)\cos(300t). V o u tp u t ′ ( t ) = ( B − 50 A − 50 B t ) e − 50 t − 9.988008 sin t + 0.399680 cos t + ( 300 ) ( 0.255661 ) sin ( 300 t ) + ( 300 ) ( 0.087655 ) cos ( 300 t ) . At t = 0 t = 0 t = 0 : V o u t p u t ′ ( 0 ) = B − 50 A + 0.399680 + 300 ( 0.087655 ) = 0 V_{output}'(0) = B - 50A + 0.399680 + 300(0.087655) = 0 V o u tp u t ′ ( 0 ) = B − 50 A + 0.399680 + 300 ( 0.087655 ) = 0 , hence
B = 50 A − 0.399680 − 26.296567 = 50 ( − 9.732347 ) − 26.696247 = − 486.617346 − 26.696247 = − 513.313593. B = 50A - 0.399680 - 26.296567 = 50(-9.732347) - 26.696247 = -486.617346 - 26.696247 = -513.313593. B = 50 A − 0.399680 − 26.296567 = 50 ( − 9.732347 ) − 26.696247 = − 486.617346 − 26.696247 = − 513.313593. Check. Substituting the closed form back into 0.0004 V ′ ′ + 0.04 V ′ + V 0.0004V'' + 0.04V' + V 0.0004 V ′′ + 0.04 V ′ + V reproduces 10 cos t + 10 cos ( 300 t ) 10\cos t + 10\cos(300t) 10 cos t + 10 cos ( 300 t ) exactly, and V o u t p u t ( 0 ) = V o u t p u t ′ ( 0 ) = 0 V_{output}(0) = V_{output}'(0) = 0 V o u tp u t ( 0 ) = V o u tp u t ′ ( 0 ) = 0 .
The printed question gives the governing equation and V i n p u t V_{input} V in p u t but no values for V o u t p u t ( 0 ) V_{output}(0) V o u tp u t ( 0 ) and V o u t p u t ′ ( 0 ) V_{output}'(0) V o u tp u t ′ ( 0 ) . The standard reading for a filter that starts at t = 0 t = 0 t = 0 is the rest state V o u t p u t ( 0 ) = V o u t p u t ′ ( 0 ) = 0 V_{output}(0) = V_{output}'(0) = 0 V o u tp u t ( 0 ) = V o u tp u t ′ ( 0 ) = 0 (capacitor uncharged, zero initial current); that is what is used above. If different initial conditions were supplied, only A A A and B B B would change — the complementary function and both particular integrals are unaffected.
Answer: V o u t p u t ( t ) = ( A + B t ) e − 50 t + 9.988008 cos t + 0.399680 sin t − 0.255661 cos ( 300 t ) + 0.087655 sin ( 300 t ) V_{output}(t) = (A + Bt)e^{-50t} + 9.988008\cos t + 0.399680\sin t - 0.255661\cos(300t) + 0.087655\sin(300t) V o u tp u t ( t ) = ( A + B t ) e − 50 t + 9.988008 cos t + 0.399680 sin t − 0.255661 cos ( 300 t ) + 0.087655 sin ( 300 t ) , with A = − 9.732347 A = -9.732347 A = − 9.732347 and B = − 513.3136 B = -513.3136 B = − 513.3136 .
Question 3(t) (2 marks)
Question
Refer to the steady state result of V o u t p u t V_{output} V o u tp u t only, check if the noise is successfully reduced/removed (> 90% amplitude reduction) or not. Hint: amplitude = a 2 + b 2 = \sqrt{a^2 + b^2} = a 2 + b 2 for a cos ( ω t ) + b sin ( ω t ) a\cos(\omega t) + b\sin(\omega t) a cos ( ω t ) + b sin ( ω t ) function.
Technique. Take the steady-state part of V o u t p u t V_{output} V o u tp u t only, compute the amplitude a 2 + b 2 \sqrt{a^2+b^2} a 2 + b 2 of each tone, and compare the noise amplitude with the 10 10 10 V noise amplitude in V i n p u t V_{input} V in p u t .
Step 1 — Steady-state amplitudes.
For the wanted signal at ω = 1 \omega = 1 ω = 1 :
amplitude = ( 9.988008 ) 2 + ( 0.399680 ) 2 ≈ 9.996 V . \text{amplitude} = \sqrt{(9.988008)^2 + (0.399680)^2} \approx 9.996\ \text{V}. amplitude = ( 9.988008 ) 2 + ( 0.399680 ) 2 ≈ 9.996 V . For the noise at ω = 300 \omega = 300 ω = 300 :
amplitude = ( − 0.255661 ) 2 + ( 0.087655 ) 2 = 0.065363 + 0.007683 = 0.073046 = 10 37 ≈ 0.2703 V . \text{amplitude} = \sqrt{(-0.255661)^2 + (0.087655)^2} = \sqrt{0.065363 + 0.007683} = \sqrt{0.073046} = \frac{10}{37} \approx 0.2703\ \text{V}. amplitude = ( − 0.255661 ) 2 + ( 0.087655 ) 2 = 0.065363 + 0.007683 = 0.073046 = 37 10 ≈ 0.2703 V . Equivalently, the gain at angular frequency ω \omega ω is
∣ V o u t p u t V i n p u t ∣ = 1 ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 , \left|\frac{V_{output}}{V_{input}}\right| = \frac{1}{\sqrt{(1 - 0.0004\omega^2)^2 + (0.04\omega)^2}}, V in p u t V o u tp u t = ( 1 − 0.0004 ω 2 ) 2 + ( 0.04 ω ) 2 1 , which is 2500 / 2501 ≈ 0.9996 2500/2501 \approx 0.9996 2500/2501 ≈ 0.9996 at ω = 1 \omega = 1 ω = 1 and exactly 1 / 37 ≈ 0.02703 1/37 \approx 0.02703 1/37 ≈ 0.02703 at ω = 300 \omega = 300 ω = 300 .
Step 2 — Percentage reduction of the noise.
reduction = 10 − 0.2703 10 × 100 % = 97.30 % . \text{reduction} = \frac{10 - 0.2703}{10} \times 100\% = 97.30\%. reduction = 10 10 − 0.2703 × 100% = 97.30%. Since 97.30 % > 90 % 97.30\% > 90\% 97.30% > 90% , the high-frequency noise is successfully reduced/removed.
Answer: The steady-state noise amplitude is 10 37 ≈ 0.2703 \frac{10}{37} \approx 0.2703 37 10 ≈ 0.2703 V against an input noise amplitude of 10 10 10 V, a reduction of 97.30 % 97.30\% 97.30% — greater than 90 % 90\% 90% , so the noise is successfully removed. The wanted ω = 1 \omega = 1 ω = 1 signal is unaffected (gain 0.9996 0.9996 0.9996 , amplitude 9.996 9.996 9.996 V).
Question 4 (Set #10)
Question
(a) Find the power series until the x 5 x^5 x 5 term for the following function
f ( x ) = ln ( 4 + x ) f(x) = \ln(4 + x) f ( x ) = ln ( 4 + x )
using the Maclaurin's Series given below
f ( x ) = f ( 0 ) + x f ′ ( 0 ) + x 2 2 ! f ′ ′ ( 0 ) + x 3 3 ! f ′ ′ ′ ( 0 ) + ⋯ f(x) = f(0) + xf'(0) + \frac{x^2}{2!}f''(0) + \frac{x^3}{3!}f'''(0) + \cdots f ( x ) = f ( 0 ) + x f ′ ( 0 ) + 2 ! x 2 f ′′ ( 0 ) + 3 ! x 3 f ′′′ ( 0 ) + ⋯
(b) Apply the power series method and part (a) to find the particular solution at x = 0 x = 0 x = 0 for the following differential equation
y ′ ′ − 2 x y = ln ( 4 + x ) , y ( 0 ) = y ′ ( 0 ) = 10. y'' - 2xy = \ln(4 + x), \qquad y(0) = y'(0) = 10. y ′′ − 2 x y = ln ( 4 + x ) , y ( 0 ) = y ′ ( 0 ) = 10.
Question 4(a) (4 marks)
Question
Find the power series until the x 5 x^5 x 5 term for f ( x ) = ln ( 4 + x ) f(x) = \ln(4 + x) f ( x ) = ln ( 4 + x ) using the Maclaurin's Series f ( x ) = f ( 0 ) + x f ′ ( 0 ) + x 2 2 ! f ′ ′ ( 0 ) + x 3 3 ! f ′ ′ ′ ( 0 ) + ⋯ f(x) = f(0) + xf'(0) + \frac{x^2}{2!}f''(0) + \frac{x^3}{3!}f'''(0) + \cdots f ( x ) = f ( 0 ) + x f ′ ( 0 ) + 2 ! x 2 f ′′ ( 0 ) + 3 ! x 3 f ′′′ ( 0 ) + ⋯
Technique. Differentiate f f f repeatedly, evaluate each derivative at x = 0 x = 0 x = 0 , and substitute into the Maclaurin expansion. (Equivalently, write ln ( 4 + x ) = ln 4 + ln ( 1 + x 4 ) \ln(4+x) = \ln 4 + \ln\left(1 + \frac{x}{4}\right) ln ( 4 + x ) = ln 4 + ln ( 1 + 4 x ) and use the series for ln ( 1 + u ) \ln(1+u) ln ( 1 + u ) from part (a) with u = x / 4 u = x/4 u = x /4 .)
f ( x ) = ln ( 4 + x ) , f ′ ( x ) = 1 4 + x , f ′ ′ ( x ) = − 1 ( 4 + x ) 2 , f(x) = \ln(4+x), \qquad f'(x) = \frac{1}{4+x}, \qquad f''(x) = -\frac{1}{(4+x)^2}, f ( x ) = ln ( 4 + x ) , f ′ ( x ) = 4 + x 1 , f ′′ ( x ) = − ( 4 + x ) 2 1 , f ′ ′ ′ ( x ) = 2 ( 4 + x ) 3 , f ( 4 ) ( x ) = − 6 ( 4 + x ) 4 , f ( 5 ) ( x ) = 24 ( 4 + x ) 5 . f'''(x) = \frac{2}{(4+x)^3}, \qquad f^{(4)}(x) = -\frac{6}{(4+x)^4}, \qquad f^{(5)}(x) = \frac{24}{(4+x)^5}. f ′′′ ( x ) = ( 4 + x ) 3 2 , f ( 4 ) ( x ) = − ( 4 + x ) 4 6 , f ( 5 ) ( x ) = ( 4 + x ) 5 24 . Evaluating at x = 0 x = 0 x = 0 :
derivative value at x = 0 x = 0 x = 0 f ( 0 ) f(0) f ( 0 ) ln 4 = 2 ln 2 ≈ 1.386294 \ln 4 = 2\ln 2 \approx 1.386294 ln 4 = 2 ln 2 ≈ 1.386294 f ′ ( 0 ) f'(0) f ′ ( 0 ) 1 4 = 0.25 \frac{1}{4} = 0.25 4 1 = 0.25 f ′ ′ ( 0 ) f''(0) f ′′ ( 0 ) − 1 16 = − 0.0625 -\frac{1}{16} = -0.0625 − 16 1 = − 0.0625 f ′ ′ ′ ( 0 ) f'''(0) f ′′′ ( 0 ) 2 64 = 1 32 = 0.03125 \frac{2}{64} = \frac{1}{32} = 0.03125 64 2 = 32 1 = 0.03125 f ( 4 ) ( 0 ) f^{(4)}(0) f ( 4 ) ( 0 ) − 6 256 = − 3 128 -\frac{6}{256} = -\frac{3}{128} − 256 6 = − 128 3 f ( 5 ) ( 0 ) f^{(5)}(0) f ( 5 ) ( 0 ) 24 1024 = 3 128 \frac{24}{1024} = \frac{3}{128} 1024 24 = 128 3
Substituting into the Maclaurin series:
f ( x ) = ln 4 + x ( 1 4 ) + x 2 2 ! ( − 1 16 ) + x 3 3 ! ( 1 32 ) + x 4 4 ! ( − 3 128 ) + x 5 5 ! ( 3 128 ) + ⋯ f(x) = \ln 4 + x\left(\frac{1}{4}\right) + \frac{x^2}{2!}\left(-\frac{1}{16}\right) + \frac{x^3}{3!}\left(\frac{1}{32}\right) + \frac{x^4}{4!}\left(-\frac{3}{128}\right) + \frac{x^5}{5!}\left(\frac{3}{128}\right) + \cdots f ( x ) = ln 4 + x ( 4 1 ) + 2 ! x 2 ( − 16 1 ) + 3 ! x 3 ( 32 1 ) + 4 ! x 4 ( − 128 3 ) + 5 ! x 5 ( 128 3 ) + ⋯ f ( x ) = ln 4 + x 4 − x 2 32 + x 3 192 − x 4 1024 + x 5 5120 − ⋯ f(x) = \ln 4 + \frac{x}{4} - \frac{x^2}{32} + \frac{x^3}{192} - \frac{x^4}{1024} + \frac{x^5}{5120} - \cdots f ( x ) = ln 4 + 4 x − 32 x 2 + 192 x 3 − 1024 x 4 + 5120 x 5 − ⋯ Check. Using the standard series ln ( 4 + x ) = ln 4 + ∑ n ≥ 1 ( − 1 ) n + 1 n ( x 4 ) n \ln(4+x) = \ln 4 + \sum_{n \ge 1} \frac{(-1)^{n+1}}{n}\left(\frac{x}{4}\right)^n ln ( 4 + x ) = ln 4 + ∑ n ≥ 1 n ( − 1 ) n + 1 ( 4 x ) n gives the same five terms, and ln 4 ≈ 1.386294 \ln 4 \approx 1.386294 ln 4 ≈ 1.386294 .
Answer: f ( x ) = ln ( 4 + x ) = ln 4 + x 4 − x 2 32 + x 3 192 − x 4 1024 + x 5 5120 − ⋯ f(x) = \ln(4+x) = \ln 4 + \frac{x}{4} - \frac{x^2}{32} + \frac{x^3}{192} - \frac{x^4}{1024} + \frac{x^5}{5120} - \cdots f ( x ) = ln ( 4 + x ) = ln 4 + 4 x − 32 x 2 + 192 x 3 − 1024 x 4 + 5120 x 5 − ⋯
Question 4(b) (11 marks)
Question
Apply the power series method and part (a) to find the particular solution at x = 0 x = 0 x = 0 for the following differential equation
y ′ ′ − 2 x y = ln ( 4 + x ) , y ( 0 ) = y ′ ( 0 ) = 10. y'' - 2xy = \ln(4 + x), \qquad y(0) = y'(0) = 10. y ′′ − 2 x y = ln ( 4 + x ) , y ( 0 ) = y ′ ( 0 ) = 10.
Technique. Assume y = ∑ a n x n y = \sum a_n x^n y = ∑ a n x n , substitute into the ODE, and equate coefficients of x k x^k x k . The right-hand side is the series from part (a); the initial conditions give a 0 a_0 a 0 and a 1 a_1 a 1 .
Step 1 — Assume the series and read off the initial conditions.
y ( x ) = ∑ n = 0 ∞ a n x n , y ′ ′ ( x ) = ∑ n = 2 ∞ n ( n − 1 ) a n x n − 2 , a 0 = y ( 0 ) = 10 , a 1 = y ′ ( 0 ) = 10. y(x) = \sum_{n=0}^{\infty} a_n x^n, \qquad y''(x) = \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2}, \qquad a_0 = y(0) = 10, \qquad a_1 = y'(0) = 10. y ( x ) = n = 0 ∑ ∞ a n x n , y ′′ ( x ) = n = 2 ∑ ∞ n ( n − 1 ) a n x n − 2 , a 0 = y ( 0 ) = 10 , a 1 = y ′ ( 0 ) = 10. Step 2 — Substitute into the ODE.
y ′ ′ − 2 x y = ∑ n = 2 ∞ n ( n − 1 ) a n x n − 2 − 2 ∑ n = 0 ∞ a n x n + 1 = ln 4 + x 4 − x 2 32 + x 3 192 − x 4 1024 + x 5 5120 − ⋯ y'' - 2xy = \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2} - 2\sum_{n=0}^{\infty} a_n x^{n+1} = \ln 4 + \frac{x}{4} - \frac{x^2}{32} + \frac{x^3}{192} - \frac{x^4}{1024} + \frac{x^5}{5120} - \cdots y ′′ − 2 x y = n = 2 ∑ ∞ n ( n − 1 ) a n x n − 2 − 2 n = 0 ∑ ∞ a n x n + 1 = ln 4 + 4 x − 32 x 2 + 192 x 3 − 1024 x 4 + 5120 x 5 − ⋯ Step 3 — Recurrence relation.
With c k c_k c k the coefficient of x k x^k x k on the right-hand side (c 0 = ln 4 c_0 = \ln 4 c 0 = ln 4 , and c k = ( − 1 ) k + 1 k 4 k c_k = \frac{(-1)^{k+1}}{k\,4^k} c k = k 4 k ( − 1 ) k + 1 for k ≥ 1 k \ge 1 k ≥ 1 ), equating coefficients of x k x^k x k gives
( k + 2 ) ( k + 1 ) a k + 2 − 2 a k − 1 = c k ( k = 0 , 1 , 2 , … ) , (k+2)(k+1)a_{k+2} - 2a_{k-1} = c_k \qquad (k = 0, 1, 2, \dots), ( k + 2 ) ( k + 1 ) a k + 2 − 2 a k − 1 = c k ( k = 0 , 1 , 2 , … ) , where a − 1 ≡ 0 a_{-1} \equiv 0 a − 1 ≡ 0 .
Step 4 — Generate the coefficients.
k k k equation coefficient found 0 2 a 2 = ln 4 2a_2 = \ln 4 2 a 2 = ln 4 a 2 = ln 4 2 = ln 2 ≈ 0.693147 a_2 = \frac{\ln 4}{2} = \ln 2 \approx 0.693147 a 2 = 2 l n 4 = ln 2 ≈ 0.693147 1 6 a 3 − 2 ( 10 ) = 1 4 6a_3 - 2(10) = \frac{1}{4} 6 a 3 − 2 ( 10 ) = 4 1 a 3 = 81 / 4 6 = 27 8 = 3.375 a_3 = \frac{81/4}{6} = \frac{27}{8} = 3.375 a 3 = 6 81/4 = 8 27 = 3.375 2 12 a 4 − 2 ( 10 ) = − 1 32 12a_4 - 2(10) = -\frac{1}{32} 12 a 4 − 2 ( 10 ) = − 32 1 a 4 = 639 / 32 12 = 213 128 = 1.6640625 a_4 = \frac{639/32}{12} = \frac{213}{128} = 1.6640625 a 4 = 12 639/32 = 128 213 = 1.6640625 3 20 a 5 − 2 ( ln 2 ) = 1 192 20a_5 - 2(\ln 2) = \frac{1}{192} 20 a 5 − 2 ( ln 2 ) = 192 1 a 5 = 1 3840 + ln 2 10 ≈ 0.0695751 a_5 = \frac{1}{3840} + \frac{\ln 2}{10} \approx 0.0695751 a 5 = 3840 1 + 10 l n 2 ≈ 0.0695751 4 30 a 6 − 2 ( 27 8 ) = − 1 1024 30a_6 - 2\left(\frac{27}{8}\right) = -\frac{1}{1024} 30 a 6 − 2 ( 8 27 ) = − 1024 1 a 6 = 6911 / 1024 30 = 6911 30720 ≈ 0.224967 a_6 = \frac{6911/1024}{30} = \frac{6911}{30720} \approx 0.224967 a 6 = 30 6911/1024 = 30720 6911 ≈ 0.224967 5 42 a 7 − 2 ( 213 128 ) = 1 5120 42a_7 - 2\left(\frac{213}{128}\right) = \frac{1}{5120} 42 a 7 − 2 ( 128 213 ) = 5120 1 a 7 = 17041 / 5120 42 = 17041 215040 ≈ 0.0792457 a_7 = \frac{17041/5120}{42} = \frac{17041}{215040} \approx 0.0792457 a 7 = 42 17041/5120 = 215040 17041 ≈ 0.0792457
Step 5 — Particular solution.
y ( x ) = 10 + 10 x + ( ln 2 ) x 2 + 27 8 x 3 + 213 128 x 4 + ( 1 3840 + ln 2 10 ) x 5 + 6911 30720 x 6 + 17041 215040 x 7 + ⋯ y(x) = 10 + 10x + (\ln 2)x^2 + \frac{27}{8}x^3 + \frac{213}{128}x^4 + \left(\frac{1}{3840} + \frac{\ln 2}{10}\right)x^5 + \frac{6911}{30720}x^6 + \frac{17041}{215040}x^7 + \cdots y ( x ) = 10 + 10 x + ( ln 2 ) x 2 + 8 27 x 3 + 128 213 x 4 + ( 3840 1 + 10 ln 2 ) x 5 + 30720 6911 x 6 + 215040 17041 x 7 + ⋯ Numerically,
y ( x ) ≈ 10 + 10 x + 0.693147 x 2 + 3.375 x 3 + 1.6640625 x 4 + 0.0695751 x 5 + 0.224967 x 6 + 0.0792457 x 7 + ⋯ y(x) \approx 10 + 10x + 0.693147x^2 + 3.375x^3 + 1.6640625x^4 + 0.0695751x^5 + 0.224967x^6 + 0.0792457x^7 + \cdots y ( x ) ≈ 10 + 10 x + 0.693147 x 2 + 3.375 x 3 + 1.6640625 x 4 + 0.0695751 x 5 + 0.224967 x 6 + 0.0792457 x 7 + ⋯ Check. Term-by-term differentiation gives y ( 0 ) = 10 y(0) = 10 y ( 0 ) = 10 and y ′ ( 0 ) = 10 y'(0) = 10 y ′ ( 0 ) = 10 , and
y ′ ′ − 2 x y − ln ( 4 + x ) = − ( ln 2 5 + 59 122880 ) x 6 − 774047 1720320 x 7 − 8724887 55050240 x 8 + ⋯ = O ( x 6 ) , y'' - 2xy - \ln(4+x) = -\left(\frac{\ln 2}{5} + \frac{59}{122880}\right)x^6 - \frac{774047}{1720320}x^7 - \frac{8724887}{55050240}x^8 + \cdots = O(x^6), y ′′ − 2 x y − ln ( 4 + x ) = − ( 5 ln 2 + 122880 59 ) x 6 − 1720320 774047 x 7 − 55050240 8724887 x 8 + ⋯ = O ( x 6 ) , so the recurrence is satisfied up to the terms retained.
How far the series can be taken
Part (a) supplies ln ( 4 + x ) \ln(4+x) ln ( 4 + x ) only as far as the x 5 x^5 x 5 term, and the 2 x y 2xy 2 x y term shifts the index by one; the printed data therefore determine the coefficients a 2 a_2 a 2 through a 7 a_7 a 7 (terms up to x 7 x^7 x 7 ). Further terms follow from the same recurrence using more terms of the logarithm series, c k = ( − 1 ) k + 1 k 4 k c_k = \frac{(-1)^{k+1}}{k\,4^k} c k = k 4 k ( − 1 ) k + 1 for k ≥ 1 k \ge 1 k ≥ 1 .
Answer: y ( x ) = 10 + 10 x + ( ln 2 ) x 2 + 27 8 x 3 + 213 128 x 4 + ( 1 3840 + ln 2 10 ) x 5 + 6911 30720 x 6 + 17041 215040 x 7 + ⋯ y(x) = 10 + 10x + (\ln 2)x^2 + \frac{27}{8}x^3 + \frac{213}{128}x^4 + \left(\frac{1}{3840} + \frac{\ln 2}{10}\right)x^5 + \frac{6911}{30720}x^6 + \frac{17041}{215040}x^7 + \cdots y ( x ) = 10 + 10 x + ( ln 2 ) x 2 + 8 27 x 3 + 128 213 x 4 + ( 3840 1 + 10 l n 2 ) x 5 + 30720 6911 x 6 + 215040 17041 x 7 + ⋯
TAMAT / END