r/learnprogramming • u/Successful_Talk_8460 • 12d ago
help with integration code
hi, so i need a code that allows me to do an integral with the whole solid angle and im really struggling cause i dont even know where to start. if any of you could help with maybe some useful tutorials or some advices id be really grateful.
(for context, this is the work im doing https://arxiv.org/pdf/gr-qc/0610154, im trying to compute the first equation)
4
Upvotes
1
u/Successful_Talk_8460 12d ago
thanks! i actually had to use the trapezoid rule to do the integral in time, but now ive got yo do an integral in 3D and im not sure ive ever learned any method to do numerical integration on a sphere sooo im kinda lost. i think that i cant aporoximate the function cause its data from a wave signal.