| Hosted by CoCalc | Download
Kernel: Octave
f = @(x,y)x*exp(y); a=0; b=2; c=0; d=1; m=5; n=6; tol=1e-10; N=100; PEFD(f,a,b,c,d,m,n,tol,N)
i j xi xj w(i,j) 1.00000 1.00000 0.33333 0.20000 0.40726 1.00000 2.00000 0.33333 0.40000 0.49748 1.00000 3.00000 0.33333 0.60000 0.60760 1.00000 4.00000 0.33333 0.80000 0.74201 2.00000 1.00000 0.66667 0.20000 0.81452 2.00000 2.00000 0.66667 0.40000 0.99496 2.00000 3.00000 0.66667 0.60000 1.21518 2.00000 4.00000 0.66667 0.80000 1.48401 3.00000 1.00000 1.00000 0.20000 1.22177 3.00000 2.00000 1.00000 0.40000 1.49240 3.00000 3.00000 1.00000 0.60000 1.82274 3.00000 4.00000 1.00000 0.80000 2.22599 4.00000 1.00000 1.33333 0.20000 1.62896 4.00000 2.00000 1.33333 0.40000 1.98978 4.00000 3.00000 1.33333 0.60000 2.43023 4.00000 4.00000 1.33333 0.80000 2.96793 5.00000 1.00000 1.66667 0.20000 2.03604 5.00000 2.00000 1.66667 0.40000 2.48696 5.00000 3.00000 1.66667 0.60000 3.03751 5.00000 4.00000 1.66667 0.80000 3.70972 Y el numero de iteraciones necesarias fue: 61