text: # -*- coding: utf-8 -*-
  """
  Created on Tue Nov 20 12:10:54 2018
  
  @author: thiagoalmeida
  """
  
  class TabelaGauss():
      
      #fonte: http://www.profwillian.com/calcnum/Legendre.htm
  
      n2 = [
          [-0.5773502691, 1.0000000000],
          [0.5773502691, 1.0000000000]
      ]
      n3 = [
          [-0.7745966692, 0.5555555555],
          [0.0000000000, 0.8888888888],
          [0.7745966692, 0.5555555555]   
      ]
      n4 = [
          [-0.8611363115, 0.3478548451],
          [-0.3399810435, 0.6521451548],
          [0.3399810435, 0.6521451548],
          [0.8611363115, 0.3478548451]
      ]
      n5 = [
          [-0.9061798459, 0.2369268850],
          [-0.5384693101, 0.4786286704],
          [0.0000000000, 0.5688888888],
          [0.5384693101, 0.4786286704],
          [0.9061798459, 0.2369268850]
      ]
      n6 = [
          [-0.9324695142, 0.1713244923],
          [-0.6612093864, 0.3607615730],
          [-0.2386191860, 0.4679139345],
          [0.2386191860, 0.4679139345],
          [0,6612093864, 0.3607615730],
          [0.9324695142, 0.1713244923]    
      ]
      n7 = [
          [-0.9491079123, 0.1294849661],
          [-0.7415311855, 0.2797053914],
          [-0.4058451513, 0.3818300505],
          [0.0000000000, 0.4179591836],
          [0.4058451513, 0.3818300505],
          [0.7415311855, 0.2797053914],
          [0.9491079123, 0.1294849661]    
      ]
      n8 = [
          [-0.9602898564, 0.1012285362],
          [-0,7966664774, 0.2223810344],
          [-0.5255324099, 0.3137066458],
          [-0.1834346424, 0.3626837833],
          [0.1834346424, 0.3626837833],
          [0.5255324099, 0.3137066458],
          [0.7966664774, 0.2223810344],
          [0.9602898564, 0.1012285362]    
      ]
      
      #agrupa as matrizes de pontos
      pontos = [n2, n3, n4, n5, n6, n7, n8]
      
      def getValores(self, n):
          if(n>=2 and n<=8):
              return self.pontos[n-2]
  
  
  
  
  
  
  
  
  