Use MATLAB To Plot 𝑓(π‘₯) = Ln(π‘₯) For π‘₯ ∈ (0, 5], Along With Taylor Approximations Around π‘₯ = 1 With 𝑛 = 0, 2, 4, 6: Maths Assignment, UOG, Ireland

Publish By: Admin,
Last Updated: 28-Dec-23
Price: $120

  1. Use MATLAB to plot 𝑓(π‘₯) = ln(π‘₯) for π‘₯ ∈ (0, 5], along with Taylor approximations around π‘₯ = 1 with 𝑛 = 0, 2, 4, 6
  2. Use an appropriate Taylor series to write a MATLAB function M-file that approximates 𝑓(π‘₯) = sin(2π‘₯) for all x with a maximum error of 0.01. That is, your M-file should take values of x as input, and return values of sin(2π‘₯) as output, but should not use MATLAB’s built-in sine function i.e., sin.m.
  3. Use numerical experiments using MATLAB to arrive at a conjecture about whether the following infinite series converges or not.
  4. Determine the exponential Fourier series of the waveform of the function f(x) shown in Figure 1. i.Β Obtain the expressions for the amplitude and phase spectra. ii.Β Using MATLAB, plot the amplitude and phase spectra for 𝑛 = 1, 2, 3, … , 𝑁, where 𝑁 = 11. iii.Β Plot the reconstructed waveform of the function for 𝑛 = 1, 2, 3, … , 𝑁, where 𝑁 = 11. Explain the Gibbs Phenomenon from the obtained plot..Β Using MATLAB compute DFT of π‘₯[𝑛] i.e., 𝑋[π‘˜]. ii.Β Plot DFT magnitude and phase as functions of k. iii.Β Compute and plot the IDFT of 𝑋[π‘˜].