Ask Your Question

Revision history [back]

I created the next code , but when I run it it says me "Kernel is busy (interrupt)" and it does not give me the value of x nor the value of the integral. If I do not add the line integrate ((x+1)**(n-k)*(x-1)**k, Mb, 0, 2*pi) the code works.

var('wb w ec eb M Mb')

E=M-ecsin(M-ecsin(M-ecsin(M-ecsin(M-ecsin(M-ecsin(M))))))

Eb=Mb-ebsin(Mb-ebsin(Mb-ebsin(Mb-ebsin(Mb-ebsin(Mb-ebsin(Mb))))))

f = 2arctan(sqrt((1+ec)/(1-ec))tan(E/2))

fb = 2arctan(sqrt((1+eb)/(1-eb))tan(Eb/2))

x = -cos(wb+fb-w-f)

var('k n')

Legendrenx(M, Mb) = (1/2n)sum((factorial(n)/(factorial(k)factorial(n-k)))2(x+1)(n-k)(x-1)k , k, 0 , n)

integrate ((x+1)(n-k)(x-1)k, Mb, 0, 2pi)

print(x)

I created the next code , but when I run it it says me "Kernel is busy (interrupt)" and it does not give me the value of x nor the value of the integral. If I do not add the line integrate ((x+1)**(n-k)*(x-1)**k, Mb, 0, 2*pi) the code works.

I created the following code, but when I run it it tells me "Kernel is busy (interrupt)" and it does not give me the value of x nor the value of the integral.

If I do not add the line integrate((x+1)**(n-k)*(x-1)**k, Mb, 0, 2*pi), the code works.

var('wb w ec eb M Mb')

E=M-ecsin(M-ecsin(M-ecsin(M-ecsin(M-ecsin(M-ecsin(M))))))

Eb=Mb-ebsin(Mb-ebsin(Mb-ebsin(Mb-ebsin(Mb-ebsin(Mb-ebsin(Mb))))))

Mb') E = M-ec*sin(M-ec*sin(M-ec*sin(M-ec*sin(M-ec*sin(M-ec*sin(M)))))) Eb = Mb-eb*sin(Mb-eb*sin(Mb-eb*sin(Mb-eb*sin(Mb-eb*sin(Mb-eb*sin(Mb)))))) f = 2arctan(sqrt((1+ec)/(1-ec))tan(E/2))

2*arctan(sqrt((1+ec)/(1-ec))*tan(E/2)) fb = 2arctan(sqrt((1+eb)/(1-eb))tan(Eb/2))

2*arctan(sqrt((1+eb)/(1-eb))*tan(Eb/2)) x = -cos(wb+fb-w-f)

-cos(wb+fb-w-f)

var('k n')

n') # Legendrenx(M, Mb) = (1/2n)sum((factorial(n)/(factorial(k)factorial(n-k)))2(x+1)(n-k)(x-1)k (1/2**n)*sum((factorial(n)/(factorial(k)*factorial(n-k)))**2*(x+1)**(n-k)*(x-1)**k , k, 0 , n)

n) integrate ((x+1)(n-k)(x-1)k, ((x+1)**(n-k)*(x-1)**k, Mb, 0, 2pi)

print(x)

2*pi) print(x)

I created the next code , but when I run it it says me "Kernel is busy (interrupt)" and it does not give me the value of x nor the value of the integral. If I do not add the line integrate ((x+1)**(n-k)*(x-1)**k, Mb, 0, 2*pi) the code works.

I created the following code, but when I run it it tells me "Kernel is busy (interrupt)" and it does not give me the value of x nor the value of the integral.

If I do not add the line integrate((x+1)**(n-k)*(x-1)**k, Mb, 0, 2*pi), the code works.

var('wb w ec eb M Mb')
E = M-ec*sin(M-ec*sin(M-ec*sin(M-ec*sin(M-ec*sin(M-ec*sin(M))))))
Eb = Mb-eb*sin(Mb-eb*sin(Mb-eb*sin(Mb-eb*sin(Mb-eb*sin(Mb-eb*sin(Mb))))))
f = 2*arctan(sqrt((1+ec)/(1-ec))*tan(E/2))
fb = 2*arctan(sqrt((1+eb)/(1-eb))*tan(Eb/2))
x = -cos(wb+fb-w-f)

var('k n')
# Legendrenx(M, Mb) = (1/2**n)*sum((factorial(n)/(factorial(k)*factorial(n-k)))**2*(x+1)**(n-k)*(x-1)**k , k, 0 , n)
integrate ((x+1)**(n-k)*(x-1)**k, Mb, 0, 2*pi)
print(x)