MATLAB: Solve double intergral 'doubleintergral'MATLAB For example , i have this double intergral : I tried this code : >>S = x+y+sqrt(100-x^2-y^2) >>M= int(S,y,0,sqrt(100-x^2)) >>M1=int(M,x,0,10) But Matlab returns me the same int(…) i just typed, not the answer Best Answer sol=integral2(@(x,y)x+y+sqrt(100-x.^2-y.^2),0,10,0,@(x)sqrt(100-x.^2))Best wishesTorsten. Related SolutionsMATLAB: Solve double integral using ‘integral2’ y = sqrt(100-x^2-z^2) or y = -sqrt(100-x^2-z^2)->I = integral_{x=0}^{x=10} integral_{z=0}^{z=sqrt(1-x^2)} (x+sqrt(100-x^2-z^2)+z)*sqrt(1+x^2/(100-x^2-z^2)+z^2/(100-x^2-z^2)) dz dx +integral_{x=0}^{x=10} integral_{z=0}^{z=sqrt(1-x^2)} (x-sqrt(100-x^2-z^2)+z)*sqrt(1+x^2/(100-x^2-z^2)+z^2/(100-x^2-z^2)) dz dx =integral_{x=0}^{x=10} integral_{z=0}^{z=sqrt(1-x^2)} 2*(x+z)*10/sqrt(100-x^2-z^2) dz dxIn MATLAB:I = integral2(@(x,z)2*(x+z)*10./sqrt(100-x.^2-z.^2),0,10,0,@(x)sqrt(100-x.^2))Best wishesTorsten. MATLAB: Fitting to an intergral Use "ArrayValued=true" as option in the call to integral. Related QuestionHow to solve this problemHow to define this intergralHow to replace variablesIntergral calculation for data vectorDouble Intergral Over an Ellipse with Varying RadiusHow to plot a symbolic function with an intergral
Best Answer