In Example 6.12, we represented the function in Fig. 6.23 by Legendre polynomials.
a. Use the results in Example 6.12 to represent the signal g(t) in Fig. P6.5-8 by Legendre polynomials.
![34_1d7f7c64-076f-4d46-8bde-f8f09d79ed9b.png](https://secure.tutorsglobe.com/CMSImages/34_1d7f7c64-076f-4d46-8bde-f8f09d79ed9b.png)
![2008_450c3b9d-ffff-422d-a399-83af3511e913.png](https://secure.tutorsglobe.com/CMSImages/2008_450c3b9d-ffff-422d-a399-83af3511e913.png)
b. Compute the error energy for the approximations having one and two-(nonzero) terms.