GregVernon / CEEN_507

0 stars 0 forks source link

Programmatically generate Gauss-Legendre quadrature table #10

Closed GregVernon closed 5 years ago

GregVernon commented 5 years ago

Lets see if we can programmatically (using symbolic toolbox) generate the Gauss-Legendre quadrature table (see below)

Things we'll need:

image

GregVernon commented 5 years ago

Good work so far @hopdahl

Note that to complete the GLQ table we need to compute the x_i and w_i values.

x_i is simply the roots of the Legendre polynomials w_i is then: image