8.1 KB · commit a9602da
4.1 Explain the method of least squares to fit a straight line of the form Y=a0+a1x to the data (xi,yi):
| x | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| y | 2.4 | 3.1 | 3.5 | 4.2 | 5.0 | 6.0 |
4.2 Find the values of a0 and a1 so that Y=a0+a1x fits the data given in the table:
| x | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| y | 1.0 | 2.9 | 4.8 | 6.7 | 8.6 |
4.3 If the straight line Y=a0+a1x is the best fit to the set of data points (x1,y1),(x2,y2),…,(xn,yn), show that
xΣxiΣxi2yΣyiΣxiyi1nΣxi=0,i=1,2,…,n.4.4 Use the method of least squares to fit the straight line Y=a+bx to the data:
| x | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| y | 2 | 5 | 8 | 11 |
| w | 1 | 1 | 1 | 1 |
4.5 Find the values of a, b, c so that Y=a+bx+cx2 is the best fit to the data:
| x | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| y | 1 | 0 | 3 | 10 | 21 |
4.6 Fit a least squares parabola Y=a+bx+cx2 to the data:
| x | 0 | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|---|
| y | 71 | 89 | 67 | 43 | 31 | 18 | 9 |
4.7 Determine the normal equations if the cubic polynomial Y=a0+a1x+a2x2+a3x3 is fitted to the data (xi,yi), i=1,2,…,m.
4.8 Determine the constants a and b, by the method of least squares, such that the curve y=aebx fits the data:
| x | 2 | 4 | 6 | 8 | 10 |
|---|---|---|---|---|---|
| y | 4.077 | 11.084 | 30.128 | 81.897 | 222.62 |
4.9 Fit a function of the form y=axb for the following data:
| x | 61 | 26 | 7 | 2.6 |
|---|---|---|---|---|
| y | 350 | 400 | 500 | 600 |
4.10 Using the method of least squares, fit a curve of the form Y=xa+bx to the following data (x,y):
(1,5.43),(2,6.28),(4,10.32),(6,14.86),(8,19.51).
4.11 Fit a function of the form y=A1eλ1x+A2eλ2x to the data given by
| x | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 | 1.8 |
|---|---|---|---|---|---|---|---|---|---|
| y | 1.54 | 1.67 | 1.81 | 1.97 | 2.15 | 2.35 | 2.58 | 2.83 | 3.11 |
4.12 Write an algorithm to fit a linear least squares approximation to the data (xi,yi), i=1,2,…,N.
4.13 If the functions f1(x)=1, f2(x)=x are orthogonal on the interval [−1,1], find the values of a and b so that the function f3=1+ax+bx2 is orthogonal to both f1 and f2 on [−1,1].
4.14 Define an orthogonal set of functions and show that the set
f(x)=sinlnπx,n=1,2,…
is orthogonal on [0,l].
4.15 Explain the difference between Fourier series and Fourier transform. Find the Fourier series for the function defined by
f(x)={x,x+2,−1<x≤00<x≤14.16 Define discrete Fourier transform (DFT) and inverse discrete Fourier transform (IDFT).
Find the DFT of each of the following sequences using matrix method (Problems 4.17–4.20):
4.17 {0,1,0,−1}
4.18 {1,21,0,−21}
4.19 {1,2,3,1}
4.20 {2,2,4,3}
Using the definition
Fp=k=0∑N−1fke−2πikp/N,p=0,1,2,…,N−1,
find the DFT of each of the following sequences (Problems 4.21–4.23):
4.21 {1,2,3,4}
4.22 {1,1,…,1}, N values.
4.23 {1,−1,2,−2,3,−3}
4.24 Write the computational steps for computing the DFT of a sequence f(t) by the above formula and test it on Problem (4.21).
4.25 List any two properties of DFT and find the IDFT of the sequence {0,1,1,0}.
4.26 State the key equations in the Cooley–Tukey algorithm for computing the DFT of the sequence fp, p=0,1,2,3. Draw the flow-graph for its computation.
Use the Cooley–Tukey algorithm to compute the DFT of each of the following sequences (Problems 4.27–4.30):
4.27 {1,1,0,0}
4.28 {1,0,1,0}
4.29 {1,−1,1,−1}
4.30 {1,2,1,2}
4.31 Draw a flow-chart to implement the bit reversal procedure for the Cooley–Tukey algorithm.
4.32 Write down the key equations in the Cooley–Tukey algorithm for computing the 8-point DFT of the sequence fp, p=0,1,2,…,7, and draw the flow-graph for its computation.
Use the Cooley–Tukey algorithm to compute the DFT of each of the following sequences (Problems 4.33–4.35):
4.33 {1,−1,1,−1,1,−1,1,−1}
4.34 {1,1,1,1,1,1,1,1}
4.35 {1,2,3,4,5,6,7,8}
4.36 Explain the difference between Cooley–Tukey and Sande–Tukey algorithms for an 8-point computation of the DFT of a sequence. Write down the key equations of Sande–Tukey algorithm for computing the DFT of the sequence fk, k=0,1,2,…,7.
Use Sande–Tukey algorithm to compute the DFT of each of the following sequences (Problems 4.37–4.40):
4.37 {1,1,0,0}
4.38 {1,0,1,0}
4.39 {1,2,3,4,5,6,7,8}
4.40 {0,1,0,1,0,1,0,1}
4.41 Show that Tn(x)=cos(ncos−1x) is a polynomial in x of degree n.
4.42 Show that the coefficient of xn in Tn(x) is 2n−1.
4.43 Economize the series given by
sinhx=x+6x3+120x5+5040x7+⋯
on the interval [−1,1], allowing for a tolerance of 0.0005.
4.1 a1=0.503, a0=2.021.
4.2 a1=2.0, a0=0.8.
4.4 a=2, b=3.
4.5 a=1, b=−3 and c=2.
4.6 a=81.93, b=−8.28, c=−0.78
4.8 a=1.5, b=0.5=a1
4.9 a=702, b=−0.17.
4.10 a=3.02, b=2.39.
4.11 λ1=0.99, λ2=−0.96, A1=0.499, A2=0.491.
4.13 1−3x2.
4.15 a0=2, an=0, bn=nπ2[1−2(−1)n].
4.17 [0,−2i,0,2i]
4.18 [1,1−i2,1,1+i2]
4.19 [7,−2−i,1,−2+i]
4.20 [11,−2+i,1,−2−i]
4.21 F0=10, F1=−2+2i, F2=−2, F3=−2−2i.
4.22
Fp={N,0,p=0p=1,2,…,N−14.23
[−1.5−23i,−1.5−233i,12,−1.5+233i,−1.5+23i]4.24 [10,−2+2i,−2,−2−2i]
4.25 fp=[0.5,−0.25+0.25i,0,−0.25−0.25i]
4.26 F0e=f0+f2, F1e=f0−f2, F0o=f1+f3, F1o=f1−f3.
4.27 F0=2, F1=1−i, F2=0, F3=1+i.
4.28 fk={1,0,1,0}, Fp={2,0,2,0}
4.29 fk={1,−1,1,−1}, Fp={0,0,4,0}
4.30 fk={1,2,1,2}, Fp={6,0,0,0}
4.33 Final stage: F0=0, F1=0, F2=0, F3=0; F4=8, F5=0, F6=0, F7=0.
4.34 fk={1,1,1,1,1,1,1,1}, Fp={8,0,0,0,0,0,0,0}.
4.35 36,−4+i(9.66),−4+4i,−4+i(1.66),4,−4−i(1.66),−4−4i,−4−i(9.66).
4.37 Fp={2,1−i,0,1+i}
4.38 F0=2, F2=2, F1=0, F3=0.
4.39 Fp={36,−4+9.66i,−4+4i,−4+1.66i,−4,−4−1.66i,−4−4i,−4−9.66i}
4.40 Fp={4,0,0,0,−4,0,0,0}
4.41 Hint: Use mathematical induction
4.42 T1(x)=21−1x, T2(x)=22−1x2−1, T3(x)=23−1x3−2x, T4(x)=24−1x4−8x2+1.
4.43 sinhx=384383x+9617x3.