Eq1 = Dot[D[T[x], {x, #}] & /@ Range[0, 2],
Factor@{1, D[-4 x (1 - x), x], -4 x (1 - x)}] == 0
ICs = MapThread[Equal, {(D[T, {x, #}] /. x → 0) & /@ Range[0, 2],
{1, 1/4, 9/32}}]
Simplify[Eq1 /. MapThread[Rule,
{D[T, {x, #}] & /@ Range[0, 2],
D[2/Pi EllipticK, {x, #}] & /@ Range[0, 2]}]]
Limit[D[2/Pi EllipticK, {x, #}], x → 0] & /@ Range[0, 2]
This code validates that NDSolve on Eq1 & ICs should produce an interpolating function that returns values of EllipticK, but when I try:
NDSolve[Prepend[ICs, Eq1], T, {x, 0, 1}]
I get nonsense errors:
- NDSolve::icordinit: The initial values for all the dependent
variables are not explicitly specified. NDSolve will attempt to find
consistent initial conditions for all the variables. - NDSolve::ndnco: The number of constraints (3) (initial conditions) is not equal to the total differential order of the system plus the number of discrete variables (2).
NDSolve not being able to solve a hypergeometric ODE seems like a “mission critical” error, so I’m feeling like an idiot while this call isn’t working. Did I type something in wrong???
Thanks --Brad



