MATH661 - Background Quiz

Name:

  1. Write the row echelon form 𝑬 of 𝑨 by observation, without carrying out any calculations

    𝑨

    𝑬

    [ 1 2 3 2 4 6 3 6 9 ]

    [ ]

    [ 2 0 1 1 0 12 0 4 0 ]

    [ ]

    [ 0 1 0 0 0 2 3 0 0 ]

    [ ]

  2. For 𝒖=[ 2 1 ]T, 𝒗=[ -1 3 ]T, compute the following

    1. 𝒖T𝒗

    2. 𝒖𝒗T

  3. For f:[-1,1], f differentiable an infinite number of times

    1. Write the MacLaurin series of f (Taylor series around x0=0)

    2. What is the codomain of f?

    3. What is the domain of f?

  4. For f:[-π,π]×[-π,π], f(x,y)=sinxcosy differentiable an infinite number of times

    1. Write the MacLaurin series of f (Taylor series around x0=0)

    2. What is the gradient of f?

  5. Compute the products showing your calculation procedure

    𝑪=𝑨𝑩=[ 1 0 -2 1 0 1 1 2 -1 2 1 0 2 1 0 1 ][ 1 0 -2 1 0 1 1 2 -1 2 1 0 2 1 0 1 ],𝑫=𝑩𝑨.

    Write pseudo-code that evaluates a polynomial through Horner's scheme

    pn(x)=(((anx+an-1)x+an-2)x++a1)x+a0

  6. Write code in some language (e.g., Python, C, ) to implement Horner's scheme.

  7. After class, use ChatGPT to obtain an implementation of Horner's scheme.