not able to solve the integration function
1 view (last 30 days)
I am not able to solve the given integration function. The screenshot of given is attached and the code is given below
b(j)= int(R(j)-sqrt(R(j).^2-x(j).^2),0, f);
Jan on 16 Dec 2021
This cannot work:
x(j) = linspace(0,0.025,101);
On the left is a scalar and on the right a vector with 101 elements.
Seeing only the invalid code does not clarify its intention. What is the purpose of the loop?