What are the strategies to deal with intractable integrals encountered when solving ODE using variational method.?

100 Views Asked by At

I am trying to solve a nonlinear ODE: $$u_{xx}+\tan^2(x)u+gu^2=0$$ using the variational method, and I encountered an intractable integral. What are the strategies to deal with intractable integrals in the framework of variational method?