Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
gaussian quadrature
#1
Hello every body

I tried writing gauss-legendre quadrature formula (Attached) in python , but i am still unsuccessful. Would you please help me?

Thanks

[Image: c24fcd80dc1e483ec6bd88564e53073147808e47.jpg]
Reply
#2
Hi,

show the code you tried so far and it's more likely that you get help.

Regards, noisefloor
Reply
#3
Thanks for your reply

but I don't have any idea about this code and I completely get confused.
Reply
#4
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
Reply
#5
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".
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Returning values from Gaussian fitting Laplace12 0 1,570 Aug-05-2021, 08:09 AM
Last Post: Laplace12
  Fitting Gaussian curve to data file Laplace12 0 2,742 Jun-09-2021, 10:45 AM
Last Post: Laplace12
  Rotate 2D Gaussian given parameters schniefen 4 2,905 Dec-11-2020, 03:34 PM
Last Post: schniefen
  Multi-gaussian function Laplace12 5 4,020 Jul-21-2020, 11:38 PM
Last Post: scidam
  How do I apply a Gaussian blur to a particular edge of geometry in Matplotlib? hbolandi 0 1,989 Feb-02-2020, 06:08 PM
Last Post: hbolandi

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020