[adsense:responsibe:9545213979]
var('x a0 a1') g=[a0,a1] y=g[0]+g[1]*x n=10 for i in range(2,n): a=-(1/i)*g[i-2] g.append(a) for i in range(2,n): y=g*x^i+y
g1=[] for i1 in range(0,n): a=2*i1+1 b=a.multifactorial(2) g1.append((-1)^i1*x^(2*i1+1)/b) g2=[] for i2 in range(0,n): g2.append((-1)^i2*x^(2*i2)/(2^i2*factorial(i2))) y1=0 for i3 in range(0,n/2): y1=a0*g2[i3]+a1*g1[i3]+y1 y1-y Resultado: 0
Añadir nuevo comentario