gaussian quadrature - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: gaussian quadrature (/thread-19197.html) |
gaussian quadrature - mohammadrezamofidi - Jun-17-2019 Hello every body I tried writing gauss-legendre quadrature formula (Attached) in python , but i am still unsuccessful. Would you please help me? Thanks RE: gaussian quadrature - noisefloor - Jun-17-2019 Hi, show the code you tried so far and it's more likely that you get help. Regards, noisefloor RE: gaussian quadrature - mohammadrezamofidi - Jun-18-2019 Thanks for your reply but I don't have any idea about this code and I completely get confused. RE: gaussian quadrature - noisefloor - Jun-18-2019 Hi, so "help me please" means basically, that you want somebody else to write the code for you...? Anyway, did you ever try the search term "gauss-legendre quadrature python" at Google? This will give you some useful results on the first page of results. Regards, noisefloor RE: gaussian quadrature - michalmonday - Jun-18-2019 https://stackoverflow.com/a/55674422/4620679 No idea if that's what you're looking for because I don't understand the concept/notation... Btw I suggested edit to the answer I linked but before it gets accepted you'll have to add "import numpy as np" at the top of the code and change "areaGau = gaussian" into "areaGau = gauss". |