I've been trying to solve the Deuteron Tensor polarisation equations on the PC, in Python, using a fourth-order Runge-Kutta method. I have a couple of questions:(adsbygoogle = window.adsbygoogle || []).push({});

1) Is Python ok for this job, in that does it give the right answers? The speed is not an issue, it's fast enough for me (I use Numpy and psyco).

2) (which is much more important) How do I cancel out the solutions that "blow up" at infinity? When the computer solves the equations, it gives the most general solution, and doesn't care that the solution blows up at infinity. I DO care ;) , and would like to only get the solution which doesn't blow up... and that would give me th right answer... how do I do it?

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Solving a QM problem numerically

Loading...

Similar Threads - Solving problem numerically | Date |
---|---|

C/++/# Please help me understand how to solve the problem "Code of Polar function" | Sep 30, 2016 |

Need help to solve a problem in FEMM software | Oct 21, 2015 |

[solved] [Fortran] Problem reading formatted text file | Oct 9, 2013 |

Problem solving techniques | Sep 23, 2013 |

Python: Fun problem. Solving Program is Bugged. Why? | Jul 31, 2013 |

**Physics Forums - The Fusion of Science and Community**