It might be nice if Wolfram would consider incorporating something like this into NIntegrate itself. ![]() If someone could show a far better method of doing this then I would appreciate it. There may be a far better method that someone else has written out there somewhere. This gives absolutely no warning if one of the integrands is not in a form where this primitive attempt at extraction is not appropriate or fails. This is a very primitive method of pulling independent symbolic variables outside an NIntegrate. You can test this with the following much simpler example expr = f x + f g x3 + o^2 x x3 Total]Īs I mentioned previously, the fractional powers in the denominator result in a flood of warnings and errors about convergence failing. Since the variables that are independent of the integration appear to be easily separated from the dependent variables in the problem posed above, I think this will allow parallel NIntegrate independentvars := (z/(z//.] Along with differentiation, integration is a fundamental, essential operation of calculus, and serves as. Please check all this very carefully to make certain that no mistakes have been made. The process of finding integrals is called integration. I doubt this is going to lead to an acceptable solution for you. Some of the integrands are scalar multiples of others and if you combine similar integrands then you can reduce this down to 300 unique integrands. If you can find a way to pull out the scalar multipliers which are independent of x,y,x3,圓 and then perform that integration without warnings and errors and get an accurate result which isn't infinity then you could perhaps perform these integrals in parallel and total the results. Notice that you can then use NIntegrate in this way f*h*NIntegrate)),īut it gives warnings and errors about the convergence and accuracy, almost certainly due to your fractional powers in the denominator. ![]() Then you will get a list of 484 expressions, each very similar in form to this (378*f*h*x^3*x3)/(Pi*(1/40+Sqrt))
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |