Marcio
Posts:
29
Registered:
10/6/08


Double integration
Posted:
Dec 1, 2011 1:18 PM


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(25x^2)) SQRT((16x^2+16y^2625)/(x^2+y^225)) 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(25x^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*y625)/(x*x+y*y25)),y,0,sqrt(25x^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

