python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Why does the larger of two curves have the lower integrated value using trapz from numpy?
Using trapz from numpy I get the following:
lewis_result_outer = np.trapz(lewis_few_elements_outer_y, x=lewis_few_elements_outer_x)
lewis_result_inner = np.trapz(lewis_few_elements_inner_y, x=lewis_fe...
EDRM
Votes: 0
Answers: 1
Definite integration using int command
Firstly, I'm quite new to Matlab.
I am currently trying to do a definite integral with respect to y of a particular function. The function that I want to integrate is
(note that the big parenthesis i...

Saito
Votes: 0
Answers: 1
Integral approximation using gauss-hermit quadrature method: mvQuad package
I want to approximate the integral corresponds to $E(XY)$ where X and Y are independent and X~N(0.5,1) and Y~N(0.5,1), using gauss-hermit quadrature using mvQuad package.
Since the two random variable...
student_R123
Votes: 0
Answers: 1
Is there a way to integrate functions by d(logx) instead of dx in python?
I'm looking for a way to integrate functions in log(x) space. Scipy offers integration but I can't find how to use them in log(x) space.
My integral is
I tried to substitute log(x) into x and change ...
Oscar Ryu
Votes: 0
Answers: 0