Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / The Chebyshev polynomials of the first kind can be derived from the recurrence relation                                          0( ) = 1, 1( ) =      ,         +1( ) = 2         ( ) − −1( ) where  = 1,2, … ,

The Chebyshev polynomials of the first kind can be derived from the recurrence relation                                          0( ) = 1, 1( ) =      ,         +1( ) = 2         ( ) − −1( ) where  = 1,2, … ,

Math

  1. The Chebyshev polynomials of the first kind can be derived from the recurrence relation

                                         0( ) = 1, 1( ) =      ,         +1( ) = 2         ( ) − −1( )

where  = 1,2, … , . Create a MATLAB file to create and plot the above equations.

    1. Using a MATLAB script file, create a vector  of 100 equidistant points on the interval [−1,1].

(1 mark)

    1. Let  = 8, initialize a matrix  of size 30-by-10 whose all elements are zero. The column refers to the ( ), while row refers to the corresponding  components.

(1 mark)

    1. Use nested for loop to evaluate all the polynomials at each point of  and store the results in matrix .

(4 marks)

    1. Use command subplot to plot the first 5 Chebyshev polynomials in the same figure panel and plot the last 5 polynomials in another panel below the first panel, as illustrated in an example below. Label the axes and include the appropriate legends.

(5 marks)

  1. Devise and implement in MATLAB fixed-point iterative methods for the solution of the nonlinear equation

                                                     log() −  = 0                              ( ∗).

    1. Produce a figure to illustrate that this equation has two positive roots in the interval (0, 3). Use red circle markers to locate the roots on the figure.

(7 marks)

    1. Create a MATLAB function myFixedPoint( , 0, , ) implementing a fixed iteration of the type +1 = ( ). The MATLAB function should take as arguments the mathematical function to be iterated , the initial guess 0, the required tolerance  and a parameter specifying the

maximum number of iterations allowed. The function should return a list

[ , ] of two lists containing all values of the iterates {

,

 = 0, … } and the error measured { = | − −1|, = 0, … }, respectively, computed at each iteration step. In the loop, display the number of iteration, the  and the error measured, and make sure to produce the output in the following format,

 

                                   Iteration                  x(n)              |x(n+1) – x(n)|

      1. 2.50000        Inf
      2. :         : :       :         :

                                          :                           :                           :

where both  and | +1 | are diplayed up to 5 and 7 decimal digits, respectively. You are not allowed to use MATLAB function fzero to solve this problem.

(13 marks)

  1. Provide comments in the above MATLAB function to describe what each line does.

(3 marks)

1

  1. Consider the iterative scheme ( ) = 1 on the interval (0, 1). Create another MATLAB script file for the following,
    1. Call your function in 3(b) and produce figures of the iterates and the error measured in this case if accuracy of 6 decimal digits is required. Label the axes accordingly. (ii) Provide the value of the root.
      1. marks)

1

  1. Consider the iterative scheme ( ) = 1 on the interval (2, 3). Create another MATLAB script file for the following,
    1. Call your function in 3(b) and produce figures of the iterates and the error measured with an initial guess arbitrary close to the solution (which you may identify from the figure in (a)).
    2. Can you find the root? If not, propose a new iterative scheme () and find the root of the nonlinear equation (∗) on the interval

(2, 3).

      1. marks)

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE