Hey! I want to do a double integral calculation of this problem##∫∫ xy/(xy^2 +1)^2##
over the region bounded by 2 ≤ x ≤ 3 and 2*sqrt(1+x) ≤ y ≤ 2*sqrt(2+4x)
on MATLAB and i have tried the following syntax:
clc
clear all
fun=@(x,y) x*y./((x*y.^2+1).^2);
ymax=@(x) 2*sqrt(2+4*x)...
Np = 400; % Number of Particles
t = 10^3; % Time
M = zeros(Np,2); % Predefined
Msaf = zeros(Np,2); % Predefined
modi = 0.1; % Movement modification
r = 8; % Radius
rng('shuffle') % More random
% Circle
cv = linspace(0,2*pi,100);
cx = r*cos(cv)...
Sorry if i may sound little unclear, english is not my first langue. I I am looking for a way to create a circle that is in a square cut in 8x8 in matlab. I would be glad if someone could give me a hand.
Thanks!