Recent content by Fidelio
-
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'...- Fidelio
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
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!- Fidelio
- Thread
- Computing Integral Matlab
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
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...- Fidelio
- Thread
- Dirac Dirac equation Energy Negative Negative energy Positive
- Replies: 1
- Forum: Advanced Physics Homework Help