Recent content by Lucas94

  1. Lucas94

    MATLAB How to do a double integral on matlab?

    My bad i forgot to write it on the integrand , the denominator should be ##(xy^2 + 1)^2## soo my definition of fun is correct
  2. Lucas94

    MATLAB How to do a double integral on matlab?

    ##∫ ∫ xy/(xy^2 +1)^2## over the region bounded by 2 ≤ x ≤ 3 and 2*sqrt(1+x) ≤ y ≤ 2*sqrt(2+4x)
  3. Lucas94

    MATLAB How to do a double integral on matlab?

    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)...
  4. Lucas94

    Make a circle in square that is split 8x8 parts?

    ive figured it out now! Thanks for your help!
  5. Lucas94

    Make a circle in square that is split 8x8 parts?

    Yes I'm trying to draw a circle in a checkerboard (8x8 squares)
  6. Lucas94

    Make a circle in square that is split 8x8 parts?

    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)...
  7. Lucas94

    Make a circle in square that is split 8x8 parts?

    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!
Back
Top