Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

Topic: Double integration
Replies: 10   Last Post: Dec 6, 2011 12:42 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Marcio

Posts: 29
Registered: 10/6/08
Double integration
Posted: Dec 1, 2011 1:18 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Dear friends

I've been trying to solve this double integration with the help of MatLab but apparently I am missing something.

INT (3,5) INT (0,SQRT(25-x^2)) SQRT((16x^2+16y^2-625)/(x^2+y^2-25)) dydx

The above is not in any standard syntax, but perhaps will communicate the actual problem. The integration on y is from 0 to SQRT(25-x^2) and the integration on x is from 3 to 5.

This is the m file:
%
syms x y
clc
firstint = int(sqrt((16*x*x+16*y*y-625)/(x*x+y*y-25)),y,0,sqrt(25-x^2))
answer = int(firstint,x,3,5)
%

and this is the error message I have got:

??? Attempt to call constructor double with incorrect letter case.
Error in ==> sym.sym>sym.sym/symnumeric at 152
S{k} = symr(double(x(k)));
Error in ==> sym.sym>sym.sym at 116
S = cell2sym(S,symnumeric(x,a));
Error in ==> sym.times at 8
A = sym(A);
Error in ==> sym.eval at 14
s = evalin('caller',vectorize(map2mat(char(x))));

Many thanks



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.