The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Double Integral
Replies: 1   Last Post: Feb 14, 2013 10:27 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: Double Integral
Posted: Feb 14, 2013 10:27 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Olubode Adetuni" <> wrote in message
> This is a test of my account. I have question on double integral using
> trapz. What is it accuracy particularly for functions like
> y_den=@(x,y)((1+x).^2.*x.^(-11/3).*exp(-(12.*(y.^(2/3)+(1-y).^(2/3)-1).*sig))./(B_bar.*rho_l.*epsilon(u).^(2/3).*d(t).^(5/3).*x.^(11/3)))
> x=[0.015:.1:1];
> y=y_num(x);
> area = trapz(x,y);

TRAPZ is just the trapezoidal rule.

If you want to use something more sophisticated, look at INTEGRAL.

Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.