Revision history [back]

MATHEMATICA TO SAGE

y = x /. NSolve[LegendreP[i, x] == 0, x]; z = (2 (1 - y^2))/((i + 1)^2 LegendreP[i + 1, y]^2);

and

NumberForm[N[!( *SubsuperscriptBox[([Integral]), (-1), (1)](f[ x] [DifferentialD]x))], 12]

 2 No.2 Revision kcrisman 12082 ●39 ●126 ●246

MATHEMATICA TO SAGE

y = x /. NSolve[LegendreP[i, x] == 0, x]; z = (2 (1 - y^2))/((i + 1)^2 LegendreP[i + 1, y]^2);

and

NumberForm[N[!( *SubsuperscriptBox[([Integral]), (-1), (1)](f[ x] [DifferentialD]x))], 12]

Edit: I think the OP means $$\int_{-1}^1 f(x)\;dx$$

MATHEMATICA TO SAGE

y = x /. NSolve[LegendreP[i, x] == 0, x]; z = (2 (1 - y^2))/((i + 1)^2 LegendreP[i + 1, y]^2);

and

NumberForm[N[!( *SubsuperscriptBox[([Integral]), (-1), (1)](f[ x] [DifferentialD]x))], 12]

Edit: I think the OP means $$\int_{-1}^1 f(x)\;dx$$

 4 Back to original kcrisman 12082 ●39 ●126 ●246

MATHEMATICA TO SAGE

y = x /. NSolve[LegendreP[i, x] == 0, x]; z = (2 (1 - y^2))/((i + 1)^2 LegendreP[i + 1, y]^2);

and

NumberForm[N[!( *SubsuperscriptBox[([Integral]), (-1), (1)](f[ x] [DifferentialD]x))], 12]

Edit: I think the OP means $$\int_{-1}^1 f(x)\;dx$$

MATHEMATICA TO SAGETranslation

y = x /. NSolve[LegendreP[i, x] == 0, x]; z = (2 (1 - y^2))/((i + 1)^2 LegendreP[i + 1, y]^2);

and

NumberForm[N[!( *SubsuperscriptBox[([Integral]), (-1), (1)](f[ x] [DifferentialD]x))], 12]

Edit: I think the OP means $$\int_{-1}^1 f(x)\;dx$$

TranslationTranslation into sage

y = x /. NSolve[LegendreP[i, x] == 0, x]; z = (2 (1 - y^2))/((i + 1)^2 LegendreP[i + 1, y]^2);

and

NumberForm[N[!( *SubsuperscriptBox[([Integral]), (-1), (1)](f[ x] [DifferentialD]x))], 12]

Edit: I think the OP means $$\int_{-1}^1 f(x)\;dx$$

 7 No.7 Revision benjaminfjones 2745 ●8 ●43 ●76 http://bfj7.com/

Translation into sageTranslation

y = x /. NSolve[LegendreP[i, x] == 0, x]; z = (2 (1 - y^2))/((i + 1)^2 LegendreP[i + 1, y]^2);

and

NumberForm[N[!( *SubsuperscriptBox[([Integral]), (-1), (1)](f[ x] [DifferentialD]x))], 12]

Edit: I think the OP means $$\int_{-1}^1 f(x)\;dx$$