Recent content by Fidelio

  1. F

    MATLAB Computing Integral with Gauss-Chebyshev Quadrature in MATLAB

    thanks so much AlephZero, Could you check If it is correct ? function int = chebquad(funct,accuracy) f = inline(funct); old_int = inf; for n=1:1000 x = cos(((2*(1:n) - 1)/(2*n))*pi); w = pi/n; fx = f(x); int = sum(w.*fx); if abs(int_old-int) < abs(tol*int), converge='y'...
  2. F

    MATLAB Computing Integral with Gauss-Chebyshev Quadrature in MATLAB

    Hello, anyone knows where y can find a program to compute the integral ∫ ( from -1 to 1) f(x)/ √(1-x^2) using the Gauss-Chebyshev quadrature, on matlab? Thanks!
  3. F

    What Are the Positive and Negative Energy Solutions of the Dirac Equation?

    Hi! Homework Statement 1. Substituting an ansatz \Psi(x)= u(p) e^{(-i/h) xp} into the Dirac equation and using \{\gamma^i,\gamma^j\} = 2 g^{ij}, show that the Dirac equation has both positive-energy and negative-energy solutions. Which are the allowed values of energy? 2. Starting...
Back
Top